This demo showcases how Monk deploys your Next.js backend to containers, PostgreSQL database, and integrates Stripe—all in one go.
Configure STRIPE_PRODUCT_ID to load real products
Explore the backend API endpoints powered by Next.js API routes
Check service health, Stripe config, and database connection status
curl /api/healthThis demo uses Monk to automatically provision and configure:
app:
defines: runnable
connections:
database:
target: nextjs-backend-stripe/do-postgres
variables:
DATABASE_HOST:
value: <- connection-target("database") entity-state get-member("host")
DATABASE_PASSWORD:
value: <- connection-target("database") entity-state get-member("password")
STRIPE_SECRET_KEY:
value: <- secret("stripe-secret-key")