A merchant marketplace built with Node.js, TypeScript, AWS Lambda, DynamoDB, and a React + Vite + Tailwind UI.
The stack runs locally with Docker: Lambda handlers execute in the real Lambda runtime (via RIE containers) against DynamoDB Local, behind a small Express gateway.
- Node.js 22+ — macOS
brew install node· Windowswinget install OpenJS.NodeJS - pnpm 9+ —
npm install -g pnpm - Docker — macOS
brew install --cask docker· Windowswinget install Docker.DockerDesktop
pnpm install # install dependencies
cp .env.example .env # copy environment config
pnpm build # build the Lambda bundle
pnpm docker:start # start DynamoDB Local (:8001) + 9 Lambda containers (:9001–9009)
pnpm seed # seed 10 merchants, 20 products each, 5 orders each
pnpm start # start the gateway (:3000) + UI (:5173)Open http://localhost:5173 and pick any merchant — or the admin identity — from the dropdown.
After changing backend code, rebuild the Lambda images with
pnpm docker:buildso the containers pick up your changes.
pnpm test # run unit tests
pnpm ui:test # run the Playwright E2E suite (starts gateway + UI automatically)
pnpm build # rebuild the Lambda bundle
pnpm docker:build # rebuild all Lambda Docker images after code changes
pnpm docker:stop # stop all containers
pnpm ui:dev # start the UI only
pnpm ui:build # build the UI for productionecomm-app/
├── packages/
│ ├── api/ # Lambda backend (handlers, services, repositories)
│ └── ui/ # React + Vite + Tailwind frontend
├── gateway/ # Express HTTP → Lambda event shim (routes to ports 9001-9009)
├── scripts/ # Seed data and token generation
├── Dockerfile.lambda # Shared Lambda image (one per container, different command)
└── docker-compose.yml