Developing and Testing an API with FastAPI and Pytest

Developing and Testing an API with FastAPI and Pytest

Syncronous Example

Want to use this project?

Build the images and run the containers:

$ docker-compose up -d --build

Test out the following routes:

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

GitHub

https://github.com/testdrivenio/fastapi-crud-sync