1
- [ ![ Travis ] ( https://travis-ci.org/dont-worry-be-happy/dwbh -api.svg?branch=master ) ]( https://travis-ci.org/dont-worry-be-happy/dwbh -api ) [ ![ License] ( https://img.shields.io/github/license/dont-worry-be-happy/dwbh-api.svg )] ( https://www.gnu.org/licenses/gpl-3.0.en.html )
1
+ ![ API Continuos Integration ] ( https://github.com/patio-team/patio -api/workflows/API%20Continuos%20Integration/badge .svg ) ![ Continuous deployment in dev ] ( https://github.com/patio-team/patio -api/workflows/Continuous%20deployment%20in%20dev/badge.svg ) [ ![ License] ( https://img.shields.io/github/license/dont-worry-be-happy/dwbh-api.svg )] ( https://www.gnu.org/licenses/gpl-3.0.en.html )
2
2
3
- # Don't Worry Be Happy
3
+ ![ dwbh ] ( etc/site/imgs/patio.png )
4
4
5
- ![ dwbh] ( etc/site/imgs/dwbh.png )
6
-
7
- ** Don't Worry Be Happy** is a web application that tries to measure the happiness of a given team periodically by
5
+ ** Patio** is a web application that tries to measure the happiness of a given team periodically by
8
6
asking for a level of happiness between 1 and 5 (being 1 the saddest scenario and 5 the happiest). This repository
9
7
hosts the backend of the DWBH project. Cool!
10
8
@@ -164,19 +162,36 @@ And environment variables
164
162
| DWBH_JDBC_PASSWORD | JDBC password | dwbh |
165
163
| DWBH_JDBC_DRIVER | JDBC driver | org.postgresql.Driver |
166
164
165
+ ##### EMAIL
166
+
167
+ By default, if no other email service has been configured a default dummy service will be used to debug email mailing. You
168
+ can, for example, configure AWS credentials to enable AWS mailing service.
169
+
170
+ ` ` ` yaml
171
+ email :
172
+ source : ${DWBH_EMAIL_SOURCE}
173
+ enabled : ${DWBH_EMAIL_ENABLED}
174
+ ` ` `
175
+
176
+ And environment variables:
177
+
178
+ | Name | Description | Default value |
179
+ |:---------------------------|:----------------------------|:--------------------------------------------------------------|
180
+ | DWBH_EMAIL_SOURCE | Source email | |
181
+ | DWBH_EMAIL_ENABLED | Enable mailing | |
182
+
167
183
##### AWS integration
168
184
185
+ AWS credentials to use AWS services, such as AWS simple mail service.
186
+
169
187
Configuration file section:
170
188
171
189
` ` ` yaml
172
190
aws :
173
191
credentials :
174
192
accessKey : ${DWBH_AWS_ACCESS_KEY}
175
193
secretKey : ${DWBH_AWS_SECRET_KEY}
176
- mail :
177
- sourceemail : ${DWBH_AWS_EMAIL_SOURCE}
178
- region : ${DWBH_AWS_EMAIL_REGION}
179
- enabled : ${DWBH_AWS_EMAIL_ENABLED}
194
+ region : ${DWBH_AWS_REGION}
180
195
` ` `
181
196
182
197
And environment variables:
@@ -185,9 +200,7 @@ And environment variables:
185
200
|:---------------------------|:----------------------------|:--------------------------------------------------------------|
186
201
| DWBH_ACCESS_KEY | AWS access key | |
187
202
| DWBH_SECRET_KEY | AWS secret key | |
188
- | DWBH_AWS_EMAIL_SOURCE | AWS source email | |
189
- | DWBH_AWS_EMAIL_REGION | AWS region | |
190
- | DWBH_AWS_EMAIL_ENABLED | Enable AWS mailing | |
203
+ | DWBH_AWS_REGION | AWS region | |
191
204
192
205
##### JWT
193
206
@@ -315,7 +328,7 @@ on this project are:
315
328
# ## Runtime
316
329
317
330
* [Micronaut](https://micronaut.io/) - A JVM-based micro-framework
318
- * [Jooq ](https://www.jooq.org /) - Persistence framework
331
+ * [Micronaut Data ](https://micronaut-projects.github.io/micronaut-data/latest/guide /) - Persistence framework
319
332
* [AWS API](https://aws.amazon.com/sdk-for-java/) - For AWS services (e.g. mailing)
320
333
321
334
# ## Testing
0 commit comments