Copy repository to your local machine, then use the package manager pip to install dependencies.
pip install requirements.txt
pip install dev-requirements.txt
You may also use pipenv.
pipenv install
Then go to folder WebLearning/index react and install all JavaScript dependencies.
npm i
Build static files:
npm run build
You may see frontend page:
- http://127.0.0.1:8000/api/
- http://127.0.0.1:8000/api/lessons/
- http://127.0.0.1:8000/api/lessons/lesson_id
- http://127.0.0.1:8000/api/courses
- http://127.0.0.1:8000/api/courses/course_id
- http://127.0.0.1:8000/api/courses/course_id/enroll
- http://127.0.0.1:8000/api/users
- http://127.0.0.1:8000/api/users/
- http://127.0.0.1:8000/api/groups
- http://127.0.0.1:8000/api/groups/group_id
- http://127.0.0.1:8000/api/auth/registration
- http://127.0.0.1:8000/api/auth/login
- http://127.0.0.1:8000/api/auth/logout