https://github.com/sarthakjariwala/django-vite-inertia
Template for Django + Vite + Inertia. Frontend options: Vue, React, Svelte
https://github.com/sarthakjariwala/django-vite-inertia
copier-template django django-template inertiajs react svelte vitejs vue3
Last synced: 6 months ago
JSON representation
Template for Django + Vite + Inertia. Frontend options: Vue, React, Svelte
- Host: GitHub
- URL: https://github.com/sarthakjariwala/django-vite-inertia
- Owner: SarthakJariwala
- License: mit
- Created: 2024-12-28T01:55:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-01T01:11:32.000Z (7 months ago)
- Last Synced: 2025-03-24T08:21:41.165Z (7 months ago)
- Topics: copier-template, django, django-template, inertiajs, react, svelte, vitejs, vue3
- Language: Jinja
- Homepage:
- Size: 3.5 MB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django with Vite and Inertia
[](https://github.com/copier-org/copier)
Set up your Django project with [Vite](https://vite.dev/) and [Inertia](https://inertiajs.com/).
Other configurations:
- Database (PostgreSQL, SQLite)
- Frontend:
- Vue
- React
- Svelte
- Tailwind CSS (optional)
- Docker (optional)
- Development
- Production
> [!NOTE]
> SQLite is configured for production use if you choose to use it.## Getting started
- (Recommended) Using [uv](https://docs.astral.sh/uv/) or [pipx](https://pipx.pypa.io/stable/)
```bash
mkdir myproject
uvx copier copy gh:sarthakjariwala/django-vite-inertia myproject
```OR
```bash
mkdir myproject
pipx run copier copy gh:sarthakjariwala/django-vite-inertia myproject
```- Alternatively, you may have installed [copier](https://copier.readthedocs.io/en/stable/) through other means.
```bash
mkdir awesome-project
copier copy gh:sarthakjariwala/django-vite-inertia awesome-project
```## Update project template
You can also get the latest changes in your project as this template evolves in the future.
```bash
cd awesome-project
uvx copier update
```Or
```bash
cd awesome-project
copier update
```## License
MIT License
## Acknowledgements
Standing on the shoulders of giants:
- [Django](https://www.djangoproject.com/)
- [Vite](https://vitejs.dev/)
- [Inertia](https://inertiajs.com/)
- [Django Vite](https://github.com/MrBin99/django-vite)
- [Django Inertia](https://github.com/inertiajs/inertia-django)