Basic authentication using Sequelize and JWT for NodeJS
Technologies used : Node & mySQL
Deployment : Heroku || Git
npm install
- Mandatory Setup : Add .env file in root after cloning based on format of test.env
npm start
- Optional Setup : Mention custom port
npm start custom_port
| Protocol | Route Address | Input Parameters | Output JSON Expectation |
|---|---|---|---|
| POST | /user/signup | name, password, email | Authentication Token |
| POST | /user/signin | email, password | Authentication Token |
| POST | /user/profile | User JSON | |
| GET | /user/profiles/all (secure) | null | Array of all users(in JSON) |
| POST | /user/profile/update (secure) | email, name | Updated User JSON |
Unit Tests
Build Mechanism (Webpack)
CI/CD