30 minutes, free: book your first call

New Era Learning: learning platform work, Snowflake dashboards and a lesson translation tool

A project by our founder.

Client
New Era Learning
Sector
Online education
Location
United Arab Emirates
Status
In use
Platforms
Web, Snowflake
Stack
Snowflake, Streamlit, React, TypeScript, AWS
Diagram: data from PostgreSQL, PostHog and ClickHouse flows into derived tables in Snowflake and on to Streamlit dashboards; a translation tool moves lesson videos between Cloudflare and HeyGen AI translation and keeps a copy in Google Drive.

The situation

New Era Learning is an online education company in the United Arab Emirates. It develops programmes for the digital economy, taught through practitioner-led mentorship and learning applications.

Our founder helped New Era Learning build its online learning platform. He also built a data setup in Snowflake and a tool that handles the translation of the platform's video lessons into other languages.

What was built

The first of the two is the Snowflake data setup. Every night, scheduled jobs export data into Snowflake from three sources: the checkout database in PostgreSQL, product analytics in PostHog and message reaction events in ClickHouse. A monthly load runs as well, with recovery procedures.

Inside Snowflake, SQL stored procedures and scheduled tasks turn the raw data into derived tables: monthly payment value, the status history of each account, retention cohorts, and movement between programmes.

On those tables sit Streamlit dashboards, written in Python, that run inside Snowflake. They show monthly and daily performance, retention curves, how members move and overlap between programmes, weekly student journeys, direct-message usage, and revenue: refunds, disputes, paid monthly recurring revenue, lifetime value, cancellations and acquisition. Each dashboard has an "About this app" panel and a glossary of its terms. A daily digest email is rendered from the same figures.

The client's owner, staff and instructors open the dashboards in Snowflake's web interface, with view-only access to the dashboards and no access to the tables behind them.

The second is the lesson translation tool. It fetches each lesson video from Cloudflare, stores a copy in Google Drive and tracks it in a database. Submission to HeyGen's AI video translation deliberately keeps a person in the loop: each video is submitted by hand. The tool then pulls each translated version back and publishes it to Cloudflare. Its web front end, behind a login, shows the lessons and the translation status of each one.

The front end is React with Material UI and a Clerk login. The backend is TypeScript on Bun, with Elysia, MongoDB, Redis and scheduled jobs. It runs in Docker on AWS EKS with ARM64 processors, together with AWS Lambda, and GitHub Actions deploys it to a staging and a production environment.

The result

The client's owner, staff and instructors now read customer and revenue insights from the platform's data inside Snowflake. The dashboards refresh on schedules: overnight, weekly or monthly.

The translation tool runs in production.

See also

Want something like this built?

Book a free first call

Last updated:

All projects