{"id":19466466,"url":"https://github.com/kazi-naimul/fastapi-boilerplate","last_synced_at":"2026-05-08T19:33:12.490Z","repository":{"id":215820007,"uuid":"735674164","full_name":"kazi-naimul/fastAPI-boilerplate","owner":"kazi-naimul","description":"FastAPI boilerplate for industry level application","archived":false,"fork":false,"pushed_at":"2024-01-07T11:54:19.000Z","size":1875,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-11T07:27:57.002Z","etag":null,"topics":["backend-api","boilerplate","boilerplate-template","fastapi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kazi-naimul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-25T19:18:43.000Z","updated_at":"2025-01-20T07:19:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f4fe312-689b-4b61-9409-f7de9af6ce09","html_url":"https://github.com/kazi-naimul/fastAPI-boilerplate","commit_stats":null,"previous_names":["kazi-naimul/fastapi-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kazi-naimul/fastAPI-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazi-naimul%2FfastAPI-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazi-naimul%2FfastAPI-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazi-naimul%2FfastAPI-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazi-naimul%2FfastAPI-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kazi-naimul","download_url":"https://codeload.github.com/kazi-naimul/fastAPI-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazi-naimul%2FfastAPI-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32794703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend-api","boilerplate","boilerplate-template","fastapi","python"],"created_at":"2024-11-10T18:28:01.781Z","updated_at":"2026-05-08T19:33:12.474Z","avatar_url":"https://github.com/kazi-naimul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to FastAPI Boilerplate\n\nReady to kickstart your FastAPI project? Look no further! This boilerplate offers you a robust foundation for building powerful applications.\n\n## Key Highlights\n\n✅ Docker Compose for seamless production setup. \\\n✅ Local Dockerized database for convenient development. \\\n✅ PgAdmin Docker container for easy database inspection. \\\n✅ Migrations, Serializers, and ORM configurations ready to roll. \\\n✅ Token Authentication for secure endpoints. \\\n✅ Logging Mechanism for effective debugging. \\\n✅ Pytest for Test-Driven Development (TDD). \\\n✅ Separate SQLite database and mock sessions for testing. \\\n✅ Poetry for hassle-free dependency management and packaging.\n\n## Powered by These Technologies\n\n- **Alembic:** Simplifying database migrations.\n- **SQLAlchemy:** Trustworthy ORM capabilities.\n- **Pydantic:** Handling typing and serialization with ease.\n- **Pytest:** Empowering Test-Driven Development (TDD).\n- **Poetry:** The smarter choice for dependency management.\n- **Docker \u0026 docker-compose:** Virtualization for efficient development.\n- **PostgreSQL:** A robust relational database system.\n- **PgAdmin:** Your ally for efficient database management.\n- **Loguru:** The simplest logging solution.\n\n## Quick Setup\n\n1. Create a `.env` file in the root folder (`fastapi-boilerplate/.env`):\n\n    ```env\n    DATABASE_URL=postgresql+psycopg2://postgres:password@db:5432/boiler_plate_db\n    DB_USER=postgres\n    DB_PASSWORD=password\n    DB_NAME=boiler_plate_db\n    PGADMIN_EMAIL=admin@admin.com\n    PGADMIN_PASSWORD=admin\n    X_TOKEN=12345678910\n    ```\n\n2. Launch Docker Compose:\n\n    ```bash\n    docker-compose up\n    ```\n\n## 🎉 Get started with your FastAPI CRUD backend at `localhost:8000`.\n\n- Discover Swagger docs at `localhost:8000/docs`.\n- Dive into PgAdmin at `localhost:5050`.\n\nFeel free to tailor and tweak this boilerplate to suit your FastAPI project needs!\n\n# Acknowledgments\nA big shoutout to the original \u003ca href=\"https://github.com/rawheel/fastapi-boilerplate\"\u003erawheel/fastapi-boilerplate\u003c/a\u003e for providing the initial inspiration. The foundation laid by the original repository has been instrumental in shaping this customized boilerplate.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazi-naimul%2Ffastapi-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazi-naimul%2Ffastapi-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazi-naimul%2Ffastapi-boilerplate/lists"}