Giter VIP home page Giter VIP logo

se2-herokusiffredi's People

Contributors

fava75 avatar mattiasangermano avatar miriampunzi avatar miriampunzi97 avatar tommasobonomo avatar zanna-37 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

se2-herokusiffredi's Issues

sub is not explicative

a would put submissionId instead of subId to be more clear
Should also be change in the "REST endpoints.md"

tasks assignment

As a professor I want to assign a list of tasks to a set of users or groups so that they can solve it.

How to demo:
Send a POST request to /exams/{id}/participants with these values:

  • the ids of the participants
  • the id of the exam
  • the ids of the tasks

Effort: 3

modify task-category

As a professor I want to modify the name of a task category

How to demo:
return a result for a success or an error

Effort: 0.5

update a list of exams

As a professor, I want to update all my exams in a course.

How to demo:
Send a PUT request to /exams with a list of exam objects.
An exam object contains these fields:

  • id
  • examTemplateId
  • ownersIds[ ]
  • (avg mark)
  • defaultDeadline
    • start
    • end

You will get a response with code 204.

Effort: 2

task-categories deletion

As a professor I want to delete a category

How to demo:
Delete a list of task-category ids and return a error whether they was successfully deleted or not

Effort: 1

create an exam template

As a professor, I want to decide which type of tasks will appear in the exam and also their quantities

How to demo:
send a POST request to /exam-templates with these values:

  • name of the template
  • the category Ids
  • quantities

Effort: 1

retrieve all users

As a professor, I want to be able to get the list of all users.

How to demo:
send a GET request to /users. You will get a json object with these attributes:

  • id
  • studentNumber
  • name
  • surname
  • average

Effort: 1

read a specific exam template

As a professor, I want to be able to read a specific exam template, so that I can read it

How to demo:
send a GET request to /exam-templates/{id}
The response should be a json with these attribute:

  • id
  • name
  • categoryId[ ]
  • quantity[ ]

Effort: 1

update a single exam template

As a student, I want to change a specific template, so i can use it

How to do:
Send a PUT request to /exam-templates/{id} with these attribute:

  • id
  • name
  • categoryIds[ ]
  • quantity[ ]

You will get a response with code 204

Effort: 2

submission edit

As a participant, I want to be able to submit again my answer, so that the teacher has the latest version

