Skip to content

pratiksinghchauhan/django_react_socialauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django + React Social Authentication

This repository is intended to be the part of Social login with React and Django — I and Social login with React and Django — II medium articles

alt text

Running the Code

Clone the repository

git clone https://github.com/pratiksinghchauhan/django_react_socialauth

Backend

drf_social is the django backend which depends on the django rest framework and few other projects, it has only be tested on python 3.7.3, to run the project

cd drf_social
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver

This should start the django development server at localhost:8000

Frontend

react_auth is the frontend which depends upon React JS, to run the code,replace your Facebook AppId and Google ClientId in app.js file then go to a new terminal window and

cd react_auth	
npm install 
npm start

This should start a development server on localhost:3000

Issues

If you face any problem, please open an issue here

About

Handle social login with react and Django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published