package switch and did edit .env.example
This commit is contained in:
@@ -2,6 +2,8 @@ JWT_SECRET = "Secret"
|
|||||||
PORT = 3000
|
PORT = 3000
|
||||||
USERNAMELENGTH = 20
|
USERNAMELENGTH = 20
|
||||||
|
|
||||||
|
NODE_ENV=development
|
||||||
|
|
||||||
# Time format: 1d2h3m4s
|
# Time format: 1d2h3m4s
|
||||||
PERMTOKENAGE = 30d5h # 30 days 5 hours
|
PERMTOKENAGE = 30d5h # 30 days 5 hours
|
||||||
ACCESSTOKENAGE = 1h # 1 hour
|
ACCESSTOKENAGE = 1h # 1 hour
|
||||||
|
|||||||
+4
-3
@@ -5,7 +5,8 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"start": "nodemon index.js"
|
"start": "nodemon index.js",
|
||||||
|
"production": "nodemon --exitcrash index.js"
|
||||||
},
|
},
|
||||||
"author": "kaj van schalkwijk",
|
"author": "kaj van schalkwijk",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -17,11 +18,11 @@
|
|||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"jsonwebtoken": "^9.0.2",
|
"jsonwebtoken": "^9.0.2",
|
||||||
"surrealdb.node": "^0.3.0",
|
"surrealdb.node": "^0.3.0",
|
||||||
"timestringconverter": "^1.0.0"
|
"timestringconverter": "^1.0.0",
|
||||||
|
"nodemon": "^3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"nodemon": "^3.0.2",
|
|
||||||
"supertest": "^6.3.4"
|
"supertest": "^6.3.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user