|
|
4 months ago | |
|---|---|---|
| .. | ||
| api | 4 months ago | |
| drawer-app | 4 months ago | |
| fullpage-app | 4 months ago | |
| README.md | 4 months ago | |
Stripe Apps examples demonstrating how to use json-render to build dynamic, AI-generated UI within the Stripe Dashboard.
| Folder | Description |
|---|---|
| api/ | Next.js server providing the /api/generate endpoint for AI-powered UI generation |
| drawer-app/ | Standard Stripe App that renders in the Dashboard drawer (sidebar) |
| fullpage-app/ | Full-page Stripe App using FullPageView (requires alpha access) |
cd api
pnpm install
cp .env.example .env # Set AI_GATEWAY_API_KEY
pnpm dev
For the standard drawer app:
cd drawer-app
pnpm install
pnpm setup
stripe apps start
For the full-page app (requires alpha access):
cd fullpage-app
pnpm install
cp .env.example .env # Set STRIPE_APP_ID
pnpm setup
stripe apps start
# Navigate to https://dashboard.stripe.com/test/app/<your-app-id>
fullpage-app uses Stripe's full-page apps private developer preview. You need Stripe to enable the feature flag for your app and account. See fullpage-app/README.md for details.