mirror of
https://github.com/detleph/server.git
synced 2026-09-04 00:26:03 +02:00
4d23eccba64f3d64ffbcbe1f3a36ca7ac6ca8146
+ Requests are now dispatched to the according user ressource, not the collection + The current user can be referenced by setting the pid to 'current' + Refactored the error logic
server
SETUP
Before Runningthis on you local machine some things have to be setup
-
Run npm install
-
Add .env file with following variables:
DATABASE_URL: ADDRESS TO YOUR DATABASE DATABASE_PASSWORD: PASSOWRD OF THE DATABASE PORT: PORT WHERE THE API SHOULD RUN DOMAIN: THE DOMAIN NAME OF THE SERVER MAILPASSWORD: THE PASSWORD FOR THE MAIL ACCOUNT DEV: SWITCH FOR DEV MODE AFFECTS EMAIL SERVER
Languages
TypeScript
96.7%
Shell
2.7%
Dockerfile
0.6%