Running the Next.js Supabase Turbo project

Learn how to run the Next.js Supabase Turbo project on your local machine.

To run the project, follow these steps to start the development server, Supabase, and Stripe (optional for billing system testing).

1. Start the Development Server

To start the web application development server, run:

# Start the development server
pnpm dev

This command launches the web application.

For more details about the web application, please refer to apps/web/README.md.

Quick Start Credentials

Use the following credentials to get started right away:

  • Email: test@makerkit.dev
  • Password: testingpassword

To confirm email addresses, visit Inbucket. Supabase uses Inbucket to capture emails sent during the authentication process.

Bookmark the Inbucket URL, as you will need it quite often.

2. Start Supabase

Ensure Docker is running, then start Supabase with:

pnpm run supabase:web:start

This command initiates the local Supabase web server. This allows us to develop locally without having to deploy to Supabase.

When you're ready to deploy the project to production, follow the checklist to ensure everything is properly configured.

3. Start Stripe (Optional)

To test the billing system, start Stripe by running:

pnpm run stripe:listen

This command routes webhooks to your local machine.

You now have the Next.js Supabase Turbo project running on your local machine. 🚀

Deploying to Production

When you're ready to deploy the project to production, follow the checklist to ensure everything is set up correctly.

Note: Using Supabase's hosted instance is similar to deploying to production. Therefore, you still need to follow the checklist to ensure everything is properly configured.