Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 653 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 653 Bytes

ReactJs with Django Rest API

A tutorial how to work react and Django Rest Api

Running the Django project

Make sure you have python3 installed in your machine.

First, let's create the python virtual environment to isolate our projects:

python3 -m venv venv

Then, activate it:

source venv/bin/activate

Now install pipfile:

pipenv install

When want to start the app cd the django directory and:

./manage.py runserver

Running the React project

First, cd the students-react directory and run:

npm install

Then, you just need to run the app via:

npm start