A tutorial how to work react and Django Rest Api
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
First, cd
the students-react directory and run:
npm install
Then, you just need to run the app via:
npm start