Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nayan32biswas/fastapi-sql-boilerplate-async


https://github.com/nayan32biswas/fastapi-sql-boilerplate-async

Last synced: 9 days ago
JSON representation

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"
```