Skip to content

FastAPI example project that includes an API, Swagger documentation, and unit tests, and uses Pydantic, SQLAlchemy, and Docker for efficient request handling, data modeling, database interaction, and containerization.

Notifications You must be signed in to change notification settings

fchancel/fastapi-example

Repository files navigation

FastAPI Example

This api project was done with FastAPI, Pydantic and Docker. It is composed of an api, a swagger documentation and unit tests.

How run the API ?

For run the api, you need to install docker & docker-compose.

Run command :

docker-compose up --build -d

When docker is run, a swagger documentation is available at the address: 0.0.0.0:8000/docs

How run the test ?

Run command :

./run-test.sh

About

FastAPI example project that includes an API, Swagger documentation, and unit tests, and uses Pydantic, SQLAlchemy, and Docker for efficient request handling, data modeling, database interaction, and containerization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published