Django and React polls app with Social authentication.
Setup
.env
DEBUG=
SECRET_KEY=
GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
Install dependency
pip install -r requirements.txt
Migrate database and create superuser
python manage.py migrate
python manage.py createsuperuser
Run the server
python manage.py runserver
You will get all the api endpoints by hitting this url : http://127.0.0.1:8000/api-docs/
Setup
.env.local
NEXT_PUBLIC_APP_API_URL=http://127.0.0.1:8000/
NEXT_PUBLIC_GOOGLE_CLIENT_ID=
Install dependency
npm i
# or
yarn
Run the server
npm run dev
# or
yarn run dev