Django Next Cookiecutter
A Cookiecutter template for rapidly setting up Django and Next.js monorepos, pre-configured with shadcn/ui and Turbo for efficient development.
Django & Next.js Monorepo Starter with shadcn/ui & Turbo
Kickstart your full-stack application development using this Cookiecutter template, specifically crafted for scaffolding a Django and Next.js monorepo. It arrives pre-packaged with shadcn/ui, enabling the creation of sleek frontend components, and leverages Turbo for streamlined monorepo operations. This starter kit simplifies initial project configuration, incorporating Django 4.2.4 and Next.js 13.4.1, empowering developers to swiftly launch projects with a solid backend and a contemporary frontend, promoting an efficient development cycle from inception.
Features:
- Monorepo Structure: Provides a pre-configured Django backend and Next.js frontend within a single repository.
- shadcn/ui Integration: Includes the shadcn/ui component library for building modern user interfaces in Next.js.
- Framework Versions: Built with Django 4.2.4 and Next.js 13.4.1 for up-to-date development.
- Turbo Monorepo Tooling: Utilizes Turbo for optimized build systems and development tasks across the monorepo.
- Cookiecutter Template: Enables easy project generation and customization via Cookiecutter prompts.
- Husky Hooks: Pre-configured with husky hooks for maintaining code quality (setup via
pnpm prepare
). - Next.js Router Flexibility: Offers a choice between the /app or /pages directory for Next.js routing.
- MIT License: Open-source under the MIT license, allowing for broad use and modification.
- Simplified Setup: Clear instructions for dependency installation and starting development servers.
- Linting Support: Includes a
turbo lint
command for checking code style and quality. - UI Package Management: Provides
turbo ui:add <package>
command for easily adding packages to the UI workspace.
Summary:
This Cookiecutter template delivers an optimized pathway for initiating full-stack projects that pair Django with Next.js. By integrating shadcn/ui for UI development and Turbo for monorepo management, it furnishes developers with a modern, effective, and neatly organized foundation. The goal is to minimize boilerplate, uphold best practices through linting and git hooks, and fast-track the progression from project setup to active coding on feature-rich web applications.

Similar to Django Next Cookiecutter:


