This is an example fullstack project of Django REST framework API using JWT Authentication with Google sign in.
API
- Python 3
- Django 5
- Django REST Framework
- dj-rest-auth
Frontend
- React
- react-router-dom
- yarn
- Typescript
Django API
Create a new Python virtual environment
python -m venv .venv
Activate the virtual environment
source .venv/bin/activate
Install required packages
python -m pip install -r requirements.txt
Run Django server
python manage.py runserver
Frontend application
- Make sure you have Node installed
- Install modules
yarn install
- Create
.env.local
file and provide Google Client ID - Run
yarn dev