Skip to content

5arias/django-react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-react-starter

A sample app that runs a React app inside a Django template.

Installation

After cloning this repo:

# set up backend environment
pip install pipenv
pipenv install
pipenv run ./manage.py migrate

# set up frontend environment
cd frontend
npm install -g yarn
yarn

Run the frontend service (dev only)

yarn start

Run the backend service

pipenv run ./manage.py runserver

Accessing the pages

Several routes are now available:

route is auth required? is 404?
/ no no
/auth yes no
/notprivate no yes
/notprivate/private/ yes yes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published