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-auth
Install dependencies:
../backend ➜ pipenv install
../frontend ➜ npm install
Run migrations:
../backend ➜ python manage.py makemigrations
../backend ➜ python manage.py migrate
Start up backend:
../backend ➜ python manage.py runserver
Start up frontend:
../frontend ➜ npm start
We are done.
- Frontend: http://localhost:8080/
- Backend: http://localhost:8000/