https://github.com/coelhoreinaldo/trybe-smith
A medieval items store in the form of an API using TypeScript, Sequelize, JWT and tests.
https://github.com/coelhoreinaldo/trybe-smith
jwt mocha-chai mysql mysql2 sequelize tests typescript
Last synced: 2 months ago
JSON representation
A medieval items store in the form of an API using TypeScript, Sequelize, JWT and tests.
- Host: GitHub
- URL: https://github.com/coelhoreinaldo/trybe-smith
- Owner: coelhoreinaldo
- Created: 2023-08-20T19:38:18.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T17:38:09.000Z (almost 3 years ago)
- Last Synced: 2025-03-30T18:47:44.388Z (over 1 year ago)
- Topics: jwt, mocha-chai, mysql, mysql2, sequelize, tests, typescript
- Language: TypeScript
- Homepage:
- Size: 544 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ⚔ Trybesmith

## 📘 Sobre
Desenvolvi uma loja de itens medievais no formato de uma API utilizando TypeScript e Sequelize. Criei as camadas model, service e controller da aplicação, utilizei JWT para autenticar algumas rotas e realizei testes que garantem o funcionamento correto da aplicação. Os endpoints incluem suporte para operações de criação, leitura e atualização de informações.
## ⚛️ Ferramentas
- Sequelize;
- JWT (Jason Web Token);
- Node.js;
- Express.js;
- TypeScript;
- Mocha, Chai e Sinon;
- MySQL;
- Middlewares;
- Arquitetura em camadas (model, service e controller);
- Docker;
## 🛠️ Como executar o projeto?
1. Suba os containers da aplicação com `docker-compose up -d`.
2. Abra o terminal do container `docker exec -it trybesmith_api bash`.
3. Inicie o servidor `npm run dev`.
## 📝 Nota
