Skip to content

A Vue 3 and Django 4 project using DRF, Flowbite, and frontend token handling

Notifications You must be signed in to change notification settings

matt0x6F/vue-3-django-4-boilerplate

Repository files navigation

Vue 3 + Django 4 boilerplate

This is my boilerplate for Vue 3 + Django 4 projects. It's a work in progress, but it's already usable.

Features

  • Frontend authentication code
  • Typescript or Javascript
  • Backend authentication with tokens
  • Flowbite & Tailwind
  • Vue Router with web history mode
  • Uses Vite

Developing

Prerequisites:

  • Python v3.10
  • PyEnv
  • Pipenv
  • NodeJS v18.16
  • Docker and Docker Compose

Setup

  1. pipenv install
  2. cd frontend && npm install
  3. make tailwind
  4. docker compose up --build

The default dev environment comes with hot code reloading for both the frontend and backend.

Credit

Hard-forked from gpabloandres/django-rest-api-vue.

About

A Vue 3 and Django 4 project using DRF, Flowbite, and frontend token handling

Resources

Stars

Watchers

Forks

Releases

No releases published