Skip to content

FastApiClean v1.0.0

Latest

Choose a tag to compare

@Amirrdoustdar Amirrdoustdar released this 08 Dec 02:14
· 42 commits to main since this release
8dd9fd3

๐Ÿš€ 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 project
  • crud - Generate CRUD operations
  • feature - 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

๐Ÿ› 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! ๐ŸŽ‰