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