A cookiecutter for Django with a Vuejs 3 setup
- Django cors, session and csrf settings for a single page app frontend
- Local ssl support
- Session authentication and csrf support
Packages installed:
Optional packages:
cookiecutter https://github.com/synw/cookiecutter-djangovue3.git
Once the project created cd in the directory and install the backend:
make install
Install the frontend
cd frontend
yarn
Create a superuser:
make superuser
Run the backend:
make srun
The backend runs on https://localhost:8000
Run the frontend:
make frontend
The frontend runs on https://localhost:3000