packages feed

chakra-0.1.1: chakra.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
--
-- hash: e0ea050f431aab024199de31ebbeaa04193373c1703450ee2efdd26f817d5445

name:           chakra
version:        0.1.1
synopsis:       A REST Web Api server template for building (micro)services.

description:    A REST Web Api server template, that serves as a reference
                and avoids repetive boilerplate when building many (micro)services.
                This combines best libraries available in Haskell web development, like RIO, warp, servant, etc.,
                and principles around 12-factor app.
                .
                Check @'Chakra'@ module documentation for example.
                .
                Idea is to provide Curated & Opinionated set of packages and
                patterns to build well designed web api applications in Haskell.
                .
                Inspiration from Python Flask, ASP.NET Core
                .
                For more details, please see the README on Github at <https://github.com/cackharot/haskell-web-api-template#readme>
category:       Web
homepage:       https://github.com/cackharot/haskell-web-api-template#readme
bug-reports:    https://github.com/cackharot/haskell-web-api-template/issues
author:         Cackharot
maintainer:     cackharot@gmail.com
copyright:      2020 Cackharot
license:        MIT
license-file:   LICENSE
tested-with:
    GHC==8.10.7
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/cackharot/haskell-web-api-template

library
  exposed-modules:
      Chakra
      Chakra.Types
      Chakra.App
      Chakra.Config
      Chakra.Logging
      Chakra.Util
      Chakra.JWT
      Network.Wai.Middleware.Health
      Network.Wai.Middleware.Info
  other-modules:
      Chakra.RequestLogging
      Paths_chakra
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
  build-depends:
      aeson
    , base >=4.11 && <10
    , bytestring
    , cryptonite
    , data-default
    , data-has
    , envy
    , fast-logger
    , http-types
    , iproute
    , jose
    , network
    , network-uri
    , prometheus-client
    , prometheus-metrics-ghc
    , rio
    , servant-auth
    , servant-auth-server
    , servant-server
    , transformers
    , wai
    , wai-cli
    , wai-extra
    , wai-middleware-prometheus
    , warp
  default-language: Haskell2010

executable chakra-exe
  main-is: Main.hs
  other-modules:
      User
      Paths_chakra
  hs-source-dirs:
      examples
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T
  build-depends:
      aeson
    , base >=4.11 && <10
    , bytestring
    , chakra
    , cryptonite
    , data-default
    , data-has
    , dotenv
    , envy
    , fast-logger
    , http-types
    , iproute
    , jose
    , network
    , network-uri
    , optparse-simple
    , prometheus-client
    , prometheus-metrics-ghc
    , rio
    , servant-auth
    , servant-auth-server
    , servant-server
    , transformers
    , unordered-containers
    , wai
    , wai-cli
    , wai-extra
    , wai-middleware-prometheus
    , warp
  default-language: Haskell2010

test-suite chakra-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      UtilSpec
      Paths_chakra
  hs-source-dirs:
      test
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.11 && <10
    , bytestring
    , chakra
    , cryptonite
    , data-default
    , data-has
    , envy
    , fast-logger
    , hspec
    , http-types
    , iproute
    , jose
    , network
    , network-uri
    , prometheus-client
    , prometheus-metrics-ghc
    , rio
    , servant-auth
    , servant-auth-server
    , servant-server
    , transformers
    , wai
    , wai-cli
    , wai-extra
    , wai-middleware-prometheus
    , warp
  default-language: Haskell2010