An open API service indexing awesome lists of open source software.

https://github.com/luandersonalvesdev/blogs-api

It's a Restfull CRUD API Express using Docker, MySQL with Sequelize and JWT.
https://github.com/luandersonalvesdev/blogs-api

api-restful docker express jwt jwt-authentication mysql sequelize

Last synced: 10 months ago
JSON representation

It's a Restfull CRUD API Express using Docker, MySQL with Sequelize and JWT.

Awesome Lists containing this project

README

          

# CRUD Blogs API

## About project
Blogs API is a project developed in the back-end module at Trybe.
Made using conventional commits, it's a RESTfull Express CRUD API to blog with Sequelize, JWT (Json Web Token), MSC (model, service and controller) software architecture and a normalized database using MySQL.

## Get Started
1. #### To run you just need [Docker](https://docs.docker.com/engine/install/ubuntu/) and [Docker Compose](https://docs.docker.com/compose/install/).
2. #### Clone this repository with:
```
git@github.com:luandersonalvesdev/shooes-store.git
```
3. #### Enter the folder:
```
cd blogs-api
```
4. #### Install the dependencies:
```
npm i
```
5. #### Climb the containers with:
```
docker-compose up -d
```
6. #### Use to "enter" the container:
```
docker exec -it blogs_api bash
```
7. #### Inside the container run the seeders:
```
npm run seed
```
8. #### Inside the container start the API:
```
npm start
```
### Now you can use the route "localhost:3001/..."

---
## 👨‍💻 Improvements:
1. MSC Software Architecture.
2. Sequelize.
3. Sequelize comands.
4. Sequelize transactions.
4. Token with JWT.
5. Data validations.
6. Conventional commits.
7. Climb two dockers and interact between them.
8. CRUD API.
9. API RESTfull.

## 🛠️ Technologies:
1. Node
2. Express
2. Sequelize
2. JWT - Json Web Token
7. Joi
8. Docker
9. Docker Compose
10. MySQL
11. JavaScript

---
## Contact

>https://linkedin.com/in/luandersonalvesdev