Skip to content
forked from justdjango/DjReact

A simple introduction to integrating Django and React.

Notifications You must be signed in to change notification settings

gazi786/DjReact

 
 

Repository files navigation

Django + React Introduction

alt text

This project is broken up into a backend and frontend. The backend contains the Django project which uses the Django Rest Framework to host a simple API. The frontend uses React and queries data from the API.

Run the following commands to get started:

virtualenv env
pip install -r requirements.txt
npm i
npm run build
python manage.py runserver

To navigate back to the starting code of video 2:

git init
git clone https://github.com/justdjango/DjReact.git
cd DjReact
git reset --hard 815eb83e0894d9bc5ebef66501721dc5063cf6a0

For video 3:

git reset --hard 3030f494a799e5b7996342e5176f7c604dcf868b

Remove the git repo with this command on mac/linux:

rm -rf .git

and this on windows:

rmdir .git

About

A simple introduction to integrating Django and React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.2%
  • Python 22.2%
  • HTML 4.6%