django-vue-google-auth shows how you can implement authentication through Google using django & django rest framework as a backend and vue.js as a frontend.
Clone the repository:
➜ git clone https://github.com/apirobot/django-vue-google-authInstall dependencies:
../backend ➜ pipenv install
../frontend ➜ npm installRun migrations:
../backend ➜ python manage.py makemigrations
../backend ➜ python manage.py migrateStart up backend:
../backend ➜ python manage.py runserverStart up frontend:
../frontend ➜ npm startWe are done.
- Frontend: http://localhost:8080/
- Backend: http://localhost:8000/