Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mayankagnihotri7/userdemographictracking
Fetch fresh user data every hour and track key stats. Built with Rails, Sidekiq, & Liquid.
https://github.com/mayankagnihotri7/userdemographictracking
httparty liquid rails sidekiq
Last synced: 28 days ago
JSON representation
Fetch fresh user data every hour and track key stats. Built with Rails, Sidekiq, & Liquid.
- Host: GitHub
- URL: https://github.com/mayankagnihotri7/userdemographictracking
- Owner: mayankagnihotri7
- Created: 2024-01-13T12:37:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T09:49:23.000Z (12 months ago)
- Last Synced: 2024-11-05T22:38:33.792Z (3 months ago)
- Topics: httparty, liquid, rails, sidekiq
- Language: Ruby
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UserDemographicTracking
A Rails application that tracks user information and calculates some interesting statistics.
### Highlights -
- **Automatic user data import**: Every hour, fresh user data (20 users) is fetched from an API and stored in the database (Postgresql) with deduplication.
- **Gender-based stats**: Thw app tracks the total number of male and female users throughout the day, stored in redis and summarised in daily records.
- **Dynamic average age**: As user data changes, the average age the average age for both genders is automatically recalculated and stored in daily records.
- **User interface**: A liquid powered dashboard displays -
- A table of all users with search and delete functionality (updating gender counts accordingly).
- Total user count.
- A list of daily records with key statistics.### Tech stack:
- Rails
- Postgresql
- Redis
- Sidekiq
- Liquid