FastAPI Creation is a powerful CLI tool for scaffolding FastAPI projects quickly and efficiently. It helps developers generate project structures based on different architectural templates, saving time and maintaining consistency across projects.
- Create FastAPI projects with a single command.
- Choose from multiple architectural templates.
- Fully customizable project structure.
- Simple, interactive CLI powered by Typer.
You can install FastAPI Creation via pip:
pip install fastapi-creationOr if you want to install the latest version from the source:
git clone https://github.com/username/fastapi-creation.git
cd fastapi-creation
pip install .Once installed, you can create a new FastAPI project by running:
fastapi-creation my_projectYou will be prompted to select a project template:
Select a template:
1. clean
2. ddd
3. feature_based
...
Template number [1]:
After choosing a template, your project structure will be generated automatically.
fastapi-creation my_appOutput:
✅ Project 'my_app' created with template 'clean'
For a detailed explanation of all available templates and architectural layers, see TEMPLATES.md.
If you find this project helpful:
- ⭐ Give it a star on GitHub.
- 🛠️ Contribute to the project by submitting issues or pull requests.
- 💖 Support and spread the word to help the community grow.
Made with ❤️ for FastAPI developers.