Repository navigation
๐ FastAPI Clean Architecture CLI v1.0.0
What's New
๐ Initial Release
FastAPI Clean Architecture CLI is now available! Create production-ready FastAPI projects with Clean Architecture in seconds.
โจ Key Features
- ๐๏ธ Clean Architecture - 4-layer architecture (Domain, Application, Infrastructure, Presentation)
- โก Async First - Full async/await support
- ๐ฏ CRUD Generator - Auto-generate complete CRUD operations
- ๐ Auth Ready - JWT, OAuth2, API Key support
- ๐ณ Docker Ready - Automatic Docker configuration
- ๐งช Test Ready - pytest configuration and examples
- ๐ Auto Docs - Swagger/OpenAPI documentation
๐ Quick Start
# Install
pip install fastapi-clean-cli
# Create project
fastapi-clean init --name=my_api --db=postgresql --docker
# Run
cd my_api
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn src.main:app --reload๐ฆ What's Included
Commands
init- Create new projectcrud- Generate CRUD operationsfeature- Add features (auth, cache, monitoring)
Databases
- PostgreSQL โ
- MySQL โ
- SQLite โ
- MongoDB ๐ง (coming in v1.1.0)
Features
- JWT Authentication โ
- Redis Caching โ
- Docker & Docker Compose โ
- pytest Testing โ
- Type Hints โ
- Async/Await โ
๐ Stats
- 50+ files generated
- 20+ Jinja2 templates
- 5,000+ lines of code
- 80%+ test coverage goal
๐ฏ Use Cases
Perfect for:
- ๐ Starting new FastAPI projects
- ๐ Learning Clean Architecture
- ๐ข Enterprise applications
- ๐ Teaching best practices
- โก Rapid prototyping
๐ Documentation
- [GitHub](https://github.com/amirrdoustdar/fastclean)
- [PyPI](https://pypi.org/project/fastapi-clean-cli/)
๐ Known Issues
None currently. Please report issues on GitHub.
๐ฎ What's Next (v1.1.0)
- MongoDB support
- GraphQL generator
- Interactive mode
- WebSocket templates
- More examples
๐ Thanks
Special thanks to:
- FastAPI community
- Clean Architecture principles by Uncle Bob
- HiDjango for inspiration
๐ฌ Feedback
We'd love to hear from you! Please:
- โญ Star us on GitHub
- ๐ Report bugs
- ๐ก Suggest features
- ๐ Contribute
Happy coding! ๐