/django-react-boilerplate

A Django and React user authentication project boilerplate.

Primary LanguageJavaScript

Django React Boilerplate

alt text

This repository contains a boilerplate project setup for Django and React. The project contains backend user authentication with the Django Rest Framework and rest-auth. The frontend has react redux setup for user authentication by storing the token in localstorage.

Watch the tutorial on how to integrate Django and React

Backend development workflow

virtualenv env
source env/bin/activate
pip install -r requirements.txt
python manage.py runserver

Frontend development workflow

npm i
npm start

For deploying

npm run build