Harrison Deng
ba566040b1
Started improved client code structure. Implemented session based authentication serverside. Implemented user, match, and sport database models serverside. Implemented Controllers for variety of C and R operations of CRUD.
30 lines
673 B
JSON
30 lines
673 B
JSON
{
|
|
"name": "server",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "",
|
|
"main": "server.js",
|
|
"scripts": {
|
|
"develop": "NODE_ENV=development nodemon server.js",
|
|
"start": "NODE_ENV=production node server.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"eslint": "^8.12.0",
|
|
"nodemon": "^2.0.15"
|
|
},
|
|
"dependencies": {
|
|
"bcrypt": "^5.0.1",
|
|
"body-parser": "^1.19.2",
|
|
"connect-mongo": "^4.6.0",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.17.3",
|
|
"express-session": "^1.17.2",
|
|
"mongoose": "^6.2.8",
|
|
"validator": "^13.7.0"
|
|
}
|
|
}
|