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

https://github.com/marcos-grocha/pizza-delivery-fastapi

Backend • API Rest • Serviço de delivery
https://github.com/marcos-grocha/pizza-delivery-fastapi

fastapi

Last synced: about 1 month ago
JSON representation

Backend • API Rest • Serviço de delivery

Awesome Lists containing this project

README

          

# 🍕 Marcão Pizzaria
Sistema *backend* que expõe a **API** para [Pizza Delivery React](https://github.com/marcos-grocha/pizza-delivery-react).

## Instalação
### Crie ambiente virtual:
```
python -m venv .venv
```

### Inicie o ambiente virtual:
```
.\.venv\Scripts\activate
```

### Instale as dependências dentro do ambiente:
```
pip install -r requirements.txt
```

### Execute o framework com reload automático
```
uvicorn main:app --reload
```

### Consulte a documentação da API gerado pelo FastAPI em:
```http://localhost:8000/docs```

---

## Banco de Dados
### Inicia o alembic
```alembic init alembic```

### Gera migração
```alembic revision --autogenerate -m "Mensagem da migração"```

### Roda migração
```alembic upgrade head```

---

## Endpoints
image
image

---
## Autor
Desenvolvido por [Marcos Rocha](https://www.linkedin.com/in/marcos-grocha/).