Directory Structure

Local Instance of Supabase

Directory structure of the Supabase local development setup including functions, migrations, and configuration.

Structure of Supabase App

CloudNua Mobile incorporates Supabase, an open-source backend-as-a-service platform. For development, a local instance is configured using the Supabase CLI.

Overview

|-- ...
|-- apps
|   |-- expo
|   |-- next
|   |-- supabase
|   |   |-- supabase
|   |   |   |-- functions
|   |   |   |-- migrations
|   |   |   |-- templates
|   |   |   |-- config.toml
|   |   |   |-- seed.sql
|   |   |-- .env
|   |   |-- ...
|-- ...

functions Directory

The functions directory holds server-side logic and operations for your Supabase backend implementation.

migrations Directory

Contains database migration files that track schema changes over time, ensuring consistent database state across environments.

templates Directory

Houses email and other templates used by Supabase services.

config.toml

The main Supabase configuration file for your local instance, including auth settings, API configuration, and service ports.

seed.sql

Initial database seed data for local development, providing a consistent starting state for your application.

AvatarEnda Kelly

© 2026 Enda Kelly, trading as CloudNua. All rights reserved.

Ireland