Skip to content

prashantsagar73/Habbit-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

home

Product list

product list

course model

model

Delete post

delete post

Edit 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

api token

Register user

register

👮 Login page

login

forget password

passwrod_reset

🔐 DRF Auth-token access denied

jwt auth not allowed

========

Home urls

main ur;s

courses urls

courses urls

Users urls

ursers-ur;s

For testing authentication

id - sagar@gmail.com pass - sagar

🏁 Technology stack

  • Django-rest-framework
  • Django
  • Bootstrap

website link

https://webapphabbit.herokuapp.com/