Skip to main content

Introduction

The codebase is set up in a monorepo via Turborepo. Here’s the monorepo structure:
apps
├── fleetsite
├── docs
├── configurator
├── directus
├── core

packages
├── email
├── supabase
├── tsconfig
├── ui
├── utils

supabase

The apps directory contains the code for:
Fleetsite and directus is getting moved into this monorepo
Configurator and Core is in alpha stage
The packages directory contains the code for:
  • email: Email templates.
  • supabase: Queries and client.
  • tsconfig: The TypeScript configuration.
  • ui: UI component library with storybook.
  • utils: A collection of utility functions and constants used across codebase.
The supabase directory contains the code for:
  • migrations: Database migrations.
  • seeds: Database seeds.
The supabase configuration is setup with branching

Running the monorepo locally