Skip to content

vikram-dagger/dagger-python-app

Repository files navigation

FastAPI Sample Application

Run the application with Docker Compose

docker compose up

Write to the API

curl -X POST -H "Content-Type: application/json" -d '{"title": "Dune", "author": "Frank Herbert"}' http://localhost:8000/api/books/

Read from the API

curl http://localhost:8000/api/books/

Run tests

docker exec -it fastapi_app bash
pytest # in the container shell

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published