Skip to content

matheuslfarias/fastapi_crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Project Example

Basic template to develop and test an asynchronous API with FastAPI, Postgres, pytest, and Docker using Test-driven Development.

See also


Install

from source

git clone https://github.com/matheuslfarias/fastapi_crud.git
cd fastapi_crud

You have to install docker and docker-compose, then

docker-compose up -d --build

and finally do the tests:.

docker-compose exec web pytest

Test out the following routes:

  1. http://localhost:8002/ping
  2. http://localhost:8002/docs
  3. http://localhost:8002/notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published