Portl Fitness App
Backend for a Shark Tank–featured fitness app — auth, workout analytics and admin reporting.
Overview
Backend services for the Portl Fitness app (featured on Shark Tank): user authentication, workout tracking and analytics, and reporting for the admin team.
The Problem
The product needed reliable auth and a way to turn a stream of raw workout events into weekly, monthly and yearly insights that admins could actually read — without slow, hand-rolled report queries.
My Role
Backend engineer — Code Brew Labs
- Built authentication and core user services in Node.js, MongoDB and TypeScript.
- Built workout analytics — capturing activity and deriving per-user progress and trends.
- Developed analytics services using MongoDB aggregation pipelines to generate weekly, monthly and yearly insights for administrative dashboards.
- Built admin reporting endpoints on top of those aggregations.
Engineering Challenges
Reporting without heavy queries
Time-bucketed insights (week / month / year) are expensive if computed naively per request. MongoDB aggregation pipelines do the grouping and rollups in the database, close to the data.
Consistent time bucketing
Weekly / monthly / yearly boundaries have to be stable and timezone-correct so numbers don't shift between runs. Bucketing is centralized in the aggregation stage, not spread across callers.
Solution
Workout events are stored in MongoDB and rolled up through aggregation pipelines that produce the exact time buckets the admin dashboards need. Auth and user services follow the same layered Node.js/TypeScript structure as the rest of the platform.
Key Features
- ›User authentication
- ›Workout tracking and analytics
- ›Weekly / monthly / yearly insight generation
- ›Admin reporting endpoints
Architecture
- 01/Mobile client
- 02/REST API — Node.js + TypeScript
- 03/Analytics services — MongoDB aggregation pipelines
- 04/MongoDB (events + rollups)
Technology
Result
Analytics and reporting live in production for a Shark Tank–featured consumer app. TODO: add a store or press link if you'd like one shown.