Django-Rest-Framework Auth-Token Based Web Application
๐ How to run the application
โก clone the application
https://github.com/prashantsagar73/Habbit-task.git
Install dependencies and create env
$ pip install -r requirements.txt
๐ run the application
python manage.py runserver
#This webapp contain three apps as fallow:-
1 Courses
In course we have a model which have basic data about the courses. you get accessible via a rest API (CRUD) oprations. fields that are included in the model are -
- Name of the course
- Name of the author
- Date of the course
- Price of the course
- Category
Application preview
Product list
course model
Delete post
Edit post
2 courses-api
it contain all the API keys of courses.
3 users
which contain all the API keys of the course and users. it contain following features -
- Register
- Login
- Forgot Password
- Forgot Email
api token
Register user
๐ฎ Login page
forget password
๐ DRF Auth-token access denied
========
Home urls
courses urls
Users urls
For testing authentication
id - sagar@gmail.com pass - sagar
๐ Technology stack
- Django-rest-framework
- Django
- Bootstrap