Skip to content

This project developed api enpoints which includes user authentication, profile management and user post crud. Its main features includes model relationships, authentication using jwt and object level permission. It can be tested using postman.

Notifications You must be signed in to change notification settings

AimenYaseen/django-rest-framwork-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django Rest Framework Test

Test task requirements include:

  1. Create Django Project and django app 'users'
  2. Modify dango authentication schema from username based to email based.
  3. Add User Profile.
  4. Add Django Rest framework.
  5. Using Django Rest framework Create API endpoint for following operations:
  • get list of users with public data edit profile and user data of current authorised user
  • Important! Please, implement both operations in one endpoint.
  • Hint (use Viewsets)
  1. Add a model with any data (posts, records or anything else) add DRF endpoint to that model, so that:
  • user shall be able to view whole list of data items
  • user shall be able to create new data item and edit only his own items
  • anonymous user shall have some restriction on the data that he is able to view
  1. Register all models in django admin

Important : Please, upload your code to git repository hosting service (GitHub, GitLab, BitBucket). Put each item of the task under separate commit.

About

This project developed api enpoints which includes user authentication, profile management and user post crud. Its main features includes model relationships, authentication using jwt and object level permission. It can be tested using postman.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages