Getting Started
Quick Start
Get NextBento running locally in under 5 minutes.
Prerequisites
- Node.js 18.17+
- pnpm (or npm/yarn)
1. Clone and Install
git clone https://github.com/NextBento-dev/nextbento.git your-app-name
cd your-app-name
pnpm install
2. Environment Variables
Copy the example env file:
cp .env.example .env.local
Note
Add at minimum (see Environment Variables for full list). Keys come from each service's dashboard:
NEXT_PUBLIC_SUPABASE_URL— From Supabase Dashboard → Project Settings → APINEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY— Same as above (anon/public key)SUPABASE_SECRET_KEY— Service role key (for server-side)NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY— From Stripe DashboardSTRIPE_SECRET_KEY— Stripe secret keySTRIPE_WEBHOOK_SECRET— From Stripe webhook setup (use Stripe CLI for local dev)RESEND_API_KEY— From Resend
For detailed setup of each service:
3. Run Locally
pnpm dev
Open http://localhost:3000.
4. Deploy to Vercel
- Push your repo to GitHub
- Import the project in Vercel
- Add all environment variables from
.env.local - Deploy
See Deploying to Vercel for details.
Deploy Checklist
- Supabase project created and env vars set
- Stripe products/prices configured, webhook endpoint set
- Resend domain verified, API key set
- All env vars added to Vercel
-
NEXT_PUBLIC_APP_URLset to your production URL
What's Next?
- Authentication — Understand auth flow
- Billing — Configure plans and checkout
- Landing Page — Customize your marketing page
- Pricing — License and checkout
- Supabase + Stripe starter notes — What the kit does not wire for you