Building FasCraft: My Journey Creating a FastAPI Project Generator CLI Tool
The Problem That Started It All
As a developer who has worked on numerous FastAPI projects, I noticed a frustrating pattern: teams spending significant time setting up project structure and boilerplate code instead of focusing on business logic. Every new project meant:
- Manually creating the same folder structure
- Setting up database configurations
- Configuring environment variables
- Writing boilerplate models, schemas, and services
- Setting up testing frameworks
- Configuring CI/CD pipelines
This repetitive setup was eating into development time and often led to inconsistent project structures across teams.