Skip to main content

Project Setup

Setting up your project correctly is crucial for a smooth development process. Follow these steps to get your SaaS project up and running:

  1. Clone the Repository (skip if you've already done this in Prerequisites)

    git clone https://github.com/Just-Understanding-Data-Ltd/supabase-tdd-boilerplate.git
    cd supabase-tdd-boilerplate
  2. Install Dependencies

    pnpm install
  3. Set Up Environment Variables The repository includes example environment files for each application. You will fill these values incrementally as you set up Supabase and Google Sign-In in the following steps.

    # Copy example environment files
    cp apps/web/.env.example apps/web/.env.local
    cp apps/api/.env.example apps/api/.env
    cp packages/supabase/.env.example packages/supabase/.env
  4. Run the Development Server

    pnpm dev

    This will start: