Contributing to FastAPI Boilerplate
First off, thank you for considering contributing! It's people like you who make the open-source community such an amazing place.
🌟 How Can I Contribute?
🐛 Reporting Bugs
Before reporting, please check existing GitHub Issues. If not found: - Use the Bug Report Template. - Provide minimal reproduction steps.
💡 Suggesting Enhancements
- Use the Feature Request Template.
- Discuss the idea first in GitHub Discussions.
🛠️ Pull Requests
- Fork the repository.
- Create a branch (
git checkout -b feature/amazing-feature). - Implement your changes.
- Run quality checks (see below).
- Open a Pull Request using our template.
💻 Development Setup
We use uv for dependency management.
# 1. Clone & Sync
git clone https://github.com/gargashwani/fastapi_boilerplate.git
cd fastapi_boilerplate
uv sync
# 2. Setup Environment
uv run python artisan install
# 3. Quality Checks (Mandatory)
uv run ruff check .
uv run mypy .
uv run pytest
✅ Coding Standards
- Ruff: Our primary linter and formatter.
- Type Safety: Mypy is enforced for all modules in
app/. - Tests: Every new feature or fix should include a corresponding test.
- Commits: Follow Conventional Commits.
🎯 Good First Issues
Look for the good first issue label in our issues list. These are well-defined tasks perfect for newcomers.
⚖️ License
By contributing, you agree that your contributions will be licensed under the MIT License.