Skip to content

nfo94/fastapi-tdd-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python FastAPI App

Continuous Integration and Delivery

Text summarizer app built with Python, FastAPI, Docker, PostgreSQL, Tortoise ORM, aerich and Pytest, applying TDD.

API routes:

api routes

API docs:

https://intense-plains-24487.herokuapp.com/docs

To run the containers:

$ docker-compose up -d

To apply database migrations:

$ docker-compose exec web aerich upgrade

Running tests:

$ docker-compose exec web python -m pytest

Running test's coverage:

$ docker-compose exec web python -m pytest --cov="."

Running linting:

$ docker-compose exec web flake8 .

Running formatting:

$ docker-compose exec web black .
$ docker-compose exec web isort .

About

Text summarizer with FastAPI, Docker, PostgreSQL, Tortoise ORM and Pytest, applying TDD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors