Skip to content

moreskylab/fastapi-mongo-mysql-postgresql-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastapi-mongo-mysql-postgresql-api

FastAPI api application that uses 3 different databases as backend

  • A FastAPI template starter with folder structure to big projects
  • SQLite database (local file) with alembic to manage migrations
  • Black package was used as a code linter
  • Docker is needed to run the app (please use Docker Desktop or Rancher Desktop)
  • Logger is included
  • Local file database is set in test folder

Run local environment

To run the container please execute the following command:

make up

Once the command is executed go to the following link http://localhost:8000, you are going to be redirected to API docs

Other useful commands

Build docker image

make build

Stop containers

make stop

Stop containers

make stop

Delete containers

make rm

Run unit tests

make test

Run black linter:

make lint

About

FastAPI api application that uses 3 different databases as backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published