Stefan-5422
4ef5989c9a
[create-pull-request] push formatted files
2022-04-29 12:23:23 +02:00
Stefan
ac19d9bc67
Merge branch 'dev' into feature-email-verification
2022-04-29 11:40:28 +02:00
Stefan
48ac07a52b
FIX: Formatting & Syntax error
2022-04-29 11:38:45 +02:00
Stephan
51c744de26
Add debugging code
...
+ Small fix in the event controller
+ Add development flag to the dev container
2022-04-28 14:39:16 +02:00
Stephan
09931c78da
Add logger and remove unused code
2022-04-28 14:39:16 +02:00
Stephan
9ac4fb8efd
Add logger to main
...
+ Remove whitespace
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
1f867135f9
Merge branch 'dev' into feature-email-verification
2022-04-28 14:07:53 +02:00
github-actions[bot] and Stefan-5422
4a57f75997
[create-pull-request] push formatted files ( #27 )
...
Co-authored-by: Stefan-5422 <[email protected] >
2022-04-28 12:49:07 +02:00
Stefan-5422
035eb8771c
Fix json parser return stack trace see Issue #24 ;
2022-04-28 12:49:07 +02:00
Stephan
a2e314f036
Add the permission_level 'ELEVATED' to the default user
2022-04-28 12:49:07 +02:00
Stephan
ed90f1e6ae
Allow for groups to be specified when POSTing /api/admins
...
+ Add the admin router to the global app
2022-04-28 12:49:07 +02:00
Stephan
c0878d5614
Add code that ensures that an (admin) user is always present
2022-04-28 12:49:07 +02:00
Stephan
5e5b6bb60c
Add routes for admin authentication endpoints
...
+ Add router to the app
2022-04-28 12:49:07 +02:00
Stephan
0c65aec96c
Add controller and routes for groups
2022-04-26 16:04:26 +02:00
Stephan
831017e7c2
Add routes for organisations
...
+ FIX: Change eventId type
2022-04-26 16:04:26 +02:00
github-actions[bot] and Stefan-5422
626ae40683
[create-pull-request] push formatted files ( #27 )
...
Co-authored-by: Stefan-5422 <[email protected] >
2022-03-20 17:37:51 +01:00
Stefan-5422
907c2c68fa
Fix json parser return stack trace see Issue #24 ;
2022-03-20 15:31:20 +01:00
Stephan
bfca7e8672
Add the permission_level 'ELEVATED' to the default user
2021-12-29 15:19:23 +01:00
Stephan
97fee47c6e
Allow for groups to be specified when POSTing /api/admins
...
+ Add the admin router to the global app
2021-12-29 15:19:22 +01:00
Stephan
3363039f79
Add code that ensures that an (admin) user is always present
2021-12-29 15:19:21 +01:00
Stephan
eb70a14c61
Add routes for admin authentication endpoints
...
+ Add router to the app
2021-12-29 15:19:10 +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