issues
search
spaleMarko
/
node_docker
0
stars
0
forks
source link
REST_API_START
#5
Open
spaleMarko
opened
3 years ago
spaleMarko
commented
3 years ago
Added dependency for
npm install --save express
npm install --save nodemon
npm install --save mongoose
npm install --save body-parser
Added routes folder
Add user.js with get route for all users DUMMY
Tested
WORKING
spaleMarko
commented
3 years ago
AUTH START
Added dependency for npm install --save dotenv
Create model folder and User.js
Add connect to app.js
spaleMarko
commented
3 years ago
VALIDATION EMAIL AND PASSWORD
Added dependency for npm install --save joi
Create in root file validation.js
Implement in route for register
spaleMarko
commented
3 years ago
Added BCRYPT
Added dependency for npm install --save bcryptjs
spaleMarko
commented
3 years ago
LOGIN ROUTE
Added login functionality
spaleMarko
commented
3 years ago
JSON WEB TOKEN
Added dependency for npm install --save jsonwebtoken
Added functionality for token and return to headers in login route