Express API Backend

This is a demonstration of the Express backend API with TypeScript for Next.js applications. The backend includes Auth0 authentication, Pusher real-time features, multi-step onboarding, and Stripe subscription management.

Health Check

GET /health
Check if the server is running correctly.

Stripe Integration

GET /api/test/stripe
Test Stripe connection and configuration.
GET /api/test/products
List all Stripe products and prices.
POST /api/test/create-checkout
Create a Stripe checkout session for subscription.

Payment Intent

POST /api/payments/create-payment-intent
Create a payment intent for one-time payments.