Skip to content

Start your new Django and Next.js Turbo Monorepo with shadcn/ui using this cookiecutter πŸš€.

License

Notifications You must be signed in to change notification settings

dakshesh14/django-next-cookiecutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Django and Next.js Monorepo with shadcn/ui monorepo

Start your new Django and Next.js Monorepo with shadcn/ui using this cookiecutter πŸš€. Powered by Cookiecutter.

Features

  • Django and Next.js monorepo
  • shadcn/ui
  • Django 4.2.4 and Next.js 13.4.1
  • Turbo repo
  • and more...

Requirements

Setup

  1. Generate a new Django and Next.js Monorepo project:
cookiecutter https://github.com/dakshesh14/django-next-cookiecutter.git
  1. Change into the project directory:
cd <project_slug>
  1. 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
  1. Start the development server:
turbo dev
cd backend/{{ cookiecutter.project_slug }}_project && python manage.py runserver
  1. Open your browser and visit http://localhost:3000

License

This project is licensed under the terms of the MIT License.

Commands

Here are some useful commands:

  • turbo ui:add <package> - Add a package to the UI workspace.
  • turbo lint - Lint the project.

Contributing

Contributions are welcome! Please open an issue before making big changes. More information coming soon.

Acknowledgements

Without the awesome community and tools, this project wouldn't be possible. Here are some of the tools and libraries used:

and many more...

Future Plans

  • 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

Author

Made with ❀️ by Dakshesh Jain

About

Start your new Django and Next.js Turbo Monorepo with shadcn/ui using this cookiecutter πŸš€.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published