• Blog
  • Documentation
  • Courses
  • Changelog
  • AI Starters
  • UI Kit
  • FAQ
  • Supamode
    New
  • Pricing

Launch your next SaaS in record time with Makerkit, a React SaaS Boilerplate for Next.js and Supabase.

Makerkit is a product of Makerkit Pte Ltd (registered in the Republic of Singapore)Company Registration No: 202407149CFor support or inquiries, please contact us

About
  • FAQ
  • Contact
  • Verify your Discord
  • Consultation
  • Open Source
  • Become an Affiliate
Product
  • Documentation
  • Blog
  • Changelog
  • UI Blocks
  • Figma UI Kit
  • AI SaaS Starters
License
  • Activate License
  • Upgrade License
  • Invite Member
Legal
  • Terms of License
    • Introduction
    • Clone the Repository
    • Running the Project
    • Common Commands
    • Updating the Codebase
    • LLMs rules
    • Database
    • Supabase Client
    • React Query

Common commands you need to know for the React Native Supabase Turbo Starter Kit

Learn about the common commands you need to know to work with the React Native Supabase Turbo Starter Kit.

Here are some common commands you'll need to know when working with the React Native Supabase Turbo Starter Kit.

Note: You don't need these commands to kickstart your project, but it's useful to know they exist for when you need them.

Installing Dependencies

To install the dependencies, run the following command:

bash
pnpm i

This command will install all the necessary dependencies for the project.

Starting the Development Server

Start the development server for the web application with:

bash
pnpm run dev

Running Supabase CLI Commands

Supabase is installed in the apps/expo-app folder. To run commands with the Supabase CLI, use:

bash
pnpm run --filter app supabase <command>

For example, if Supabase documentation recommends a command like:

bash
supabase link

You would run:

bash
pnpm run --filter app supabase link

Starting Supabase

To start Supabase, run:

bash
pnpm run supabase:web:start

This command starts the Supabase web server.

Starting Stripe

To test the billing system, start Stripe with:

bash
pnpm run stripe:listen

This routes webhooks to your local machine.

Resetting Supabase

To reset the Supabase database, which is necessary when you update the schema or need a fresh start, run:

bash
pnpm run supabase:web:reset

Generate Supabase Types

When you update the Supabase schema, generate the latest types for the client by running:

bash
pnpm run supabase:web:typegen

This should be done every time the Supabase schema is updated.

Running Tests

To run the tests for the project, use:

bash
pnpm run test

Cleaning the Project

To clean the project, run:

bash
pnpm run clean:workspaces
pnpm run clean

Then, reinstall the dependencies:

bash
pnpm i

Type-Checking the Project

To type-check the project, use:

bash
pnpm run typecheck

Linting the Project

To lint the project using ESLint, run:

bash
pnpm run lint:fix

Formatting the Project

To format the project using Prettier, run:

bash
pnpm run format:fix

These commands will help you manage and maintain your project efficiently.

On this page
  1. Installing Dependencies
    1. Starting the Development Server
      1. Running Supabase CLI Commands
        1. Starting Supabase
          1. Starting Stripe
            1. Resetting Supabase
              1. Generate Supabase Types
                1. Running Tests
                  1. Cleaning the Project
                    1. Type-Checking the Project
                      1. Linting the Project
                        1. Formatting the Project