https://github.com/progressify/django-inertia-svelte-template-starter
Template starter for Django + Inertia.js + Svelte.
https://github.com/progressify/django-inertia-svelte-template-starter
django django-framework django-project-template inertia inertiajs python3 spa starter-template svelte sveltejs sveltekit vitejs
Last synced: about 2 months ago
JSON representation
Template starter for Django + Inertia.js + Svelte.
- Host: GitHub
- URL: https://github.com/progressify/django-inertia-svelte-template-starter
- Owner: progressify
- Created: 2023-01-12T20:05:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-05T14:45:14.000Z (about 2 years ago)
- Last Synced: 2025-04-18T17:19:33.250Z (2 months ago)
- Topics: django, django-framework, django-project-template, inertia, inertiajs, python3, spa, starter-template, svelte, sveltejs, sveltekit, vitejs
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 19
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.it.md
Awesome Lists containing this project
README
# Django + Inertia.js + Svelte = ❤️
[](https://github.com/progressify/django-inertia-svelte-starter/graphs/commit-activity)
[](https://www.paypal.me/progressify)
[](https://tag.satispay.com/progressify)
[](https://github.com/progressify/django-inertia-svelte-starter/issues)[Here you find the english version of this README](README.md)
Il template starter combina tre tecnologie per creare un'applicazione web full-stack solida e fluida.
Django fornisce la struttura per il back-end,
Inertia.js gestisce la navigazione delle pagine in modo nativo,
mentre Svelte si occupa dell'interfaccia utente.Insieme forniscono una solida base per creare qualsiasi tipo di applicazione web.
## Installazione ed utilizzo
- Clona il progetto :)
- crea un virtual environment```shell
python -m venv myvenv
```- attiva il virtual environment
```shell
source myvenv/bin/activate
```- installa le librerie python
```shell
pip install -r requirements.txt
```- applica le migration del db
```shell
python manage.py migrate
```- installa le dipendenze npm
```shell
npm install
```- avvia il server python
```shell
python manage.py runserver
```- apri un altra finestra del terminale e lancia il server vite
```shell
npm run dev
```Ora apri il tuo browser a vai a: `http://localhost:8000/`
**PAY ATTENTION:** Se usi questo template in produzione ricordati di cambiare la `SECRET_KEY` del progetto Django.
## Link utili
- [Template admin html css](https://code-boxx.com/simple-html-css-admin-panel/)
- [Django](https://www.djangoproject.com/)
- [Inertia.js](https://inertiajs.com/)
- [Svelte](https://svelte.dev/)
- [django-configurations](https://django-configurations.readthedocs.io/en/stable/)
- [inertia-django](https://pypi.org/project/inertia-django/)
- [django-vite](https://pypi.org/project/django-vite/)
- [Me](https://progressify.dev/)Enjoy! :)
**AP**