
Case study · Software Products and SaaS
Charity fundraising: fitness activity turned into donations
Fitness-linked charitable fundraising: tracked activity turned into audited monthly donations on one live platform
- Client
- A fitness-linked charitable fundraising platform
- Industry
- Software Products and SaaS
- What we did
- Product Engineering
- Engagement
- Team Extension
- Team
- 2 engineers
- Duration
- 8 months
In short
A US fitness-linked charitable fundraising platform lets endurance athletes turn tracked activity into per-mile charitable donations, engaging ValueCoders as a Team Extension to build the system for athletes, their sponsors and the nonprofit partners they support. The team delivered an event-driven microservices architecture on NestJS: independent Account, Activity and Payment services, each with its own MongoDB store under a database-per-service pattern, communicating over gRPC for synchronous calls and RabbitMQ for asynchronous work, behind a single GraphQL API gateway with schema stitching and central JWT authentication. A React Remix frontend with Shadcn UI serves athlete, donor and admin experiences, fitness activity syncs from Strava and Terra with retry queues around every ingestion call, and donations are metered per activity and charged monthly via Stripe.
What was the situation?Turn everyday endurance activity into accurate, audited, recurring charitable giving, without the athlete having to think about it.
Your donors give because a mile means something, not because a spreadsheet says so. When an athlete's tracked run or ride becomes a pledge and then a monthly charge, every donor and nonprofit partner is trusting that the mile they see actually happened, that the charge lands on time, and that the money reaches the cause without anyone chasing a broken sync or a missed payment. Fitness-linked giving, where a tracked activity itself becomes the trigger for a donation, has grown into a genuine channel for nonprofit fundraising, and that growth is only useful if the plumbing behind it holds under real volume.
Read the full accountShow less
Holding meant solving problems that only surface once real activity data flows at scale. Fitness activity had to sync accurately from third-party providers such as Strava and Terra despite rate limits, retries and payloads that arrive malformed or late, because a mismatch between what an athlete logged and what the platform recorded breaks donor trust directly, not eventually. Recurring donations had to be metered against real, verified activity and charged through Stripe every month with safeguards and visible transparency, rather than calculated on a best-effort basis. Distributed services covering accounts, activity and payment had to communicate with low latency and stay resilient when any one of them failed. And a single interface serving athletes, donors and administrators had to read consistent data across all of those services without exposing the complexity behind it.
The real constraint
Activity sync, recurring billing and inter-service communication all had to be reliable and auditable at the same time, because none of them fails quietly. A lag in a Strava or Terra sync, a failed Stripe charge, or a timeout between the Account, Activity and Payment services surfaces directly to a donor as a wrong or missing amount on their own dashboard. That coupling shaped the engineering response: reliability in any one service had to mean reliability across all three at once.
What did we do?
ValueCoders extended the platform's engineering team as a Team Extension to build the system as an event-driven microservices architecture rather than a single monolith. A React Remix frontend sits in front of a GraphQL API gateway, which routes to independent NestJS services for Account, Activity and Payment, each following a database-per-service pattern on MongoDB rather than sharing one schema across concerns. Services call each other synchronously over gRPC using Protobuf contracts, and communicate asynchronously over RabbitMQ for event-driven work such as activity-sync events and payment status updates, so a slow or failing service degrades gracefully instead of blocking the rest of the platform. The whole system runs containerized on Docker, orchestrated on Kubernetes and deployed through GitHub Actions CI/CD, with Algolia search, Amplitude analytics and email automation across SendGrid, Loops and MailChimp.
- Sync: activity ingestion from Strava and Terra
Dedicated activity ingestion services pull athlete data from Strava and Terra through both webhook and GraphQL polling flows, so activity is captured whether a provider pushes it or has to be polled for it. Retry queues and structured error logging sit around every ingestion call, and RabbitMQ decouples the external sync logic from the platform's core services, so a rate limit, an outage or a malformed payload queues for retry instead of cascading into Activity, Payment or the frontend. Recorded mileage is validated against what a provider actually sent, rather than trusted at face value.
- Meter: per-activity recurring donations
A dedicated Payment service meters each donor's per-mile pledge against verified activity from the Activity service and runs Stripe charge cycles automatically every month, rather than leaving reconciliation to a manual step. Payment status updates, including retries and failures, flow over RabbitMQ as events, so a declined or delayed charge is handled deliberately instead of disappearing between billing cycles. Keeping the metering logic in its own service means a change to how a charge is calculated never touches the code that authenticates a user or ingests a workout.
- Connect: GraphQL gateway over the services
A single GraphQL API gateway sits in front of the Account, Activity and Payment services, using schema stitching and resolver pipelines to present one consistent graph instead of three separate APIs to reconcile. Authentication and role-based access control are enforced centrally at the gateway using JWT, so every request, whether from an athlete, a donor or an admin, is checked once at the boundary rather than separately inside each service. Behind the gateway, services communicate over gRPC with Protobuf contracts, keeping inter-service calls typed and fast.
- Operate: athlete, sponsor and admin experiences
A React Remix frontend gives athletes tools to manage campaigns, connect fitness trackers and track sponsorship progress, while donors get campaign discovery, a giving history and status updates on the activity they are sponsoring. A dedicated admin console handles user, campaign, partner-organization and transaction management from one place, replacing scattered spreadsheets and manual lookups. Algolia search, Amplitude analytics and email automation across SendGrid, Loops and MailChimp keep athletes and donors informed without a person sending updates by hand.
How was it built?
The platform is an event-driven microservices system. A React Remix frontend consumes a single GraphQL API gateway, which routes to independent NestJS services (Account, Activity, Payment), each with its own MongoDB store under a database-per-service pattern. Services call each other synchronously over gRPC (with Protobuf contracts) and communicate asynchronously over RabbitMQ for activity-sync events, notifications and payment updates. External fitness data comes from Strava and Terra; Stripe handles recurring charges. Services are containerized (Docker), orchestrated (Kubernetes) and monitored (Prometheus), with CI/CD via GitHub Actions and object storage on AWS S3.
Built with
- React
- Remix
- NestJS
- Node.js
- gRPC
- RabbitMQ
- GraphQL
- MongoDB
- AWS
- Docker
- Kubernetes
- Stripe
The layers
- Frontend
A React Remix application with Shadcn UI serves athlete, donor and admin experiences from one codebase. Server-side rendering and route-based data loading pull from the GraphQL gateway per route, so each screen requests only the data it needs.
- API gateway
A GraphQL gateway uses schema stitching and resolver pipelines to combine the Account, Activity and Payment services into one graph. Central JWT authentication and role-based access control are enforced here, before a request routes on to a service over gRPC.
- Microservices
NestJS powers the Account, Activity and Payment services, each containerized with Docker and deployed independently on Kubernetes. A database-per-service pattern gives each one its own MongoDB store, so a schema change in Payment cannot break a query Account or Activity depends on.
- Messaging / integration layer
gRPC with Protobuf contracts handles synchronous, typed calls between services, while RabbitMQ carries asynchronous work such as activity-sync events and payment status changes. Strava and Terra feed activity in through webhook and polling flows, and Stripe processes the recurring charges that follow.
- Supporting services
AWS S3 stores media and documents, Algolia powers search, and Amplitude tracks behavior analytics. Email automation is split across SendGrid, Loops and MailChimp, while Prometheus monitors the running services and GitHub Actions handles CI/CD.
What does the work look like?
Transaction Dashboard Admin Dashboard Donor Dashboard Campaign Dashboard Activity Tracker Dashboard Athlete Dashboard
A fitness-linked charitable fundraising platform · 6






