Skip to main content

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 pytest and flake8

🛠 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

projectscaffold-0.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

projectscaffold-0.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

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

Hashes for projectscaffold-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa37a7eae6b20a92c3148f77cfd4dca4a914c18eea9869a1225d9eb90b75123f
MD5 946071c0481b055fef640efd19cdf9f0
BLAKE2b-256 e7c9f6451564ecbe3f6d37767f41cce0f967589eb4621b5f8ac40663f9f49583

See more details on using hashes here.

File details

Details for the file projectscaffold-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for projectscaffold-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a7346d17bc94d58ef29b39239f0f2ef24341824e222a30cccea6e90b8aec849
MD5 131bda6619b1a724094e70bbf03658d7
BLAKE2b-256 514e92f881a65639055fee3cad95ca33bd0dcfbf0d995539e95d0ead0fe2dca3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page