React frontend with django backend and the magic of webpack.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/static
helloworld
node_modules
react_django
.babelrc
.circle.yml
.gitignore
manage.py
package.json
readme.md
requirements.txt
server.js
webpack-stats.json
webpack.config.js
webpack.prod-stats.json
webpack.prod.config.js

readme.md

ReactJS with Django backend

CircleCI

This is a sample project that demonstrate how ReactJS could be use as a frontend on Django with the help of webpack.

A complete guide could be found here:

We would be able to achieve this:

Checkout the correct branch to start:

$ git clone -b start git@github.com:Zaccc123/react-django.git   #start of part1
$ git clone -b part2 git@github.com:Zaccc123/react-django.git   #start of part2
$ git clone -b part3 git@github.com:Zaccc123/react-django.git   #start of part3

To run the complete project, just checkout the master branch and do this:

$ git clone git@github.com:Zaccc123/react-django.git
$ npm run watch
$ python manage.py rumserver #on another session

Live Production Example

I have also use the exact same setup to create a iOS App Landing page.