Added Event Endpoints; Dotenv; npm Scripts

+ GET    /events/
+ POST /events/
This commit is contained in:
Stefan-5422
2021-10-17 02:30:01 +02:00
parent 4b0615ac27
commit a966bfffd9
8 changed files with 107 additions and 17 deletions
+12
View File
@@ -1 +1,13 @@
# server
## SETUP
Before Runningthis on you local machine some things have to be setup
1. Run npm install
2. Add .env file with following variables:
```
DATABASE_URL: ADDRESS TO YOUR DATABASE
PORT: PORT WHERE THE API SHOULD RUN
```