{"repo":"klee1611/cookiecutter-fastapi-mongo","free":true,"listed":false,"github":"https://github.com/klee1611/cookiecutter-fastapi-mongo","clone":"git clone https://github.com/klee1611/cookiecutter-fastapi-mongo.git","description":"High-performance FastAPI backend boilerplate for real-world production, with mongo and pytest. Suitable for microservices.","language":"Python","stars":15,"topics":["cookiecutter","fastapi","mongodb","motor","backend","docker","fastapi-boilerplate","fastapi-template","restful","restful-api"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Backend FastAPI and MongoDB - Project Template A Cookiecutter template that scaffolds production-ready async RESTful API services built with FastAPI , Motor (async MongoDB driver), and uv for fast dependency management. Spin up a fully structured, tested, and containerized backend in seconds. --- ✨ Features Each project generated from this template includes: - Async REST API — high-performance endpoints powered by FastAPI and Uvicorn. - Async MongoDB CRUD — full Create / Read / Update / Delete operations via Motor. - Health endpoint — /health route for liveness and readiness checks. - Swagger / OpenAPI docs — auto-generated interactive API documentation at /docs . - Structured logging — YAML-based logging config with environment-variable overrides and ID masking. - Custom error handling — BadRequest and UnprocessableError exceptions with RFC 7807-style JSON responses. - Test suite — async tests with pytest and pytest-asyncio covering all CRUD operations and the health endpoint. - Docker support — Dockerfile and docker-compose.yml included. - Makefile shortcuts — one-command test, dev run, image build, and compose up/down. - uv package manager — 10-100× faster dependency resolution than pip/Poetry. --- 🏗️ Project Architecture Repository Layout (this template) Generated Project Layout Request Flow Layer Responsibilities Layer Path Responsibility --- --- --- Router app/api/ HTTP method binding, request validation, response serialisation Model app/models/ Pydantic schemas for re","default_branch":null,"files":null,"tree":[],"storefront":"/r/klee1611","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/klee1611/cookiecutter-fastapi-mongo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}