Skip to content

仓库 files navigation

alt text

FastAPI + SQLModel Boilerplate App

A RestAPI real world app based on SQLModel documentation example, using FastAPI and SQLModel

Quickstart

  1. Start the App:
  • Using Python: pipenv run python asgi.py

  • Using Docker: docker build -t sqlmodel-api:latest . && docker run -p 8080:8080 sqlmodel-api:latest

  1. Use Openapi at: http://localhost:8080/#/

Running Tests:

While your app is running, open another terminal: pytest -v tavern_tests/

alt text

关于

FastAPI + SQLModel App Boilerplate

Topics

Resources

Stars

153 stars

关注者

2 watching

复刻s

发布

Used by

贡献者

Languages