Start your new Django and Next.js Monorepo with shadcn/ui using this cookiecutter π. Powered by Cookiecutter.
- Django and Next.js monorepo
- shadcn/ui
- Django 4.2.4 and Next.js 13.4.1
- Turbo repo
- and more...
- Generate a new Django and Next.js Monorepo project:
cookiecutter https://github.com/dakshesh14/django-next-cookiecutter.git
- Change into the project directory:
cd <project_slug>
- Install the dependencies:
pnpm install
pnpm prepare # for husky hooks
cd backend/{{ cookiecutter.project_slug }}_project && pip install -r requirements/local.txt # I recommend using a virtual environment
- Start the development server:
turbo dev
cd backend/{{ cookiecutter.project_slug }}_project && python manage.py runserver
- Open your browser and visit http://localhost:3000
This project is licensed under the terms of the MIT License.
Here are some useful commands:
turbo ui:add <package>
- Add a package to the UI workspace.turbo lint
- Lint the project.
Contributions are welcome! Please open an issue before making big changes. More information coming soon.
Without the awesome community and tools, this project wouldn't be possible. Here are some of the tools and libraries used:
and many more...
- Add option to choose between /app or /pages router for Next.js
- Add documentation for backend and frontend on how to add more packages
- Add docker support
Made with β€οΈ by Dakshesh Jain