Skip to main content

Django Breeze provides a minimal and simple starting point for building a Django application with Inertia.js Styled with Tailwind CSS.

Project description

DJANGO BREEZE

Introduction


Django Breeze provides a minimal and simple starting point for building a Django application with Vite and . Styled with Tailwind, Breeze publishes authentication controllers and views to your application that can be easily customized based on your own application's needs.

Django Breeze is powered by Vite and Tailwind.

Installation

Install the following python package via pip

pip install django-breeze

Add the django_breeze app to your INSTALLED_APPS in settings.py

INSTALLED_APPS = [
  # installed apps,
  'django_breeze',
  #........
]

Add the Inertia middleware to your MIDDLEWARE in settings.py

MIDDLEWARE = [
  # django middleware,
  'django_breeze.middleware.InertiaMiddleware',
  # your project's middleware,
]

Generate Project Files

React

python3 -m django_breeze react

Vue 3

python3 -m django_breeze vue

Install node packages

To install node packages for the frontend

npm install

OR use yarn

yarn

Start Servers

Run the following to start your development servers

python manage.py runserver
npm run dev

Now you're all set!

Official Inertia Documentation

Documentation for Inertia can be found on the Intertia website.

License

Laravel Breeze is open-sourced software licensed under the MIT license.

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

django_breeze-0.1.1.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

django_breeze-0.1.1-py3-none-any.whl (21.7 kB view hashes)

Uploaded Python 3

Supported by

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