BuildForSDGCohort2 / BuildForSDGCohort2/Team-023-Backend
Dashboard route - loan applications over time
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Create a `/dashboard/loan-applications-over-time` route to obtain data for the LineChart component including:
* labels
* number of applications
all for a given period (today, lastweek, lastmonth).
It should be accept GET requests and should have the following query params:
* period
* id
* token
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the backend route entry point and inspect how existing dashboard routes obtain and shape data. Implement the GET /dashboard/loan-applications-over-time behavior for the period, id, and token query parameters, returning labels and application counts for today, lastweek, and lastmonth; verify each requested period and parameter combination.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100