Skip to content

[Users] Add Get All Users Route (GET /users) #49

@nourshoreibah

Description

@nourshoreibah

User Story

As a user I want to retrieve all users from the Users table.

Description

  • Add the GET /users route to the existing users Lambda using:
    node tools/lambda-cli.js add-route users GET /users
  • Use Kysely to query all users, optionally supporting pagination via ?page and ?limit.
  • Test using Swagger UI and Jest.

Acceptance Criteria

  • Route returns all users from the local database.
  • Swagger returns 200 with an array of user objects.
  • Jest tests confirm correct pagination and empty state behavior.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions