DPhi-Api
Installation
- clone the project using
git clone
- create virtualenv using
virtualenv venv
- Install the required repositries using requirements.txt
- use
python manage.py migrate
to make the required models
- use
python manag.py runserver
to run the Api
Api Routes
- Student
- /student/login/: login Student
- /student/signup/: SignUp Student
- /student/show: Show all Courses
- /student/enroll: Enroll Students
- /student/info: Show Info of all Courses
- Educator
- /educator/signup: Signup Educator
- /educator/login: Login Educator
- /educator/show: Show Educator
Admin
- To sell all the models and data use /admin edndpoint
- use
python manage.py createsuperuser
to create login credentials for accessing admin endpoint
Live Link
https://diphy.herokuapp.com/