Metadata-Version: 2.4
Name: fastapi-maker
Version: 0.1.0
Summary: A CLI tool to scaffold FastAPI projects and modules (work in progress).
Author-email: Daryll Lorenzo Alfonso <daryllla77@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/DaryllLorenzo/fastapi-maker
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer>=0.9.0
Requires-Dist: fastapi[standard]>=0.100.0
Requires-Dist: alembic>=1.10.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"
Dynamic: license-file

# fastapi-maker

> 🚀 **FastAPI project scaffolding CLI** – Generate production-ready modules in seconds.

A command-line tool to bootstrap and scale FastAPI applications with clean architecture:
- Auto-generated **SQLAlchemy models** (with timestamps, ID, etc.)
- **Pydantic v2 DTOs** (Create, Update, Response)
- **Repository + Service** pattern
- **Routers** auto-registered in `main.py`
- **Alembic** pre-configured and models auto-imported
- Environment management via `.env`

Perfect for rapid prototyping or enforcing consistent structure across teams.

## ✨ Features

- `fam init` → Initialize a new FastAPI project with database, Alembic, CORS, and more.
- `fam create <entity>` → Generate a full module (e.g., `User`) with:

User/

├── user_model.py        # SQLAlchemy ORM model

├── user_repository.py   # DB operations

├── user_service.py      # Business logic

├── user_router.py       # FastAPI routes (auto-added to main.py)

└── dto/

    ├── user_in_dto.py   # Input validation

    └── user_out_dto.py  # API responses



## 📦 Installation (coming soon on PyPI)

```bash
pip install fastapi-maker
