Skip to content

riyadzaigirdar/Question_Survey_Rest_Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Question_Survey_Rest_Api

Tasks:

Develop an API with the following requirements using Django Rest Framework: (recent version is preferable)

a. Prepare a questionnaire/survey. The question should have name only and allow free text answer (limited to answer yes and no). Here is the is a sample question - Are you using Django Rest Framework? and sample answer: Yes or No

b. There will be two user roles, Admin and User

c. Admin can create/update/view question

d. User is able to response to question and view his/her own response only

e. Admin can view all responses

f. Use Token authentication

Requierements:

The endpoints should be:

  1. Create questions (/api/v1/question/ POST)
  2. Update questions (/api/v1/question/:id/ PUT)
  3. View list of questions (/api/v1/question/ GET)
  4. Answer to question (/api/v1/qanswer/ POST)
  5. View answer (/api/v1/qanswer/ GET)

Use following Technology Stack:

  1. DRF latest version is must
  2. Django ORM is must
  3. Postgres is a plus
  4. Docker is a plus

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages