Requirements:
- Python >= 3.3
- Node >= 6.0
Building:
- In the root of the repo, run
pip install -r requirements.txt
- Navigate to
./frontend
and runnpm install
- In
./frontend
runnpm run start
. This starts the webpack dev server - In root, run
python manage.py runserver
- Navigate to
localhost:8000
in browser
- The React application resides in
./frontend/src
- index.js is the root of the application
- App.js is the parent container
- Container Components are in
./frontend/src/containers
- Presentation Components are in
./frontend/src/components
- Redux:
- Actions and action creators reside in
./frontend/src/actions
- Reducers reside in
./frontend/src/reducers
- Actions and action creators reside in
- SCSS files are used for styling (if internal React styles are not being used). They reside in
./frontend/src/styles/
, and can be imported within components
- The Django api resides in
./studentapp