Skip to content

MarcusVH98/django_react_prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

django_react_prototype

Largely based on this tutorial

page-screenshot

Setup

Commands presume you're at the root of the repo.

Prerequisites:

  • python
  • pip
  • node
  • npm
  • MySQL

Setup virtual environment:

python -m venv .venv

Install necessary packages:

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

Creating a local database:

MySql
CREATE DATABASE testdb

How to run

Start backend:
cd ..
python manage.py runserver

Start frontend:
cd students-fe
npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published