Fundamentals

The Fundamentals chapter introduces the essential concepts and components that form the backbone of Oracle Backend with Supabase APIs. It provides developers with a clear understanding of the platform’s architecture, supported services, and tools, ensuring a solid foundation before diving into advanced usage.

Key Terms and Definitions

This section provides a quick reference to important concepts used throughout Oracle Backend with Supabase APIs. To make it easier for developers, the terms are divided into two categories: Generic Terms, which are common across backend development, and Oracle‐Specific Terms, which are unique to Oracle and Oracle Backend with Supabase APIs.

Generic Terms

Oracle-Specific Terms

Architecture Overview

Requests follow this flow:

  1. Client request: The client calls a Supabase-style API with the project API key and, for authenticated access, a user JWT.
  2. Request validation: The service and ORDS validate the request, resolve the target project and schema, and verify any supplied user JWT. Invalid or expired credentials cause the request to fail before database SQL runs.
  3. Database application authentication: ORDS uses IAM client credentials stored in the ORDS wallet to obtain a database access token. The database identifies ORDS as the configured application identity.
  4. End user security context creation: The service creates or refreshes the context with server-verified identity, project, service, operation, and data-role values.
  5. DDS authorization and execution: DDS evaluates data grants against the active data roles and context attributes. A matching grant permits the operation; otherwise, DDS denies it. Authorized SQL or PL/SQL runs under the request-specific security context.
  6. Connection reuse: Before reusing a pooled connection, the service replaces or clears the context to prevent identity or role information from affecting another request.

Backend Overview

The service exposes Supabase-compatible APIs through ORDS for authentication, relational database access, and object storage. Deep Data Security enforces authorization on the target schema based on the authenticated application user, project schema, and applicable data grants.

Deep Data Security Overview

Oracle Deep Data Security (DDS) is a database-enforced data authorization framework. It enables application developers and security architects to define and enforce application-level security requirements directly at the database layer.

For Supabase-compatible APIs, DDS bases schema authorization on the authenticated application user, target project schema, and applicable data grants.

Supported Platforms

Oracle Backend with Supabase APIs currently supports web applications through the modular JavaScript SDK.

JavaScript SDK Overview

The JavaScript SDK provides APIs for relational tables and views. It supports CRUD operations, filters, JSON paths, ordering, pagination, joins, aggregates, RPC, request controls, and structured errors.

The SDK also provides these service APIs:

Console Overview

The Oracle Backend with Supabase APIs Console provides a web interface for managing projects, applications, and backend services. Use it to configure authentication, work with relational data and files, and manage data access with DDS.

Key Capabilities

CLI Overview

The fusabase command-line interface (CLI) provides scriptable workflows for Oracle Backend with Supabase APIs. Use it to manage projects and services from a terminal or automate repetitive tasks.

Key Capabilities