Skip to content

AccentDesign/fastapi-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastapi Boilerplate

Running

Using docker compose:

docker compose up

Installing python packages

From the docker container terminal inside /app.

Install a package:

poetry add <package>

Install a dev package:

poetry add --dev <package>

Update all package:

poetry update

Update one or more package:

poetry update <package>

Show package dependency tree:

poetry show --tree

Running tests

From the docker container terminal inside /app.

pytest

Auto Code Linting

From the docker container terminal inside /app.

black .
ruff check --fix .

Using the CLI

Several commands have been created to do things like create users.

From the docker container terminal inside /app.

# to view available commands
python cli.py --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 93.8%
  • HTML 4.6%
  • Other 1.6%