paint-brush
Creating websites using React and Django REST Frameworkby@mark.winter
98,002 reads
98,002 reads

Creating websites using React and Django REST Framework

by Mark Winter6mJuly 25th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Lately at work our go to architecture for creating websites is to use a React frontend with a <a href="https://hackernoon.com/tagged/django" target="_blank">Django</a> REST Framework (DRF) backend. The two are connected by API calls using axios in the frontend. Some <a href="https://hackernoon.com/tagged/redux" target="_blank">Redux</a> is used as well for storing global app state. This is our preferred method as it allows the frontend and backend to be completely decoupled. And as long as we define a list of endpoints and returned data to work with, the frontend and backend can be developed in parallel. This also allows us the option to easily create mobile apps for any of the projects in the future as they can just consume the backend API. On a side note, we’re currently looking at using React Native for future mobile app projects.

Company Mentioned

Mention Thumbnail
featured image - Creating websites using React and Django REST Framework
Mark Winter HackerNoon profile picture
Mark Winter

Mark Winter

@mark.winter

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite