A developer dashboard for managing API keys, credits, and usage statistics for nilAI.
- Node.js
- pnpm
pnpm installpnpm devThe application will be available at http://localhost:3000.
Create a .env file in the root directory with the following variables:
# Credit Service
NILAUTH_CREDIT_URL=http://localhost:3030/v1/
NILAUTH_CREDIT_TOKEN=your_token_here
# Stripe (for payments)
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
# Privy (authentication)
NEXT_PUBLIC_PRIVY_APP_ID=your_privy_app_id
PRIVY_APP_SECRET=your_privy_app_secret