Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nayan32biswas/fastapi-sql-boilerplate-async
https://github.com/nayan32biswas/fastapi-sql-boilerplate-async
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nayan32biswas/fastapi-sql-boilerplate-async
- Owner: nayan32biswas
- Created: 2024-04-10T06:13:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-16T17:57:22.000Z (7 months ago)
- Last Synced: 2024-04-20T05:34:24.704Z (7 months ago)
- Language: Python
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fastapi SQL boilerplate
Build the docker images
```bash
docker-compose build
```Run Migration
```bash
docker-compose run server alembic upgrade head
```Run Backend server
```bash
docker-compose up server
```Run pytest
```bash
docker-compose run --rm server ./scripts/test.sh
```## Example Command
Create Migration Script
```bash
docker-compose run server alembic revision --autogenerate -m "message"
```