Skip to main content
This guide focuses on getting the API and database running locally. You do not need to configure integrations to boot the backend.

Prerequisites

If you are new to the codebase, complete the Prerequisites first, then follow Project Setup.

Steps

1. Set Up Database

2. Configure Environment

For quickstart, only DATABASE_URL is required to boot the API. Most integrations (auth, payments, SMS, AI, uploads) can stay unset until you enable them in their respective guides. When you do enable auth, set BETTER_AUTH_SECRET to a secure value (32+ chars). You can generate one with:
If you changed the database name in Docker, update DATABASE_URL in .env to match.

3. Run Migrations

If you see a “Cannot find module ’../generated/client’” error, run pnpm db:generate to create the Prisma client.

4. Start the Backend

You should see:
The mobile app needs the API and database running to work end-to-end. If the backend is not running, sign-in and data fetches will fail.

Next Steps

Start the Mobile App

Install dependencies and run the app

Project Structure

Understand how the codebase is organized