Developer GuideOverview

Developer Guide

Welcome to the SALLY developer guide. This section covers everything you need to go from cloning the repository to shipping features on the SALLY fleet operations platform.

Prerequisites

Before you begin, make sure you have the following installed:

ToolMinimum VersionCheck Command
Node.js20.0.0node -v
pnpm9.0.0pnpm -v
Docker DesktopLatestdocker --version
GitLatestgit --version

Optional (for full authentication):

  • A Firebase project with Authentication enabled
  • Google Maps API key (for distance calculations)

Reading Order

Work through these guides in order. You should be set up and running in about 15 minutes, and understand the codebase within an hour.

1. Environment Setup

Clone the repo, install dependencies, start infrastructure, and verify everything works. This is where you start.

2. Project Structure

Understand the monorepo layout — where code lives, how apps relate to each other, and where to put new code.

3. Architecture (Backend + Frontend)

Understand the design patterns before writing code:

4. Development Guides

Pick the guides relevant to your focus area:

Backend:

Frontend:

5. Common Tasks

Quick recipes for everyday operations: adding endpoints, pages, database tables, running migrations, and more.

ResourceURL
Frontendhttp://localhost:3000
Backend APIhttp://localhost:8000/api/v1/health
Swagger Docshttp://localhost:8000/api
Prisma StudioRun pnpm run backend:prisma:studio
Docs Sitehttp://localhost:3001