ioet / ioet/time-tracker-backend

List trending technologies

Open
#216 1 comment 0 reactions 3 assignees Claimed by @Angeluz-07 View on GitHub
enhancement mvp
Dominant language
Python
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Purpose**
We need an endpoint to list the most used technologies in the application taking into account the time-entries created. For it, we will need to sum the times per entry created using that technology from all the users interacting the app.

This option must be available for all users.

The information returned must be classified by month and the body will be an array of objects containing technology-name, minutes spend with the technology.

/technologies/preferred?month={MONTH_NUMBER}&year={YEAR}
If month and year are not specified, the endpoint will return the data from the current month and year. The response will look like
```

[
{
technology: "angular",
time: 15800
},

{
technology: "react",
time: 1200
},

{
technology: "docker",
time: 1780
}
...
]
```
For now, the top ten is good enough

**Scope**

**Criteria of acceptance**
- get a list of the most used technologies per user.
- sum the time per technology
- filter this list per month.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.