Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.37 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.37 KB

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