Introduction to Oracle Backend with Supabase APIs
Oracle Backend with Supabase APIs is a self-managed toolkit for building web apps with Oracle AI Database. Use the JavaScript SDK, command-line tool, and web console to connect your apps to the database and manage users, data access, and file storage. You manage the database deployment, whether on-premises or on infrastructure as a service (IaaS).
Oracle Backend with Supabase APIs follows Supabase design principles and API patterns to provide a familiar developer experience. Its SDK interfaces are designed to mirror Supabase SDK interfaces where appropriate, helping developers move across backends with minimal changes. Oracle Backend with Supabase APIs is a distinct Oracle offering.
Configuring Oracle Backend with Supabase APIs requires an Oracle Cloud Infrastructure Identity and Access Management (OCI IAM) identity domain.
What is Oracle Backend with Supabase APIs?
Use the JavaScript SDK to authenticate users, read and write application data, and manage file uploads and downloads.
Configure backend services in the web console and control data access with Deep Data Security (DDS). You can also integrate directly using the REST API.
Key features include the following:
-
User authentication, including registration, sign-in, and token and session management
-
Authentication options: Basic, LDAP, Oracle IDCS, and social providers (Google, Facebook, GitHub)
-
APIs for reading and updating data in Oracle AI Database
-
File storage management for handling uploads and downloads
-
Fine-grained data access control with DDS
Oracle Backend with Supabase APIs includes the following components:
-
SDK for JavaScript (web)
-
Direct access to REST APIs for integrating with other environments
-
ORDS (Oracle REST Data Services) for providing REST endpoints to the SDK
-
A web console for managing projects, users, data, and files
-
A command-line interface (CLI) for managing Oracle Backend with Supabase APIs projects
Integration with Oracle AI Database
The JavaScript SDK calls APIs exposed through ORDS for authentication, storage, and database operations.
-
Oracle AI Database supports relational data and JSON. The JavaScript SDK provides APIs for tables and views, including queries on JSON paths within columns.
-
You can deploy Oracle Backend with Supabase APIs on-premises, in Oracle Cloud, in containers, or on IaaS from other cloud providers.
-
ORDS provides the REST interface to Oracle AI Database. Oracle Backend with Supabase APIs creates ORDS REST endpoints as a bridge between the database and the JavaScript SDK. These API endpoints enforce authentication and authorization for accessing the services. The SDK interacts with the backend using HTTP.
-
For relational database operations, the SDK builds request payloads and sends them to the backend.
Advantages of Using Oracle Backend with Supabase APIs
Application Development
-
Use SDK APIs for authentication, database operations, and storage.
-
Use the web console for service configuration and project setup.
Enterprise-Grade Backend
-
Running on Oracle AI Database offers industry-standard reliability, performance, security features, and scalability.
-
Oracle AI Database supports compliance, auditing, and operational capabilities expected in enterprise deployments.
JavaScript SDK
-
The JavaScript SDK supports web applications.
-
Build web applications, including progressive web apps (PWAs), for desktop and mobile browsers.
Self-Managed Deployment
-
Deploy on-premises or on IaaS to control where data is stored and processed.
-
Integrate with enterprise authentication and storage systems.
Application Security
Configure the OCI IAM identity domain with a database resource server and a confidential application for ORDS. ORDS uses these service credentials to obtain database access tokens for DDS.
Note: If you choose Oracle Identity Cloud Service (IDCS) for application-user authentication, use a non-Free IAM identity domain. IDCS setup requires end-user self-registration, which Free identity domains do not support.
-
Database-enforced authorization with DDS.
-
Data roles and data grants control access using the end-user security context.