2022-04-22 16:15:23 +00:00
|
|
|
name: zgo-backend
|
2023-01-09 16:01:44 +00:00
|
|
|
version: 1.2.0
|
|
|
|
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"
|
|
|
|
copyright: "Copyright (c) 2022 Vergara Technologies LLC"
|
|
|
|
|
|
|
|
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
|
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
|
|
|
|
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
|
|
|
|
|
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
|