An API and a database were developed to produce content for a blog with Node.js and sequelize.
- CRUD API: (Create, Read, Update e Delete) categories and posts.
- Creation tables Creation of tables categories, posts_categories, blog_posts and users using ORM with sequelize.
- Login validation Login validation with token authentication key generated with JWT.
- Node;
- Sequelize;
- MySQL;
- Nodemom;
- JavaScript;
- To run the repository it is necessary to clone it, give the following command to start the project:
npm install
- To up and access the docker terminal:
docker-compose up -d
docker exec -it blogs_api bash
npm install
- Start application
npm start
- or
npm run dev
- Finished project.
*This work was implemented on the basis of Trybe projects and has its copyright reserved.