Prerequisites
- Node.js (v18 or higher)
- npm or yarn
- A Supabase account (for database and auth)
- A Stripe account (for testing billing features)
1. Clone the Repository
2. Install Dependencies
3. Set Up Environment Variables
- Copy the example environment file:
- Open
.env.localand fill in your Supabase project URL and anon key. - For local development, you can set
NEXT_PUBLIC_BYPASS_AUTH=trueto skip authentication.
4. Set Up the Database
- In your Supabase project dashboard, go to the SQL Editor.
- Run the SQL scripts located in the
/supabase/migrationsdirectory in the correct order.
5. Start the Development Server
http://localhost:3000.