all setup with jwt and bcrypt with whole file structure with auth middleware and login
This commit is contained in:
+27
-25
@@ -1,27 +1,29 @@
|
||||
{
|
||||
"name": "ucharify_api",
|
||||
"version": "1.0.0",
|
||||
"description": "Backend API for Ucharify. Completely separate infrastructure that connects to DB.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "PORT=4200 & node server.js",
|
||||
"dev": "set NODE_ENV=test & set PORT=4205 & nodemon server.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/talksik/Ucharify_api.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/talksik/Ucharify_api/issues"
|
||||
},
|
||||
"homepage": "https://github.com/talksik/Ucharify_api#readme",
|
||||
"dependencies": {
|
||||
"body-parser": "^1.18.3",
|
||||
"express": "^4.16.4",
|
||||
"mysql2": "^1.6.4",
|
||||
"sequelize": "^4.42.0"
|
||||
}
|
||||
"name": "ucharify_api",
|
||||
"version": "1.0.0",
|
||||
"description": "Backend API for Ucharify. Completely separate infrastructure that connects to DB.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "PORT=4200 & set JWT_KEY=secretkey & node server.js",
|
||||
"dev": "set NODE_ENV=test & set PORT=4205 & set JWT_KEY=secretkey & nodemon server.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/talksik/Ucharify_api.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/talksik/Ucharify_api/issues"
|
||||
},
|
||||
"homepage": "https://github.com/talksik/Ucharify_api#readme",
|
||||
"dependencies": {
|
||||
"bcrypt-nodejs": "0.0.3",
|
||||
"body-parser": "^1.18.3",
|
||||
"express": "^4.16.4",
|
||||
"jsonwebtoken": "^8.4.0",
|
||||
"mysql2": "^1.6.4",
|
||||
"sequelize": "^4.42.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user