REST using Node.js, Mysql, Express, Sequelize and Redis.
To create the project, the MVC software architecture pattern with service layer was chosen.
- Create database
- Create .env file and in this set a secret password with the name CHAVE_JWT
- Set your database access data in /src/database/config.json
- Run migrations: npx sequelize-cli db:migrate
- Run npm run start to start server
├── /src
| ├── /controllers
| ├── /database
| | ├── /migrations
| | ├── /seeds
| ├── /authentications
| ├── /middlewares
| ├── /models
| ├── /routes
| ├── /services
├── /redis