forked from majortom64/vapor-auth-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.yml
228 lines (226 loc) · 6.93 KB
/
manifest.yml
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
name: Vapor Auth Template
variables:
- name: fluent
description: Would you like to use Fluent (ORM)?
type: nested
variables:
- name: db
description: Which database would you like to use?
type: option
options:
- name: Postgres (Recommended)
description: ""
data:
module: Postgres
url: postgres
id: psql
version: "2.8.0"
is_postgres: true
emoji: "\U0001F418"
- name: MySQL
description: ""
data:
module: MySQL
url: mysql
id: mysql
version: "4.4.0"
is_mysql: true
emoji: "\U0001F42C"
- name: SQLite
description: ""
data:
module: SQLite
url: sqlite
id: sqlite
version: "4.6.0"
is_sqlite: true
emoji: "\U0001FAB6"
- name: Mongo
description: ""
data:
module: Mongo
url: mongo
id: mongo
version: "1.3.1"
is_mongo: true
emoji: "\U0001F331"
- name: leaf
description: Would you like to use Leaf (templating)?
type: bool
- name: DotEnv
description: Would you like to configure env files?
type: nested
variables:
- name: POSTGRES_HOSTNAME
description: Enter postgres hostname.
type: string
- name: POSTGRES_DATABASE
description: Enter databse name.
type: string
- name: POSTGRES_USERNAME
description: Enter Postgres user.
type: string
- name: POSTGRES_PASSWORD
description: Enter postgres password.
type: string
- name: REDIS_URL
description: Enter Redis URL.
type: string
- name: mailgun_key
description: Enter your Mailgun API Key
type: string
- name: api_url
description: Enter the fqdn for the api of the server.
type: string
- name: frontend_url
description: Enter the fqdn for the UI of the server.
type: string
- name: noreply_email
description: Enter the noreply email address.
type: string
files:
- file: Package.swift
dynamic: true
- file: env-rename-me
dynamic: true
dynamic_name: .env.development
- folder: Sources
files:
- folder: App
files:
- file: entrypoint.swift
dynamic: true
- file: AppConfig.swift
dynamic: true
- file: configure.swift
dynamic: true
- file: Constants.swift
dynamic: true
- file: queues.swift
dynamic: true
- file: migrations.swift
dynamic: true
- file: services.swift
dynamic: true
- file: routes.swift
dynamic: true
- folder: Authenticators
files:
- file: UserAuthenticator.swift
- folder: Controllers
files:
- file: AuthenticationController.swift
- folder: Emails
files:
- file: Email.swift
- file: ResetPasswordEmail.swift
- file: VerificationEmail.swift
- folder: Errors
files:
- file: AppError.swift
- file: AuthenticationError.swift
- folder: Extensions
files:
- file: Data+Base64URL.swift
- file: Mailgun+Domains.swift
- file: QueueContext+Services.swift
- file: Request+Services.swift
- file: SHA256+Base64.swift
- file: SHA256+String.swift
- folder: Jobs
files:
- file: EmailJob.swift
- folder: Middleware
files:
- ErrorMiddleware.swift
- folder: Migrations
if: fluent
files:
- file: CreateEmailToken.swift
- file: CreateRefreshToken.swift
- file: CreatePasswordToken.swift
- file: CreateUser.swift
- folder: Models
if: fluent
files:
- folder: DTO
files:
- folder: Authentication
files:
- folder: AccessToken
files:
- file: AccessTokenRequest.swift
- file: AccessTokenResponse.swift
- folder: EmailVerification
files:
- file: SendEmailVerificationRequest.swift
- folder: Login
files:
- file: LoginRequest.swift
- file: LoginResponse.swift
- folder: Register
files:
- file: RegisterRequest.swift
- folder: ResetPassword
files:
- file: RecoverAccountRequest.swift
- file: ResetPasswordRequest.swift
- folder: Users
files:
- file: UserDTO.swift
- folder: Entities
files:
- file: EmailToken.swift
- file: PasswordToken.swift
- file: RefreshToken.swift
- file: User.swift
- folder: JWT
files:
- file: Payload.swift
- folder: Repositories
files:
- file: EmailTokenRepository.swift
- file: PasswordTokenRepository.swift
- file: RefreshTokenRepository.swift
- file: UserRepository.swift
- folder: Services
files:
- folder: RandomGenerator
files:
- file: Application+RandomGenerator.swift
- file: Application+RandomGenerators.swift
- file: RealRandomGenerator.swift
- file: Request+RandomGenerator.swift
- file: EmailVerifier.swift
- file: PasswordResetter.swift
- file: Repositories.swift
- file: RequestService.swift
- folder: Tests
files:
- folder: AppTests
files:
- folder: AuthenticationTests
- folder: Helpers
- folder: Mocks
- folder: RepositoryTests
- folder: ServiceTests
- file: GeneralTests.swift
dynamic: true
- file: TestWorld.swift
dynamic: true
- folder: Resources
if: leaf
files:
- folder: Views
if: leaf
files:
- file: index.leaf
- folder: Public
files:
- .gitkeep
- file: web.Dockerfile
dynamic: true
- file: docker-compose.yml
dynamic: true
- file: .gitignore
- file: .dockerignore