Theme
Derrick Snow Jr
Healthcare · SaaS · AWS

OTC Wellness Subscription Platform

Commerce, content, and entitlements in a healthcare-adjacent SaaS product

Senior Full-Stack Engineer2023 – 2024
Next.jsGraphQLStripeAWSCognito

I enjoy solving systems that span hardware, cloud infrastructure, and customer-facing software because they require balancing engineering tradeoffs across every layer of the stack.

1. The Problem

An OTC wellness product needed a consumer platform that combined discovery, reviews, subscriptions, and secure roles — while operations required a reliable way to ingest and validate catalog data without fragile manual uploads.

2. My Role

Senior Full-Stack Engineer

I built and integrated the product surface end to end — Next.js application flows, GraphQL API design, Stripe subscription entitlements, Cognito role models, and S3-backed catalog ingestion pipelines.

3. Engineering Challenges

Challenge 1Catalog and review data arrived as bulk files, not clean APIs.

Solution. S3 ingestion workflows parse and validate packages into structured store records so ops can update without rewriting app code.

Challenge 2Consumers, moderators, and admins need different powers.

Solution. Cognito groups and GraphQL authorization separate capabilities without forking the product into multiple apps.

Challenge 3Subscriptions must stay consistent after checkout.

Solution. Stripe webhooks drive entitlement updates so access reflects payment state even when clients disconnect mid-flow.

Challenge 4Product pages pull many related domains at once.

Solution. GraphQL coordinates catalog, reviews, and entitlements into cohesive queries for Next.js UI.

4. Architecture

  1. S3 Catalog Packages
  2. Ingestion / ETL
  3. DynamoDB / Content
  4. GraphQL API
  5. Cognito Auth
  6. Stripe Entitlements
  7. Next.js Product UI

5. Why These Technologies?

  • GraphQL

    Product screens needed coordinated reads across catalog, reviews, and account state — one contract reduced frontend orchestration debt.

  • Stripe + webhooks

    Billing source of truth stayed with Stripe; webhooks kept product entitlements eventual-consistent without polling.

  • S3 ingestion

    Ops teams already shipped ZIP/XML packages — meeting that workflow beat forcing a brittle admin spreadsheet UI.

  • AWS Cognito

    Role-group modeling covered consumer vs pro/admin access without owning a custom identity stack.

6. Results

  • End-to-end subscription lifecycle from checkout to entitlement
  • Searchable OTC catalog with moderation-capable review workflows
  • Reduced manual catalog update effort through AWS ingestion
  • Role-separated experiences suitable for healthcare-adjacent data

7. Lessons Learned

  • In commerce products, entitlement correctness is a systems problem — webhooks and idempotency matter more than checkout polish.
  • Meeting ops where their files already live often ships faster than redesigning their process around a prettier admin.

Business Impact

The platform turned a content/catalog operation into a subscription product customers could browse, buy, and use — while giving internal teams a safer path to keep the catalog current.

If I Were Doing This Again

I would add stronger observability around entitlement webhook failures and harden search indexing ahead of catalog growth spikes.