fastapi-sqlmodel
fastapi-sqlmodel copied to clipboard
FastAPI + SQLModel App Boilerplate

FastAPI + SQLModel Boilerplate App
A RestAPI real world app based on SQLModel documentation example, using FastAPI and SQLModel
Quickstart
- Start the App:
-
Using Python:
pipenv run python asgi.py -
sing Docker:
docker build -t sqlmodel-api:latest . && docker run -p 8080:8080 sqlmodel-api:latest
- Use Openapi at:
http://localhost:8080/#/
Running Tests:
While your app is running, open another terminal:
pytest -v tavern_tests/
