Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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