-
- Downloads
Change API to REST
Add cors package. Add /users/me route to identify from auth token.
Showing
- README.md 6 additions, 0 deletionsREADME.md
- VILLAS.mdj 48 additions, 2 deletionsVILLAS.mdj
- config.js 8 additions, 5 deletionsconfig.js
- package.json 5 additions, 4 deletionspackage.json
- routes/projects.js 9 additions, 20 deletionsroutes/projects.js
- routes/users.js 19 additions, 6 deletionsroutes/users.js
- server.js 2 additions, 0 deletionsserver.js
... | ... | @@ -4,11 +4,12 @@ |
"private": true, | ||
"main": "server.js", | ||
"dependencies": { | ||
"express": "^4.14.0", | ||
"mongoose": "^4.5.1", | ||
"bcrypt-nodejs": "^0.0.3", | ||
"body-parser": "^1.15.2", | ||
"morgan": "^1.7.0", | ||
"cors": "^2.7.1", | ||
"express": "^4.14.0", | ||
"jsonwebtoken": "^7.0.1", | ||
"bcrypt-nodejs": "^0.0.3" | ||
"mongoose": "^4.5.1", | ||
"morgan": "^1.7.0" | ||
} | ||
} |
Please register or sign in to comment