Skip to content

ustun/django-react-integration

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

django-react-integration

A sample project that shows integration between Django and React

The same content is rendered server-side and client-side for SEO purposes.

Important node: this is only if you want to have a server-side rendered page that reuses the react code. If you are just beginning with react or if your requirements do not need the SEO boost or slight performance boost (known as time to first tweet problem, see https://blog.twitter.com/2012/improving-performance-on-twittercom ) , there is no need for this integration.

  • Uses webpack for bundling all clientside code to a single
  • See Makefile inside the static folder in myapp
  • Run make server inside myapp/static folder to run the node.js server.
  • Run make build inside myapp/static folder to run the react build tools (client and server side).

About

A sample project that shows django-react integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published