supabase-fallback

Query Supabase tables via PostgREST when the Spring Boot backend is offline.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/semicolon-devteam/semo --skill supabase-fallback
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: supabase-fallback
Source: https://github.com/semicolon-devteam/semo/tree/main/packages/biz/poc/skills/supabase-fallback
Command: npx skills add https://github.com/semicolon-devteam/semo --skill supabase-fallback

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Spring ๋ฐฑ์—”๋“œ๊ฐ€ ๋น„ํ™œ๋™ ์ƒํƒœ์ผ ๋•Œ Supabase๋ฅผ ์ง์ ‘ ์ฟผ๋ฆฌํ•˜๊ณ  ์˜จํ”„๋ ˜ ํ™˜๊ฒฝ์˜ PostgREST๋ฅผ ํ™œ์šฉํ•ฉ๋‹ˆ๋‹ค.

Core Features & Use Cases

  • ์ง์ ‘ ์ฟผ๋ฆฌ ์˜ˆ์‹œ: SELECT/INSERT/UPDATE/DELETE ํŒจํ„ด ์ œ๊ณต
  • ํด๋ผ์ด์–ธํŠธ ์„ ํƒ: ์„œ๋ฒ„/๋ธŒ๋ผ์šฐ์ € ํด๋ผ์ด์–ธํŠธ ๊ตฌ๋ถ„ ์˜ˆ์‹œ ์ œ๊ณต
  • ํ™˜๊ฒฝ ๊ตฌ์„ฑ ๊ฐ€์ด๋“œ: ํ™˜๊ฒฝ๋ณ€์ˆ˜ ๋ฐ ๋ณด์•ˆ ํ‚ค ๊ด€๋ฆฌ ์˜ˆ์‹œ

Quick Start

Supabase API๋ฅผ ์ง์ ‘ ํ˜ธ์ถœํ•˜๋Š” ์˜ˆ์ œ๋ฅผ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.

Frequently Asked Questions about supabase-fallback

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query a Supabase database directly when my Spring Boot backend is offline?โ–ผ

Query Supabase directly using PostgREST REST endpoints at /rest/v1 with environment variables for URL and API keys. Use Anon keys for read-only access or Service Role keys for write operations on tables like site_config_kv, bypassing the backend entirely when it's unavailable.

Can I perform INSERT, UPDATE, DELETE operations on Supabase via REST API without a backend service?โ–ผ

Yes, Supabase REST API supports SELECT, INSERT, UPDATE, DELETE, and UPSERT operations through PostgREST endpoints. Use Service Role keys to enable write access; Anon keys restrict to read-only, enforcing permission boundaries for different client types.

What's the difference between using Anon and Service Role keys when accessing Supabase?โ–ผ

Anon keys provide read-only access for public, browser-based clients; Service Role keys enable full write capabilities (INSERT, UPDATE, DELETE) for server-side or trusted clients. Choose based on your security requirements and whether the client needs data modification permissions.

How do I configure environment variables for direct Supabase API access in on-premises environments?โ–ผ

Set environment variables for your Supabase URL and API keys, then construct RESTful calls to PostgREST /rest/v1 endpoints. On-premises Supabase instances expose the same REST interface, allowing direct queries when configured with proper URL and authentication credentials.

When should I implement fallback Supabase queries instead of relying solely on my backend API?โ–ผ

Implement fallback Supabase queries when your Spring Boot backend may be offline or unavailable but you need continued data access. This pattern ensures operational resilience in on-premises environments where backend downtime would otherwise block all database operations.

What tables and operations can I target with direct Supabase PostgREST queries?โ–ผ

PostgREST REST API works with any Supabase table; common use cases include site_config_kv for configuration data. Supported operations are SELECT, INSERT, UPDATE, DELETE, and UPSERT, each callable as standard HTTP methods against /rest/v1 endpoints for your target tables.