Skip to content

feat(projects): Implement project CRUD API endpoints #5

@Zafar7645

Description

@Zafar7645

User Story: As a logged-in user, I want to be able to create, view, edit, and delete my projects.

Acceptance Criteria:

  • Create a ProjectsModule in the NestJS backend.
  • Implement a POST /projects endpoint to create a new project (requires name, optional description). Associate it with the authenticated user.
  • Implement a GET /projects endpoint to retrieve all projects belonging to the authenticated user.
  • Implement a GET /projects/:id endpoint to retrieve a single project by its ID.
  • Implement a PATCH /projects/:id endpoint to update a project's details.
  • Implement a DELETE /projects/:id endpoint to delete a project.
  • Ensure all endpoints are protected and a user can only interact with their own projects.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions