django-svelte Svelte Themes

Django Svelte

Django + Inertia.js + Svelte = ❤️

This starter template combines three technologies to create a solid and smooth full-stack web application.

Django provides the structure for the back-end, Inertia.js handles page navigation in a native way, while Svelte takes care of the user interface.

Together they provide a solid foundation to build any kind of web application.

Installation and usage

  • Clone the project :)
  • create python virtual environment
python -m venv myvenv
  • activate virtual environment
source myvenv/bin/activate
  • install python requirements
pip install -r requirements.txt
  • apply the migrations
python manage.py migrate
  • install npm dependencies
npm install
  • run the python server
python manage.py runserver
  • open another terminal window and run the vite server
npm run dev

Now open your browser and go to: http://localhost:8000/

PAY ATTENTION: If you use this template in production remember to change the SECRET_KEY of the Django project.

Enjoy! :)

AP

Top categories

Loading Svelte Themes