Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

As a user, I want to have a map, so I can keep track of my notes. #30

Description

@Ekhorn

Acceptance Criteria

Test cases

  • TC01
    Step 1 - User logs in
    Result: Their map shows a list of the user's notes.
  • TC02
    Step 1 - User does not log in
    Result: Text gets shown stating: “Login to view your notes.”

Tasks

  • Setup notes-service discovery client.
  • Setup spring cloud gateway.
  • Add missing workflow files, secrets, and Heroku apps for the gateway and discovery server.
  • Create get map endpoint by user id.
  • Create post map endpoint.
  • Write unit & integration tests.
  • Add global error handling to map-service.
  • After login, call get user map endpoint, if the user doesn't have a map then call post map endpoint (depends on: Fix getting userId after login to get user map. #37).
  • Create get notes endpoint by map id.
  • Create after opening the map call to get the map's notes.
  • Show the notes within a list.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions