{"id":21164539,"url":"https://github.com/barabum0/fastapi-template","last_synced_at":"2025-03-14T16:32:03.514Z","repository":{"id":211580253,"uuid":"729505889","full_name":"barabum0/fastapi-template","owner":"barabum0","description":"Template for FastAPI applications. Typed with mypy, tested with pytest and logged with loguru.","archived":false,"fork":false,"pushed_at":"2024-07-17T12:26:06.000Z","size":110,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T09:48:52.243Z","etag":null,"topics":["fastapi","loguru","mypy","pytest","python","template","template-repository"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barabum0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-09T12:55:27.000Z","updated_at":"2024-07-17T12:26:15.000Z","dependencies_parsed_at":"2023-12-09T14:25:28.695Z","dependency_job_id":"c1bb7fb3-cf12-4e7d-a8b0-229926e7e196","html_url":"https://github.com/barabum0/fastapi-template","commit_stats":null,"previous_names":["barabum0/fastapi-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barabum0%2Ffastapi-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barabum0%2Ffastapi-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barabum0%2Ffastapi-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barabum0%2Ffastapi-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barabum0","download_url":"https://codeload.github.com/barabum0/fastapi-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243610169,"owners_count":20318915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fastapi","loguru","mypy","pytest","python","template","template-repository"],"created_at":"2024-11-20T14:06:30.857Z","updated_at":"2025-03-14T16:32:03.450Z","avatar_url":"https://github.com/barabum0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# FastAPI Project Template with Loguru\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Formatted with: isort](https://img.shields.io/badge/formatted%20with-isort-blue.svg)](https://pycqa.github.io/isort/)\n[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)\n[![Tested with pytest](https://img.shields.io/badge/tested%20with-pytest-0A9EDC.svg)](https://docs.pytest.org/en/stable/)\n\n\u003c/div\u003e\n\n## About 📘\n\nThis repository serves as a template for a **minimal FastAPI project** with enhanced logging using **Loguru**. It's managed with **Poetry** for efficient dependency resolution, ensuring a robust and maintainable codebase.\n\n## Features 🌟\n\n- **FastAPI Framework**: Utilizes the latest FastAPI framework for high performance and ease of development.\n- **Loguru Integration**: Includes pre-configured Loguru for superior logging capabilities.\n- **Poetry for Dependency Management**: Employs Poetry to simplify package management and dependency resolution.\n- **Black Code Style**: Adheres to the Black code style for consistent and clean Python code.\n- **isort for Import Sorting**: Ensures imports are neatly organized and consistent using isort.\n- **mypy for Static Type Checking**: Incorporates mypy to catch errors and ensure type safety in your codebase.\n- **pytest for Testing**: Leverages pytest for comprehensive and efficient testing of your application.\n\n## Usage 🛠️\n\nTo use this template, simply press the button on GitHub to create a new repository based on this template.\nNext, rename the project and docker image in following files\n- [`pyproject.toml`](pyproject.toml)\n- [`docker-compose.yml`](docker-compose.yml)\n- [`.github/workflows/build-docker-image-release.yml`](.github/workflows/build-docker-image-release.yml)\n  - **and uncomment the `on` section in this file for it to work**\n\n## Installation 💻\n\n```shell\npoetry install\n```\n\n## Running 🏃‍♂️\n\n```shell\npoetry shell\npoetry run app\n```\n\n## Troubleshooting 🔍\n\nFor any issues or troubleshooting queries, please refer to the [Issues section](https://github.com/barabum0/fastapi-template/issues) of this GitHub repository.\n\n## Contribution 👥\n\nContributions are welcome. Please fork the repository, make your changes, and submit a pull request.\n\n## License 📜\n\nThis project is open-sourced under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarabum0%2Ffastapi-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarabum0%2Ffastapi-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarabum0%2Ffastapi-template/lists"}