Next.js marketing site, merchant dashboard, public payment pages, wallet integration, webhook settings, and embeddable widget.
The frontend follows the Stargate design prompt kit: dark fintech hero, B2B navigation, transactions, payment links, wallets, webhooks, team controls, developer docs, hosted checkout, and the widget SDK.
cp .env.local.example .env.local
npm install
npm run devnpm run typecheck
npm run lint
npm test
npm run build
npm run build:widgetThe from-scratch product prompt kit lives at ../docs/stargate-product-build-prompts.md.
cp .env.production.example .env.production
npm run build
npm run build:widgetvercel.json contains the production build command, global security headers, hosted-checkout frame policy, and widget rewrite used by the deployment workflow.
Production deploys require these GitHub secrets on dreamgeneX/stargate-frontend:
VERCEL_TOKENVERCEL_ORG_IDVERCEL_PROJECT_ID
Production URLs should be stored as GitHub repository variables:
NEXT_PUBLIC_APP_URLNEXT_PUBLIC_API_URL
MIT