Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ustun/django-react-integration
A sample project that shows django-react integration
https://github.com/ustun/django-react-integration
Last synced: 3 months ago
JSON representation
A sample project that shows django-react integration
- Host: GitHub
- URL: https://github.com/ustun/django-react-integration
- Owner: ustun
- Created: 2015-01-24T10:24:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-01T13:40:24.000Z (about 7 years ago)
- Last Synced: 2024-04-04T11:33:47.495Z (7 months ago)
- Language: Python
- Size: 176 KB
- Stars: 102
- Watchers: 12
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- starred-awesome - django-react-integration - A sample project that shows django-react integration (Python)
README
# django-react-integration
A sample project that shows integration between Django and ReactThe 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).