Skip to content

LnL7/fastapi-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A FastAPI Example

Development

The development environment can be setup in a few ways.

nix-shell
pytest -v
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
pip3 install -e .
pytest -v

Running the server.

example-init  # initialize database
uvicorn example.server:app --reload

Docker build

docker build -it example .
docker run --rm -it example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published