This project has been migrated from Supabase to Convex.
- Database & Functions: Convex DB with real-time queries and mutations.
- Authentication: Better Auth integrated with Convex.
- Email: Resend for authentication and transaction emails.
- Payments: Polar integration for subscriptions.
-
Install dependencies:
npm install
-
Start Convex development:
npx convex dev
-
Start Next.js:
npm run dev
Ensure the following are set in your .env.local:
NEXT_PUBLIC_CONVEX_URL: Your Convex deployment URL.BETTER_AUTH_SECRET: Secret for auth session encryption.RESEND_API_KEY: For sending emails.