An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

logo

# Django + Inertia.js + Svelte = ❤️

[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/progressify/django-inertia-svelte-starter/graphs/commit-activity)
[![Dona con Paypal](https://img.shields.io/badge/PayPal-Donate%20to%20Author-blue.svg)](https://www.paypal.me/progressify)
[![Dona con Satispay](https://img.shields.io/badge/Satispay-Donate%20to%20Author-red.svg)](https://tag.satispay.com/progressify)
[![Ask Me Anything !](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](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**