Sample Dashboard

Getting started with React & Django. I am following Django REST with React

Prerequirement

Initialization

Create virtual environment and install requirements

$ python3.6 -m venv env
$ source env/bin/activate
(env) $
(env) $ pip install -r requorements.txt

Install npm dependencies

(env) $ npm install 
(env) $ npm install dev

Compile React(ES6) code to JavaScript using Webpack and Babel

(env) $ npm run dev         # For development
(env) $ npm run build       # For production
(env) $ python manage.py migrate
(env) $ python manage.py runserver

App will start in brower in http://127.0.0.1:8000