CLI tool to scaffold backend, frontend, and DB projects in MVC architecture
Project description
ProjectScaffold
ProjectScaffold is a Python package that generates full-stack project scaffolds with a ready-to-use MVC structure, backend, frontend, and database templates.
With this tool, you can quickly create new projects in Flask, Django, FastAPI, Node.js, Express, Spring Boot for backend and React, Vue, Angular, Svelte, Vanilla JS for frontend, plus database setup for SQLite, PostgreSQL, MySQL, MongoDB.
⚡ Features
- Interactive CLI to select backend, frontend, and database
- Creates MVC folder structure:
models/views/controllers/
- Copies backend & frontend starter templates automatically
- Database templates included
- Overwrite protection to prevent accidental project replacement
- Ready-to-use starter files for Python MVC projects
- Cross-platform: Windows, Linux, macOS
- Fully tested with
pytestandflake8
🛠 Installation
# Recommended: Use virtual environment
pip install projectscaffold
git clone https://github.com/maria2021831011/ProjectScaffold.git cd ProjectScaffold pip install -e .
🚀 Usage
Run the CLI:project-scaffold
Project name: DemoApp Backend: flask Frontend: react DB: sqlite
DemoApp/ ├─ backend/ ├─ frontend/ ├─ db/ ├─ models/ ├─ views/ ├─ controllers/ └─ README.md
📁 Supported Backends
- Flask
- Django
- FastAPI
- Node.js
- Express
- Spring Boot
📁 Supported Frontends
- Vanilla JS
- React
- Vue
- Angular
- Svelte
🗄 Supported Databases
- SQLite
- PostgreSQL
- MySQL
- MongoDB
🔧 Development
Install dev dependencies:
pip install -r requirements_dev.txt
flake8 src tests
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file projectscaffold-0.1.0.tar.gz.
File metadata
- Download URL: projectscaffold-0.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa37a7eae6b20a92c3148f77cfd4dca4a914c18eea9869a1225d9eb90b75123f
|
|
| MD5 |
946071c0481b055fef640efd19cdf9f0
|
|
| BLAKE2b-256 |
e7c9f6451564ecbe3f6d37767f41cce0f967589eb4621b5f8ac40663f9f49583
|
File details
Details for the file projectscaffold-0.1.0-py3-none-any.whl.
File metadata
- Download URL: projectscaffold-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a7346d17bc94d58ef29b39239f0f2ef24341824e222a30cccea6e90b8aec849
|
|
| MD5 |
131bda6619b1a724094e70bbf03658d7
|
|
| BLAKE2b-256 |
514e92f881a65639055fee3cad95ca33bd0dcfbf0d995539e95d0ead0fe2dca3
|