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
+4 -1
View File
@@ -4,7 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "ts-node src/app.ts",
"dev": "nodemon src/app.ts"
},
"repository": {
"type": "git",
@@ -18,6 +20,7 @@
"homepage": "https://github.com/detleph/server#readme",
"dependencies": {
"@prisma/client": "^3.2.1",
"dotenv": "^10.0.0",
"express": "^4.17.1"
},
"devDependencies": {