Skip to content

[Projects] Add Get All Projects Route (GET /projects) #59

@nourshoreibah

Description

@nourshoreibah

User Story

As a user I want to retrieve all projects so that I can view and select which one to manage.

Description

  • Add the GET route to the existing projects Lambda using lambda-cli.
    Command:
    node tools/lambda-cli.js add-route projects GET /projects
  • Use Kysely to select all records from the projects table.
  • Return list of projects with projectID, name, and total_budget.

Acceptance Criteria

  • Returns 200 and JSON array of projects.
  • Returns empty array if no projects exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions