Skip to content

anurag2050doit/django_restframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • This is demonstration of django restframework
  • This is support login
  • Serializing of One-to-Many and Many-to-Many relationship models
  • Providing JWT Authentication for accessing internal API

Installation

  • Create a virtualenv virtualenv env
  • Activate virtualenv source env/bin/activate
  • Install requirements pip install -r requirements.txt

Run Project

  • python manage.py runserver

End-Points

  • URI: /api/v1/login/Guide: This will Create Token for further Requests
  • URI: /api/v1/groups/Guide: Return all the groups that below to the user
  • URI: /api/v1/group/IDGuide: Return all the photos belonging to the group
  • URI: /api/v1/photos/IDGuide: Return details of the Photo

About

Simple demonstration of django rest framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published