Skip to content
CloudAWS Client project · NDA

Real-Time Retail Dashboard

A serverless AWS back end that keeps a BigCommerce store's sales and stock live on one screen.

Retail client — internal application
Client
Full-Stack Developer
My role
2024
Timeline
AWS
Cloud
Order and stock sync via webhooks
Live
Serverless — no servers to patch
100%
Cost scales with traffic
Pay-per-use

Architecture

How the system fits together

  1. 1

    Source

    • BigCommerce store
    • Order & product webhooks
  2. 2

    API

    • Amazon API Gateway
    • Request validation
  3. 3

    Compute

    • AWS Lambda (Node.js)
    • Idempotent handlers
  4. 4

    Store

    • Amazon DynamoDB
    • Single-table design
  5. 5

    Serve

    • React dashboard
    • CloudWatch monitoring

Context

The situation

The retail team checked orders, products and stock across several admin screens and spreadsheets. They wanted one live view of how the business was doing right now.

Challenge

What made it hard

  • Data lived in the e-commerce platform's admin and was hard to combine.
  • Polling the platform's API was slow and ran into rate limits.
  • Traffic was spiky, so always-on servers would sit idle most of the day.

Approach

Key decisions and trade-offs

  1. 01

    Push, don't poll

    Subscribed to BigCommerce webhooks for orders, products and inventory, so changes arrive within seconds without hammering the platform's API.

  2. 02

    Serverless end to end

    API Gateway and Lambda handle each event, writing to DynamoDB. Handlers are idempotent, so repeated webhook deliveries never create duplicates.

  3. 03

    A dashboard people actually read

    Built the responsive React interface on top of my own APIs, focused on the handful of numbers the team checks every day, with clear charts and filters.

Results

The impact

  • The team sees sales and stock in one place, updated in near real time.
  • No servers to manage — the back end scales automatically and costs track usage.
  • CloudWatch dashboards and alarms make production issues visible early.
Retail dashboard showing live sales and inventory charts
Retail dashboard showing live sales and inventory charts.