Flask Project Scaffold Tool is a Python-based CLI tool that helps you quickly bootstrap a Flask web application with a predefined directory structure and boilerplate code. This tool generates the essential components needed to kickstart a Flask project with a minimal setup, saving time for developers by automating repetitive tasks.
Whether you’re building a new web app or starting a quick prototype, this tool will give you a clean, organized foundation to build upon.
Here’s the project structure that will be generated:
your_project_name/
├── app/
│ ├── __init__.py
│ ├── routes.py
│ ├── templates/
│ │ └── base.html
├── config.py
├── run.py
├── tests/
│ └── test_app.py
└── requirements.txt
The tool uses the following templates stored under the templates/ folder:
These templates are easy to customize if you want to modify the generated code or structure.
You can modify the generated files or the scaffold templates to better suit your needs. ‘–setting’ option allows you to provide a JSON file to customize the project. Please see the format of the JSON below.
{
"project": {
"name": "NewAppGenerated",
"author": "Harikumar G",
"description": "Generated using Kickstarter",
"blueprints": ["main", "auth"]
},
"outputFolder" : "generated"
}
This project is licensed under the MIT License. See the LICENSE file for details.
For questions, feel free to reach out to the project maintainer at:
Email: hgokulam@yahoo.com GitHub: @hari-yahoo