How to demo:
After sending all the fields needed ( #59 ) an error code is returned depending on the result of the transaction

Effort: 2

retrieve assigned-task

As a user I want to retrieve a specific task that has been assigned in a way that when the main task is modified this will remember the previous state of when it was assigned.
This assigned task must not be modified in any ways and serves for legal proof

HOW TO DEMO:
The result should be a json containing the same fields as a task

Effort: 0.5

Deadline for tasks

As a professor, I want to define an exam with a specific template and a deadline.

How to demo:
Post on /exam

Effort: 3

delete a single task

As a professor, I want to be able to delete a task

How to demo:
send a DELETE request to /tasks/{id}

The response should be a success message

Effort: 1

retrieve an exam

As a professor, I want to be able to get all existent exams.

How to demo:
Send a GET requesto to /exams. You will get a json object with these attributes inside:

  • id
  • examTemplateId
  • ownersIds[ ]
  • (avg mark)
  • defaultDeadline
    • start
    • end

**Effort: ** 1

delete a list of tasks

As a professor, I want to be able to delete a list of tasks

How to demo:
send a DELETE request to /tasks with a list of tasks id

The response should be a success message

Effort: 1

task-category deletion

as a professor I want to delete a previously created task-category

How to demo:
return a code for success or error

Effort: 0.5

retrieve all the submission

As a user I want to review my submission for the task, filtered for exam, user and/or task

How to demo:
return a list of submissions #59

Effort: 0.5

delete a list of courses

As a professor, I should be able to delete a list of courses at the same time.

How to demo:
send a DELETE request to /courses with the list of course objects you wish to delete.
The response should be a success message.

Effort: 0.5

retrieve a specific submission

As a user I want to review a previously submitted answer

How to demo:
After a specific submissionId is requested, a json object containing the following is returned:

  • examId
  • submissionId
  • userId
  • assignedTaskId
  • userAnswer
  • finalCorrectionId

Effort: 2

delete a specific exam template

As a professor, I want to delete a specific exam template

How to do:
Send a DELETE request to /exam-template/{id}

You will get a response with code 204.

Effort: 2

create a course

As a professor, I want to be able to create a course, so that students can enroll.

How to demo:
Send a POST request to /courses with these attributes:

  • name
  • academic year

Effort: 0.5

task-category retrieval

As a user i want to retrieve a task category to get its name

How to demo:
after have specified an id return a json with

  • id
  • name

Effort: 0.5

final task correction

As a professor, I want to give a final evaluation of a specific task

How to demo:
send a PATCH request to /exams/{id}/task-submissions with this values:

  • subId
  • finalCorrectionId

Effort: 1

retrieve a specific user

As a student, I want to retrieve the user that represent myself in the system.

How to demo:
Send a GET request to /user/{id}, where {id} is your identifier.
You will get a response with these attributes in the body:

  • id
  • studentNumber
  • name
  • surname
  • average

Effort: 1

retrieve a specific course

As a professor, I want to be able to get information on a specific course.

How to demo:
send a GET request to /courses/{id}
The response should be a json with these attributes:

  • id
  • name
  • academic year

Effort: 0.5

update a list of exam template

As a professor, I want to be able to change a list of exams template, so that I can use it

How to demo:
send a PUT request to /exam-templates with a list of exam template containing these attribute:

  • id
  • name
  • categoryId[ ]
  • quantity[ ]

The response should be a success message
Effort: 1

update a specific user

As a student, I want to modify my specific information (like name, surname, email, ...).

How to do:
Send a PUT request to /users/{id}, where {id} is your id, and specify all the fields (also the not changed ones):

  • studentNumber
  • name
  • surname

You will get a response with code 204.

Effort: 2

update a list of users

As a professor, I want to update multiple users at the same time.

How to demo:
Send a PUT request to /users with a list of user objects.
A user object contains these fields:

  • id
  • studentNumber
  • name
  • surname

You will get a response with code 204.

Effort: 2

delete a list of exams template

As a professor, I want to be able to delete an exam template

How to demo:
send a DELETE request to /exam-templates specifing the list of exam template to delete

The response should be a success message
Effort: 2

Retrieve all tasks

As a professor, I want to be able to get all tasks, so that I can read it

How to demo:
send a Get request to /tasks:

The response should be a json with a list of tasks containing these attributes:

  • id
  • exerciseText
  • answers[ ]
    • answer
    • isRight
  • spiegazione
  • categoryId
  • punteggio tot
  • ultima modifica

Effort: 1

task-category creation

As a professor I want to create category to categories task so that can be added to exam templates by category

How to demo:
Create a category giving it a name

Effort: 0.5

read a single task

As a professor, I want to be able to read al single task, so that I read it

How to demo:
send a GET request to /tasks/{id}

The response should be a json with these attributes:

  • id
  • exerciseText
  • answers[ ]
    • answer
    • isRight
  • explantaion
  • categoryId[ ]
  • total score
  • last edit

Effort: 1

modify task-categories

As a professor I want to modify a list of categories

How to demo:
after supply a list of category to be modified return a code whether all the modifies was successful or not

Effort: 1

read a list of exam template

As a professor, I want to be able to read all the exams template, so that I can read it

How to demo:
send a GET request to /exam-templates:
The response should be a json with these attributes:

  • id
  • name
  • categoryId[ ]
  • quantity[ ]

Effort: 1

create a submission

As a student I want to create a submission for a specific task in a specific exam

How to demo:
a submission should be created when passing these fields, and an error code for the result of the transaction

  • examId
  • subId
  • userId
  • assignedTaskId
  • userAnswer

Effort: 3

task correction proposal

As a participant, I want to be able to send my correction proposal of a user's submission

How to demo:
send a POST request to /exams/{id}/task-corrections with these values:

  • submission id
  • mark
  • comment
  • the id of the proposer

**Effort: **2

create a new exam template

As a professor, I want to be able to create an exam template, so that I can use it

How to demo:
send a POST request to /exam-templates with these attribute:

  • name
  • categoryId[ ]
  • quantity[ ]
    The response should be success message

Effort: 1

user creation

As a student, I want to be able to create my account, so that I can access the system

How to demo:
send a POST request to /users with these values:

  • the student number
  • name
  • surname

Effort: 1

delete a list of exams

As a professor, I want to delete a specific list of exams.

How to demo:
Send a DELETE requesto to /exams with a list of exams' ids.
You will get a response with code 204.

Effort: 2

delete a list of users

As a professor, I want to delete a list of users.

How to demo:
Send a DELETE request to /users with a list of users' ids.
You will retrive a response with code 204.

Effort: 3

create an exam

As a professor, I want to be able to create an exam and also set other owners, so that they can edit the exam too.

How to demo:
send a POST request to /exams with these values:

  • the id of the exam template to which this exam belongs
  • the list of the owners ids
  • the default deadline

**Effort: **3

retrieve task-categories

As a professor I want to retrieve all the categories so I can assign task to them

How to demo:
return a json with the field in task-category #33

Effort: 1

delete a specific user

As a student, I want to delete myself from the system when I finish the university.

How to demo:
Send a DELETE request to /users/{id}, where {id} is your id.
You will get a response with a code 204.

Effort: 2

update a list of tasks

As a professor, I want to be able to change a list of tasks, so that I can use it

How to demo:
send a PUT request to /tasks with a list of tasks containing:

  • id
  • exerciseText
  • answers[ ]
    • answer
    • isRight
  • explantaion
  • categoryId[ ]
  • total score
  • last edit

The response should be a success message

Effort: 1

retrieve all courses

As a student, I want to be able to get all courses.

How to demo:
Send a GET request to /courses
The response should be a json with a list of courses that have these attributes:

  • id
  • name
  • academic year

Effort: 1

Task creation

As a professor, I want to create reusable tasks that I can put in exams.

How to demo:
Post on /tasks with these values:

  • the text of the exercise
  • a list of answer and the correct choice
  • a category of the task
  • total score
  • explanation
  • last edit

Effort: 1

update a list of courses

As a professor, I want to be able to update a list of courses at the same time in the same request.

How to demo:
send a PUT request to /courses with a list of course objects.
Those objects should have these fields:

  • id
  • name
  • academic year

Effort: 1

update a single task

As a professor, I want to be able to change a task, so that I can use it

How to demo:
send a PUT request to /tasks/{id} with these attribute:

  • id
  • exerciseText
  • answers[ ]
    • answer
    • isRight
  • explantaion
  • categoryId[]
  • total score
  • last edit

The response should be a success message

Effort: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.