Skip to content

Manage projects - back end #1

@enriquezrene

Description

@enriquezrene

As an admin user, I want to be able to register the different projects ioet has in order to list them and allow time-tracker users to select the project for what they are working on.

We need endpoints so UI can call them to perform these operations. The following endpoints are needed.

  1. Create project endpoint:
    POST /projects
    BODY
{
   "name": "project-name",
   "details":"project-details",
   "status":"Active/Inactive"
}
  1. Update project endpoint:
    PUT /projects/{project-id}
    BODY
{
   "name": "project-name",
   "details":"project-details",
   "status":"Active/Inactive"
}
  1. Get projects endpoint:
    GET /projects

Acceptance Criteria

  • The above-mentioned endpoints should have been created
  • All the code needs to have at least 80% code coverage
  • Each endpoint needs to have e2e tests see Add e2e tests #2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions