🇧🇷 Português
Projeto desenvolvido durante o terceiro módulo (desenvolvimento back-end) do curso da Trybe.
Construir uma loja de itens medievais no formato de uma API REST com CRUD.
- Back-end: Express, Node.js
- Plataforma: Docker
- Arquitetura: MSC
- Linguagem: Typescript
- Banco de dados: MySQL
- Clone o projeto:
git clone git@github.com:erikarg/Project-Trybesmith.git
- Suba os containers:
docker-compose up -d
- Execute o terminal do container:
docker exec -it trybesmith bash
- Instale as dependências:
npm install
- Inicialize a aplicação:
npm start
Login
Requisição | URL |
---|---|
POST |
http://localhost:3000/login |
Users
Requisição | URL |
---|---|
GET |
http://localhost:3000/users |
Products
Requisição | URL |
---|---|
GET |
http://localhost:3000/products |
POST |
http://localhost:3000/products |
Orders
Requisição | URL |
---|---|
GET |
http://localhost:3000/orders |
POST |
http://localhost:3000/orders |
🇺🇸 English
Project developed during the third module (back-end development) of the Trybe course.
Build a medieval item shop in the form of a REST API with CRUD.
- Back-end: Express, Node.js
- Platform: Docker
- Architecture: MSC
- Language: Typescript
- Database: MySQL
- Clone the project:
git clone git@github.com:erikarg/Project-Trybesmith.git
- Install the containers:
docker-compose up -d
- Open the container terminal:
docker exec -it trybesmith bash
- Install dependencies:
npm install
- Start the application:
npm start
Login
Request | URL |
---|---|
POST |
http://localhost:3000/login |
Users
Request | URL |
---|---|
GET |
http://localhost:3000/users |
Products
Request | URL |
---|---|
GET |
http://localhost:3000/products |
POST |
http://localhost:3000/products |
Orders
Request | URL |
---|---|
GET |
http://localhost:3000/orders |
POST |
http://localhost:3000/orders |