Adithya Popularity By Timeline Chart Backend#1704
Merged
one-community merged 11 commits intodevelopmentfrom Oct 15, 2025
Merged
Adithya Popularity By Timeline Chart Backend#1704one-community merged 11 commits intodevelopmentfrom
one-community merged 11 commits intodevelopmentfrom
Conversation
akshith312
approved these changes
Sep 9, 2025
harshavarma29
approved these changes
Oct 5, 2025
Contributor
There was a problem hiding this comment.
I have tested the PR for the below listed scenarios, it is working fine. However, I have request changes in the related Frontend PR.
Member
|
Thank you all, merging! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






Description
This backend PR implements the Popularity Timeline chart for Job Posting Page Analytics.
It introduces a new
popularityTimelinemodel and APIs to fetch monthly hits and applications for job postings, with filters for date range and job role.Related PRS (if any):
This backend PR is related to the frontend PR Adithya Popularity By Timeline Chart Frontend.
To test this backend PR, checkout the corresponding frontend PR.
Main changes explained:
popularityTimeline.jsmodel to store:popularityTimelineRoutes.js:GET /popularity?range=12months— fetch last 12 months dataGET /popularity?roles=[role1,role2]— filter by rolesGET /popularity?start=YYYY-MM&end=YYYY-MM— fetch custom date rangesHow to test:
adithya_impl_popularity_timeline_backend.npm installto install dependencies.npm run dev.GET http://localhost:4500/api/popularity?range=12monthsGET http://localhost:4500/api/popularity?roles=["Backend Developer", "Full Stack Developer"]GET http://localhost:4500/api/popularity?start=2024-03&end=2025-09Screenshots or videos of changes:
Note: