Skip to content

BACKEND - Create endpoints for Exercises #86

@hansjhaland

Description

@hansjhaland

What

Create endpoints for Exercise data.

Why

So that it is possible to create, delete, edit, and get exercises by different criteria.

How

Implement endpoints for

  1. Exercises:
  • Get all exercises: GET /exercises
  • Get exercise with specific id: GET /exercises/id
  • Create a new exercise: POST /exercises
  • Delete an exercise: DELETE /exercises/id
  • Update a specific exercise: PUT /exercises/id
  1. Units:
  • Get all units: GET /units
  • Get unit with specific id: GET /units/id
  • Create a new unit: POST /units
  • Delete a unit: DELETE /units/id
  • Update a specific unit: PUT /units/id
  1. Modules:
  • Get all modules: GET /modules
  • Get module with specific id: GET /modules/id
  • Create a new module: POST /modules
  • Delete a module: DELETE /modules/id
  • Update a specific module: PUT /module/id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Under Design

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions