Marketing website, user dashboard, and billing for DebtStack.ai - the API for corporate debt structure data.
- Landing page with live product demo
- User dashboard with API key management
- Stripe-powered billing (Free, Pro, Business tiers)
- Mintlify documentation
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your keys
# Run development server
npm run devOpen http://localhost:3000.
| Variable | Description |
|---|---|
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY |
Clerk public key |
CLERK_SECRET_KEY |
Clerk secret key |
STRIPE_SECRET_KEY |
Stripe secret key |
BACKEND_URL |
Backend API URL |
NEXT_PUBLIC_APP_URL |
This app's public URL |
- Next.js 16 - React framework
- Clerk - Authentication
- Stripe - Payments
- Tailwind CSS - Styling
- Mintlify - Documentation
├── app/
│ ├── api/stripe/ # Stripe checkout & portal
│ ├── api/user/ # User sync with backend
│ ├── dashboard/ # User dashboard
│ ├── pricing/ # Pricing page
│ └── page.tsx # Landing page
├── docs/ # Mintlify docs (docs.debtstack.ai)
├── lib/stripe.ts # Stripe configuration
└── public/ # Static assets
Deployed on Railway. Push to main triggers automatic deployment.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYCLERK_SECRET_KEYSTRIPE_SECRET_KEYBACKEND_URLNEXT_PUBLIC_APP_URL
- Backend API: api.debtstack.ai
- Documentation: docs.debtstack.ai
Proprietary - All rights reserved.