2022-04-22 16:15:23 +00:00
|
|
|
name: zgo-backend
|
2023-05-25 15:42:40 +00:00
|
|
|
version: 1.6.0
|
2023-01-09 16:01:44 +00:00
|
|
|
git: "https://git.vergara.tech/Vergara_Tech/zgo-backend"
|
2022-05-19 18:08:12 +00:00
|
|
|
license: BOSL
|
2022-04-22 16:15:23 +00:00
|
|
|
author: "Rene Vergara"
|
|
|
|
maintainer: "rene@vergara.network"
|
2023-03-04 21:54:32 +00:00
|
|
|
copyright: "Copyright (c) 2023 Vergara Technologies LLC"
|
2022-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
2022-05-24 18:10:01 +00:00
|
|
|
- CHANGELOG.md
|
2022-05-19 18:08:12 +00:00
|
|
|
- zgo.cfg
|
2022-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
# Metadata used when publishing your package
|
|
|
|
synopsis: Haskell Back-end for the ZGo point-of-sale application
|
|
|
|
category: Web
|
|
|
|
|
|
|
|
# To avoid duplicated efforts in documentation and dealing with the
|
|
|
|
# complications of embedding Haddock markup inside cabal files, it is
|
|
|
|
# common to point users to the README.md file.
|
2023-01-09 16:01:44 +00:00
|
|
|
description: Please see the README at <https://git.vergara.tech/Vergara_Tech//zgo-backend#readme>
|
2022-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
|
|
|
dependencies:
|
|
|
|
- mongoDB
|
|
|
|
- time
|
|
|
|
- text
|
|
|
|
- unordered-containers
|
|
|
|
- bson
|
|
|
|
- aeson
|
2022-04-30 12:59:49 +00:00
|
|
|
- QuickCheck
|
|
|
|
- quickcheck-instances
|
|
|
|
- scotty
|
|
|
|
- http-conduit
|
|
|
|
- wai-extra
|
|
|
|
- http-types
|
|
|
|
- time
|
|
|
|
- securemem
|
|
|
|
- bytestring
|
|
|
|
- regex-base
|
|
|
|
- regex-compat
|
|
|
|
- array
|
|
|
|
- random
|
|
|
|
- vector
|
2022-05-17 17:47:27 +00:00
|
|
|
- wai-cors
|
2022-05-19 13:24:52 +00:00
|
|
|
- warp-tls
|
2022-07-07 15:13:33 +00:00
|
|
|
- hexstring
|
2022-07-12 21:08:27 +00:00
|
|
|
- configurator
|
2022-07-22 16:04:15 +00:00
|
|
|
- scientific
|
2022-08-20 13:09:46 +00:00
|
|
|
- jwt
|
|
|
|
- containers
|
2022-11-29 00:35:06 +00:00
|
|
|
- base64-bytestring
|
2022-12-01 20:36:06 +00:00
|
|
|
- wai
|
2023-01-03 19:00:24 +00:00
|
|
|
- blake3
|
|
|
|
- memory
|
|
|
|
- ghc-prim
|
2023-01-24 19:54:21 +00:00
|
|
|
- network
|
2023-02-01 18:49:33 +00:00
|
|
|
- crypto-rng
|
2023-03-10 21:31:47 +00:00
|
|
|
- megaparsec
|
|
|
|
- uuid
|
2022-04-22 16:15:23 +00:00
|
|
|
|
|
|
|
executables:
|
|
|
|
zgo-backend-exe:
|
2022-10-26 20:34:29 +00:00
|
|
|
main: Server.hs
|
2022-04-22 16:15:23 +00:00
|
|
|
source-dirs: app
|
|
|
|
ghc-options:
|
2022-10-26 20:34:29 +00:00
|
|
|
- -main-is Server
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
2022-04-22 16:15:23 +00:00
|
|
|
dependencies:
|
2022-10-26 20:34:29 +00:00
|
|
|
- zgo-backend
|
|
|
|
- base
|
|
|
|
- scotty
|
|
|
|
- wai-extra
|
|
|
|
- securemem
|
|
|
|
- text
|
|
|
|
- aeson
|
|
|
|
- mongoDB
|
|
|
|
- http-types
|
|
|
|
- http-conduit
|
|
|
|
- time
|
|
|
|
- bytestring
|
|
|
|
- configurator
|
|
|
|
- warp-tls
|
|
|
|
- warp
|
2023-03-10 21:31:47 +00:00
|
|
|
- megaparsec
|
2022-10-26 20:34:29 +00:00
|
|
|
zgo-token-refresh:
|
|
|
|
main: TokenRefresh.hs
|
|
|
|
source-dirs: app
|
|
|
|
ghc-options:
|
|
|
|
- -main-is TokenRefresh
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
|
|
|
dependencies:
|
|
|
|
- base
|
|
|
|
- zgo-backend
|
|
|
|
- base
|
|
|
|
- scotty
|
|
|
|
- wai-extra
|
|
|
|
- securemem
|
|
|
|
- text
|
|
|
|
- aeson
|
|
|
|
- mongoDB
|
|
|
|
- http-types
|
|
|
|
- http-conduit
|
|
|
|
- time
|
|
|
|
- bytestring
|
|
|
|
- configurator
|
|
|
|
- warp-tls
|
|
|
|
- warp
|
2023-03-10 21:31:47 +00:00
|
|
|
- megaparsec
|
2023-03-04 21:54:32 +00:00
|
|
|
zgo-tasks:
|
|
|
|
main: Tasks.hs
|
|
|
|
source-dirs: app
|
|
|
|
ghc-options:
|
|
|
|
- -main-is Tasks
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -Wall
|
|
|
|
dependencies:
|
|
|
|
- base
|
|
|
|
- mongoDB
|
|
|
|
- zgo-backend
|
|
|
|
- scotty
|
|
|
|
- warp-tls
|
|
|
|
- warp
|
|
|
|
- time
|
2023-03-10 21:31:47 +00:00
|
|
|
- megaparsec
|
2022-10-26 20:34:29 +00:00
|
|
|
|
2022-04-22 16:15:23 +00:00
|
|
|
tests:
|
|
|
|
zgo-backend-test:
|
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
- -main-is Spec
|
|
|
|
dependencies:
|
|
|
|
- zgo-backend
|
|
|
|
- hspec
|
|
|
|
- QuickCheck
|
2022-04-30 12:59:49 +00:00
|
|
|
- text
|
|
|
|
- aeson
|
|
|
|
- http-conduit
|
|
|
|
- http-types
|
|
|
|
- hspec-expectations-json
|
|
|
|
- bytestring
|
|
|
|
- mongoDB
|
|
|
|
- hspec-wai
|
|
|
|
- securemem
|
2022-05-11 20:04:46 +00:00
|
|
|
- time
|
2022-05-24 15:20:10 +00:00
|
|
|
- configurator
|
|
|
|
- scotty
|
2023-05-17 14:44:25 +00:00
|
|
|
- megaparsec
|
|
|
|
- uuid
|