django-svelte-flowbite

Django Svelte Flowbite

A starter repository for applications built on Django REST Framework (DRF), Svelte, Django REST JWTs, and Flowbite

django-svelte-flowbite

Features

  • Django Rest Framework based JWT auth
  • Custom Django users
  • Svelte-Kit frontend
  • Custom Svelte-Django auth library
  • Flowbite UI Kit
  • Docker Compose with nginx

Usage

make local will start docker compose and mount the appropriate directories. Sometimes it's necessary to clean out the frontend directory, make clean is available for that.

It's necessary to create frontend/.env.development and frontend/.env.production. The files should contain the following:

VITE_BASE_API_URI_DEV="http://localhost:81/api"

The above contents work for development however the value should be changed for production.

Credit

Originally forked from django_svelte_jwt_auth.

Top categories

Loading Svelte Themes