Skip to content

Example integration of Peewee and FastAPI

Notifications You must be signed in to change notification settings

luk1999/peewee_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example integration of Peewee and FastAPI.

Setup project

  • Use pipenv to create virtualenv:
    pipenv --python 3.12
    pipenv shell
    pipenv install --dev
  • Init database:
    make init

(Optional) Migrations

  • Run migrations:
    make migrate-forwards

Run app

Turn on pipenv shell and run:

make run

Navigate to http://127.0.0.1:8000/docs#/ to check API endpoints definitions.

About

Example integration of Peewee and FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published