Skip to content

anthonycepeda/fastapi-sqlmodel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4b4b039 · Jul 22, 2024

History

33 Commits
Jan 2, 2024
May 5, 2024
Sep 27, 2021
Sep 27, 2021
Dec 25, 2023
Sep 27, 2021
Dec 24, 2023
Sep 25, 2021
Dec 24, 2023
Dec 24, 2023
Jul 22, 2024
Sep 27, 2021
Sep 27, 2021

Repository 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