Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoints for handling contests created by the admin #9

Open
shivamsaraf opened this issue Aug 6, 2019 · 5 comments
Open

Endpoints for handling contests created by the admin #9

shivamsaraf opened this issue Aug 6, 2019 · 5 comments
Assignees
Labels

Comments

@shivamsaraf
Copy link
Member

shivamsaraf commented Aug 6, 2019

Backend for saving and providing the details of new and past contests by the admin.
GET,POST,PUT,DELETE routes will be used in all specific pages
/mycontest->for all the contests created by the admin
/mycontest/new->to create a new contest
/mycontest/{contestid}->to render the specific contest
/mycontest/{contestid}/basicinfo->for the basic info of that contest
/mycontest/{contestid}/adminrights->for the admin rights of that contest
/mycontest/{contestid}/questions->for all the questions of that contest
/mycontest/{contestid}/questions/{questionid}->for a particular question of that contest

DB schema will contain all fields for every specific page along with respective unique id i.e. every contest will also have user id,a unique contest id,the basic info of that contest will be having already mentioned unique ids of user and contest and will also have a basic info id and so for the others
Rest issues will be updated further.

@nveenjain
Copy link
Member

Please describe the issue in detail, and add relevant wireframes in the description itself.

@shivamsaraf
Copy link
Member Author

Basically all the data related to admin side for a contest will be saved in mysql database.
Create a contest box
Manage-contest-admin
Manage-questions-edit
Manage-contest-basic info
Manage-contest-question

@nveenjain
Copy link
Member

Change the description of the issue, and list out all the api endpoints you are planning to create, what the DB schema will look like.

@shivamsaraf
Copy link
Member Author

Backend for saving and providing the details of new and past contests by the admin.
GET,POST,PUT,DELETE routes will be used in all specific pages
/mycontest->for all the contests created by the admin
/mycontest/new->to create a new contest
/mycontest/{contestid}->to render the specific contest
/mycontest/{contestid}/basicinfo->for the basic info of that contest
/mycontest/{contestid}/adminrights->for the admin rights of that contest
/mycontest/{contestid}/questions->for all the questions of that contest
/mycontest/{contestid}/questions/{questionid}->for a particular question of that contest

DB schema will contain all fields for every specific page along with respective unique id i.e. every contest will also have user id,a unique contest id,the basic info of that contest will be having already mentioned unique ids of user and contest and will also have a basicinfo id and so for the others
Rest issues will be updated furthur.

@nveenjain
Copy link
Member

Please edit the description and add the above content there only.

@shivamsaraf shivamsaraf changed the title Endpoints for handling new contest data Endpoints for handling contests created by the admin Aug 6, 2019
shivamsaraf added a commit to shivamsaraf/online-judge that referenced this issue Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants