Largely based on this tutorial
Commands presume you're at the root of the repo.
- python
- pip
- node
- npm
- MySQL
python -m venv .venv
Backend packages:
pip install django djangorestframework django-cors-headers
Frontend packages:
Note: try to use react-bootstrap [email protected] instead of reactstrap in the real project
cd students-fe
npm install bootstrap reactstrap axios --save
MySql
CREATE DATABASE testdb
Start backend:
cd ..
python manage.py runserver
Start frontend:
cd students-fe
npm start