-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathrealworld-conduit.cabal
174 lines (169 loc) · 4.78 KB
/
realworld-conduit.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
cabal-version: 2.2
name: realworld-conduit
version: 0.1.0.0
synopsis: Exemplary fullstack Medium.com clone powered by Servant and Beam
description: The http://realworld.io specification implemented using Servant for the web application layer and Beam for persistence.
author: Brad Parker
maintainer: hi@bradparker.com
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
common ghc
default-extensions:
DataKinds
DeriveAnyClass
DeriveGeneric
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
KindSignatures
MultiParamTypeClasses
NamedFieldPuns
OverloadedStrings
PartialTypeSignatures
ScopedTypeVariables
StandaloneDeriving
TypeFamilies
TypeOperators
TypeSynonymInstances
ghc-options: -Wall
default-language: Haskell2010
common deps
build-depends:
aeson
, base-noprelude >=4.10 && <4.12
, beam-core
, beam-postgres
, bytestring
, case-insensitive
, conduit
, containers
, data-default
, http-types
, insert-ordered-containers
, jose
, lens
, monad-control
, mtl
, optparse-applicative
, postgresql-simple
, relude
, resource-pool
, scrypt
, servant
, servant-auth
, servant-auth-server
, servant-auth-swagger
, servant-server
, servant-swagger
, servant-swagger-ui
, servant-swagger-ui-core
, swagger2
, text
, time
, transformers
, validation
, vector
, wai
, wai-extra
, wai-cors
, warp
library
import: ghc
import: deps
exposed-modules:
Database.Beam.Postgres.Extended
Prelude
RealWorld.Conduit.Articles.Article
RealWorld.Conduit.Articles.Article.Attributes
RealWorld.Conduit.Articles.Database
RealWorld.Conduit.Articles.Database.Article
RealWorld.Conduit.Articles.Database.ArticleTag
RealWorld.Conduit.Articles.Database.Favorite
RealWorld.Conduit.Articles.Web
RealWorld.Conduit.Articles.Web.All
RealWorld.Conduit.Articles.Web.Articles
RealWorld.Conduit.Articles.Web.Create
RealWorld.Conduit.Articles.Web.Destroy
RealWorld.Conduit.Articles.Web.Favorite
RealWorld.Conduit.Articles.Web.Feed
RealWorld.Conduit.Articles.Web.Unfavorite
RealWorld.Conduit.Articles.Web.Update
RealWorld.Conduit.Articles.Web.View
RealWorld.Conduit.Attribute
RealWorld.Conduit.Comments.Comment
RealWorld.Conduit.Comments.Database
RealWorld.Conduit.Comments.Database.Comment
RealWorld.Conduit.Comments.Web
RealWorld.Conduit.Database
RealWorld.Conduit.Environment
RealWorld.Conduit.Options
RealWorld.Conduit.Tags.Database
RealWorld.Conduit.Tags.Database.Tag
RealWorld.Conduit.Tags.Web
RealWorld.Conduit.Users.Database
RealWorld.Conduit.Users.Database.Credentials
RealWorld.Conduit.Users.Database.Follow
RealWorld.Conduit.Users.Database.User
RealWorld.Conduit.Users.Profile
RealWorld.Conduit.Users.User.Attributes
RealWorld.Conduit.Users.Web
RealWorld.Conduit.Users.Web.Account
RealWorld.Conduit.Users.Web.Claim
RealWorld.Conduit.Users.Web.Current
RealWorld.Conduit.Users.Web.Current.Update
RealWorld.Conduit.Users.Web.Current.View
RealWorld.Conduit.Users.Web.Login
RealWorld.Conduit.Users.Web.Profiles
RealWorld.Conduit.Users.Web.Profiles.Follow
RealWorld.Conduit.Users.Web.Profiles.Unfollow
RealWorld.Conduit.Users.Web.Profiles.View
RealWorld.Conduit.Users.Web.Register
RealWorld.Conduit.Validation
RealWorld.Conduit.Web
RealWorld.Conduit.Web.API
RealWorld.Conduit.Web.Auth
RealWorld.Conduit.Web.Errors
RealWorld.Conduit.Web.Health
RealWorld.Conduit.Web.Health.Service
RealWorld.Conduit.Web.Namespace
RealWorld.Conduit.Web.Swagger
other-modules:
Paths_realworld_conduit
hs-source-dirs:
src
executable realworld-conduit
import: ghc
import: deps
main-is: Main.hs
other-modules:
Paths_realworld_conduit
hs-source-dirs:
app
build-depends:
realworld-conduit
test-suite spec
import: ghc
import: deps
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
RealWorld.Conduit.Articles.Database.Article.AttributesSpec
RealWorld.Conduit.Articles.DatabaseSpec
RealWorld.Conduit.Articles.WebSpec
RealWorld.Conduit.Spec
RealWorld.Conduit.Spec.Database
RealWorld.Conduit.Spec.Web
RealWorld.Conduit.Users.Database.User.AttributesSpec
RealWorld.Conduit.Users.DatabaseSpec
RealWorld.Conduit.Users.WebSpec
Test.Hspec.Wai.Extended
hs-source-dirs:
spec
build-depends:
hspec
, hspec-wai
, hspec-wai-json
, realworld-conduit
default-extensions:
QuasiQuotes