This project is a RESTful API for a blog. It was implemented with Models, Services, and Controller(MSC) architecture, using MySQL for database. Its concept was made by Trybe. For deployment I used AWS and documented it with Swagger.
Deploy link (Swagger Documentation)

Project's base was developed by Trybe (Dockerfile, package.json, docker-compose.yml and other configurations). Files developed by me:
- everything on the
./src/folder; - the majority of
./swagger.json.
Technologies applied by me on this project:
- NodeJS;
- Express;
- Sequelize;
- MySQL;
- Docker;
- Swagger;
- AWS;
You can test the project on the cloud, with no installation needed, following the deploy link or, alternatively, install it on your machine.
Instalation steps:
- Make sure you have docker installed with versions 1.29 or higher;
- Git clone the repository;
- Run the database and the node containers with
docker-compose up -d; - Access the node container
docker exec -it blogs_api bash; - Install all dependencies inside the container with
npm install; - Execute
npm run prestartto initialize the database with sequelize; - You are ready to run the application!
npm start;