Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Show the list of courses #6

Open
3 tasks
pixari opened this issue Feb 26, 2021 · 5 comments
Open
3 tasks

Show the list of courses #6

pixari opened this issue Feb 26, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request question Further information is requested ready ready for planning

Comments

@pixari
Copy link
Collaborator

pixari commented Feb 26, 2021

User Story

As a Student
I want to view the list of all available courses
So that I can understand the learning offer

Scope

  • It must be a webpage
  • The page has no restrictions

Acceptance Criteria

  • Shows a list of available courses' titles

Next steps

  • Create endpoint
  • Fetch endpoint
@pixari pixari added enhancement New feature or request ready ready for planning labels Feb 26, 2021
@pixari
Copy link
Collaborator Author

pixari commented Feb 26, 2021

My proposal:

API

It must be created a new endpoint:
GET - /courses

Payload:
JSON:

{
  "courses": [
    {
      "id": "ID0",
      "title": "Course title 1"
    },
    {
      "id": "ID1",
      "title": "Course title 2"
    },
    {
      "id": "ID2",
      "title": "Course title 3" 
    }
  ] 
}

FE

We consume the endpoint and show the result.

What do you think about it, @emidiotorre?

@pixari pixari self-assigned this Feb 26, 2021
@pixari pixari added the question Further information is requested label Feb 26, 2021
@pixari pixari changed the title View the list of courses Show the list of courses Feb 26, 2021
@emidiotorre
Copy link
Collaborator

I think it would work perfectly!
We need to think about the course fields asap :)

@pixari
Copy link
Collaborator Author

pixari commented Feb 26, 2021

Could you set up the endpoint?
I could do the FE part.

:)

@emidiotorre
Copy link
Collaborator

That involves.. bootstrapping the whole thing.. are we ready?

@pixari
Copy link
Collaborator Author

pixari commented Feb 27, 2021

Of course :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested ready ready for planning
Projects
None yet
Development

No branches or pull requests

2 participants