No description
  • JavaScript 98.1%
  • CSS 1.9%
Find a file
ticusb e7bf08829d Add ProductCard component and replace boilerplate README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 18:43:37 -07:00
lambda/tjProcessPayment API outline 2026-02-17 20:17:18 -07:00
public Restructure 2026-01-15 17:56:40 -07:00
src Add ProductCard component and replace boilerplate README 2026-03-01 18:43:37 -07:00
.gitignore Restructure 2026-01-15 17:56:40 -07:00
COLOR_GUIDE.md Restructure 2026-01-15 17:56:40 -07:00
eslint.config.mjs Restructure 2026-01-15 17:56:40 -07:00
jsconfig.json Restructure 2026-01-15 17:56:40 -07:00
next.config.mjs Configure for static export on Amplify 2026-01-15 18:22:15 -07:00
package-lock.json amplify packages 2026-01-15 18:00:54 -07:00
package.json amplify packages 2026-01-15 18:00:54 -07:00
postcss.config.mjs Restructure 2026-01-15 17:56:40 -07:00
README.md Add ProductCard component and replace boilerplate README 2026-03-01 18:43:37 -07:00
tailwind.config.js Restructure 2026-01-15 17:56:40 -07:00

Trophies Joy — CBD E-Commerce

Premium CBD wellness e-commerce platform. Browse, filter, and purchase lab-tested hemp-derived CBD products with a multi-step checkout flow.

Features

  • Product catalog with filtering by category and blend
  • Variant selection (blend, strength, wellness phase)
  • Sliding cart drawer with free-shipping progress bar
  • Multi-step checkout: shipping → NMI payment → confirmation
  • Serverless backend via AWS Lambda + DynamoDB

Tech Stack

  • Next.js 16 (React 19) — static export (SSG)
  • Tailwind CSS 4 — styling
  • Radix UI — dialog/modal primitives
  • AWS Amplify — API Gateway + Lambda + DynamoDB integration
  • NMI — payment tokenization and processing

Architecture

Frontend (Next.js/Vercel)
  └── src/services/api.js → AWS API Gateway
        └── Lambda: tjProcessPayment → DynamoDB: tjOrders

Product variants are fetched from DynamoDB and include: variantId, productId, name, blend, phase, category, strength, price, images, description, rating, reviewCount.

Development

npm install
npm run dev    # Dev server at localhost:3000
npm run build  # Production build
npm run lint   # ESLint

Requires environment variables for the AWS API Gateway endpoint and NMI tokenization key.