What changed?
The platform now runs as one connected system from activity sync through to donation, rather than as separate pieces bolted together. Athletes link a fitness tracker and see their activity flow into campaigns automatically, instead of chasing sync errors by hand. Donors pledge per activity and are charged predictably every month through Stripe, instead of relying on a best-effort calculation they have to take on trust. Administrators manage users, campaigns, partner organizations and transactions from a single console, instead of working across scattered tools.
Read the full accountShow less
Because ingestion, metering and billing sit in independent NestJS services behind one GraphQL gateway, the platform can extend one part, such as adding a fitness provider or onboarding a new nonprofit partner, without destabilizing the rest of the system. Activity ingestion with retry queues and RabbitMQ decoupling is built to keep syncs reliable when a provider rate-limits a request or returns a bad payload, and event-driven payment updates are built to keep every recurring charge traceable rather than lost between billing cycles. The platform is live as both a web application and a Google Play Android app, integrated with Strava and Terra and processing donations through Stripe.
What can the client count on?
- Auditable. Activity ingestion runs behind retry queues and structured error logging, and every payment status change moves as a traceable event over RabbitMQ rather than a silent database update. A wrong donation amount can be traced back through the sync and charge that produced it.
- Modular. Account, Activity and Payment run as independent NestJS services, each with its own MongoDB store. Ingestion, metering and billing logic can each change, scale or fail on their own schedule without one service's incident becoming all three services' incident.
- Secure. Central JWT authentication and role-based access control at the GraphQL gateway keep athlete, donor and admin permissions separated at a single checkpoint. Payment handling stays isolated in its own service, so a weakness elsewhere does not put charge logic at risk.
- Operable. Containerized services on Kubernetes, monitored with Prometheus and deployed through GitHub Actions CI/CD, keep the platform observable and repeatable to deploy as usage grows.
The outcomeShow less
The change is structural, not incremental. Before this engagement, the platform's product vision called for reliable fitness-app integrations, transparent pledging and a clean experience across athlete, donor and admin views, but that vision depended on solving problems that only appear once real activity data and real money start moving through a system together. It now runs as a single event-driven platform rather than a set of loosely connected parts.
Activity sync moved from a single point of trust in a third-party feed to a validated flow with retry queues and RabbitMQ decoupling around it, so a Strava or Terra hiccup queues for retry instead of silently corrupting a donor's dashboard. Recurring giving moved from a calculation trusted on faith to a metered, event-tracked process running through a dedicated Payment service. Administration moved from scattered tools to one console covering users, campaigns, partner organizations and transactions. And the three domains, account, activity and payment, moved from a design intention into independent, database-per-service NestJS services that can each change without risking the other two.
The platform is live in production, as a web application and a published Google Play Android app, integrated with Strava and Terra and processing donations through Stripe. The engagement has run for around ten months and continues, extending the same architecture as the roster of athletes and donors grows.
Working with ValueCoders has been a game-changer. From handling complex sync logic with Strava to delivering a seamless donation experience, the team brought technical depth and speed we couldn't find elsewhere.
Where this work fits
Tell us about the project you have in mind.We sign an NDA before you share confidential details. Your account owner replies with where to start.
Who you'll talk to
Sanjiv SethiVP, Sales
Ankit GuptaSenior Manager, Sales
Set up a call30 minutes with Sanjiv or Ankit, in your time zone
Loading open times…
Pick a time and add your details on the next screen.
Last updated


