Stephan
645baf1f8a
Add cors
2022-05-17 15:42:50 +02:00
Stephan
6c5fd27a73
Merge pull request #45 from detleph/feature-endpoints
...
Add more endpoints
2022-05-03 14:58:01 +02:00
Stephan
72ee918f00
Add schema valiation
...
+ Using zod for validation
+ Add SchemaError
2022-05-01 17:18:55 +02:00
Stefan
ac19d9bc67
Merge branch 'dev' into feature-email-verification
2022-04-29 11:40:28 +02:00
Stephan
8bf18267d1
Fix: Add winston; And: Add custom error handlers
...
+ addCustomHandler()
+ removeCustomHandler()
2022-04-28 14:39:16 +02:00
Stephan
382a42d439
Add basic error handling
...
+ Add express-async-errors package to handle async errors
+ Add ForwaradableError class (Base class for all project-specific errors)
+ Add defaultErrorHandler middleware which handles errors and sends info to the client
2022-04-28 14:39:16 +02:00
Stefan-5422
62a5daa432
Add Endpoint to verify email codes
2022-04-25 08:57:32 +02:00
Stefan-5422
c96537f5b4
Add handlebars;
2022-03-20 14:58:27 +01:00
Stefan-5422
db9ea4b36a
Added compile code for mail templates
2021-12-11 14:04:51 +01:00
Stephan
fc78f730bd
Add redis
...
+ Add a public lib file for redis
+ Add an indexed auth client
+ Add a function to create promisified partial clients
+ Add password revisions to the auth redis index
2021-11-10 12:08:07 +01:00
Stephan
3d961ab53d
Add controller for authenticating with admin name and password
...
+ Add function to create a JWT with the required payload
2021-11-10 08:19:17 +01:00
Stephan and Stefan
d596670f6b
Add mail functionality into the development branch ( #12 )
...
* Added basic code for sending emails
+ Added tests for emails
+ Modified README.md to reflect changes to .env file
* [create-pull-request] push formatted files
* Added dkim
* Fixed mistake in docker-compose.yml
Co-authored-by: Stefan <[email protected] >
2021-11-03 11:01:37 +01:00
Stefan-5422
8d50c44b7e
Added tests for the event endpoints
...
Also installed chai, chai http & mocha
2021-10-18 13:14:13 +02:00
Stefan-5422
a966bfffd9
Added Event Endpoints; Dotenv; npm Scripts
...
+ GET /events/
+ POST /events/
2021-10-17 02:30:01 +02:00
Stefan
01f5521433
boilerplate part1
2021-10-11 09:32:42 +02:00