Skip to content

cmokVnash/TakeHome-STV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

TakeHome-STV

The Project uses default Django admin as admin portal with Basic and Session auths implemented

#Project Setup: python manage.py makemigrations python manage.py migrate

#Create super user python manage.py createsuperuser

#Run server: python manage.py runserver

###legend: postman fields are denoted using '{}' symbols

api/login: (POST)

## api/logout : (POST)

api/signup : (POST)

optional

api/survey/create (POST)

<name> (This is the title field that will showup)

api/survey-list (GET)

fetches all the surveys

api/survey/{pk} (GET)

fetches particular survey

api/survey/{survey_id}/questions/{question_id} (GET)

pi/survey/{pk}/questions

  retrieves question with pk

api/survey/{survey pk}/question-create (POST)

  creates question of the survey pk

api/survey/questions-create/{pk}/answer (POST)

  creates answer for the question with pk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published