This project was developed with NodeJS, ExpressJS, BcryptJS and JWT.
$ git clone [email protected]:ArikBartzadok/NodeJS-REST-API.git
# Recommend you to delete `.git`
$ cd <<PROJECT_NAME>> && rm -r .git
$ npm start
# or
$ nodemon src/index.js
- Create the server application with ExpressJS and Body-parser
- Create the connection with MongoDB
- Create the model of collection
- Create the auth controller to register users in database
- Create system to encrypt the password, and manually disable the return of password in the request
- Create system to generate, authenticate and treat JWT
- Reorganize the project's directory structure
- Create module to recover password, including in the user model
- Recovering passwords with mailtrap
- Bug fixed in nodemailer and mailtrap <<< Error: Missing credentials for "PLAIN"
- Create route to reset password and authenticate token
- Bug fixed in decoded token
- Create routes to 'POST, GET, PUT and DELETE' projects
- Creating model relationships (Users, Pojects and Taks)
This project is open source and available under the MIT License.