Guide
Supabase Project Structure

Supabase Project Structure

[Architecture: Supabase Project Structure] [L: Introduction]

Supabase is an open source Firebase alternative and gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Supabase codebase is quite large. In this guide, you will learn the project structure used in Supabase.

Inspired by Bulletproof-react's Project Structure , We provide an overview of the folder structure.

Supabase is a monorepo and uses Turborepo build system

In this guide, we study the project structure in this order:

  1. Root level structure
  2. apps structure
  3. docker structure
  4. examples structure
  5. i18n structure
  6. packages structure
  7. playwright-tests
  8. scripts
  9. supabase
  10. tests
  11. vale/styles

You will find additional tooling and configuration at the root level, these are analyzed and documented in Supabase tooling.

References:

  1. https://turbo.build/repo/docs
  2. https://github.com/alan2207/bulletproof-react/blob/master/docs/project-structure.md
  3. https://github.com/supabase/supabase