Skip to content

A simple web app example that utilizes Django framework as a backend and React/Redux (from react-boilerplate) as a front end.

Notifications You must be signed in to change notification settings

createdbyfahad/django-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django & React ❤️

An example of an app (Simple Notes) built using Django as a backend, and fully seperate React app as a front end. It uses jwt-token in user authorization.

Screenshots

How to run

After cloning the repo, do the following to setup the app:
1- from the backend folder, execute those lines:

source env/bin/activate
pip install -r requirements.txt
python manage.py createsuperuser
python manage.py runserver

2- the django server should now be up and running.
3- from the frontend folder, execute those lines:

npm install
npm start

4- now go to the url located after Access URLs:
5- and you should see the website in the browser

About the project

In this project, I try to provide a simple boilerplate for anyone who wants to use Django as a backend, and offer jwt-auth based API.
Also, I implemented a simple notes app example using React (react-boilerplate). In case you have any questions about the code, please feel free to ask.

About

A simple web app example that utilizes Django framework as a backend and React/Redux (from react-boilerplate) as a front end.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published