Chris Tate 1977fb3a11 fix(mcp): resolve React duplicate module error with dedupe config (#192) 4 meses atrás
..
app a66aef17f9 stripe updates (#121) 4 meses atrás
.env.example a66aef17f9 stripe updates (#121) 4 meses atrás
README.md a66aef17f9 stripe updates (#121) 4 meses atrás
next-env.d.ts 1977fb3a11 fix(mcp): resolve React duplicate module error with dedupe config (#192) 4 meses atrás
next.config.ts a66aef17f9 stripe updates (#121) 4 meses atrás
package.json 8968bd648a Add missing `portless` dependency (#143) 4 meses atrás
tsconfig.json a66aef17f9 stripe updates (#121) 4 meses atrás

README.md

Stripe App API

A lightweight Next.js server that provides the /api/generate endpoint for AI-powered UI generation in the Stripe App examples.

Setup

pnpm install

cp .env.example .env
# Set AI_GATEWAY_API_KEY

Running

pnpm dev

Runs on port 3001. The Stripe apps (drawer-app/ and fullpage-app/) expect this server to be running for AI generation features.

API

POST /api/generate

Accepts { prompt, systemPrompt } and returns a streamed text response with a json-render spec.