Demo application showing use of Django as backend and Vue/Nuxt.js as frontend.
Reference: https://scotch.io/tutorials/building-a-universal-application-with-nuxtjs-and-django
The Django backend is located in the api/
directory.
The Vue/Nuxt frontend is located in the client/
directory.
Install the packages in requirements.txt
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
cd api
python manage.py migrate
-
Start the Django app
cd api python manage.py runserver
-
Start the Vue app
In a new Terminal:
cd client npm run dev
-
Open the app in a browser:
http://localhost:3000