Skip to content

About

πŸš€ An interactive, modern CLI scaffolder for containerized Django projects. Enforces clean Service Layer Architecture with support for Django Ninja, DRF, and Docker.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

28 Commits

Folders and files

Repository files navigation

πŸš€ dj-scaffold

CI Pipeline PyPI version Python versions

dj-scaffold is your ultimate CLI companion for rapidly scaffolding modern, production-ready Django applications. Inspired by tools like create-next-app, it gives you an interactive, zero-headache setup experience so you can start coding your business logic instantly.

✨ Why dj-scaffold?

  • ⚑ Interactive Setup: Answer a few prompts and your project is ready.
  • 🐳 Docker-Ready: Instantly containerized with zero setup required.
  • πŸ›‘οΈ Secure & Configured: CORS, CSP, and JWT auth out of the box.
  • πŸ—οΈ Modern Architecture: Enforces a scalable Service Layer pattern for your apps.

πŸ“¦ Quick Start

Install the CLI globally or in your virtual environment:

pip install dj-scaffold-imhotep

The Standard Workflow

  1. Create your project:

    dj-scaffold create

    (Answer the prompts to choose your database and API framework).

  2. Start the server:

    cd <your-project-name>
    docker compose up -d --build

    (This automatically runs migrations and creates a superuser!)

  3. Add a new app:

    dj-scaffold startapp

    (This wires a new app into your project using the Service Layer architecture).

πŸ“š Documentation

Dive deep into what dj-scaffold does under the hood. Check out our detailed documentation guides:

πŸ› οΈ Local Development & Testing

To set up the CLI tool for local development:

  1. Clone the repository:

    git clone https://github.com/Imhotep-Tech/dj-scaffold.git
    cd dj-scaffold
  2. Install in editable mode with development dependencies:

    pip install -e .[dev]
  3. Run the test suite:

    pytest -v

If you want to contribute to the project, please see our CONTRIBUTING.md file.

About

πŸš€ An interactive, modern CLI scaffolder for containerized Django projects. Enforces clean Service Layer Architecture with support for Django Ninja, DRF, and Docker.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages