当前位置: 首页 > news >正文

supabase

supabase

https://github.com/supabase/supabase

Supabase

Supabase is the Postgres development platform. We're building the features of Firebase using enterprise-grade open source tools.

  • Hosted Postgres Database. Docs
  • Authentication and Authorization. Docs
  • Auto-generated APIs.
    • REST. Docs
    • GraphQL. Docs
    • Realtime subscriptions. Docs
  • Functions.
    • Database Functions. Docs
    • Edge Functions Docs
  • File Storage. Docs
  • AI + Vector/Embeddings Toolkit. Docs
  • Dashboard

Supabase Dashboard

Watch "releases" of this repo to get notified of major updates.

 

How it works

Supabase is a combination of open source tools. We’re building the features of Firebase using enterprise-grade, open source products. If the tools and communities exist, with an MIT, Apache 2, or equivalent open license, we will use and support that tool. If the tool doesn't exist, we build and open source it ourselves. Supabase is not a 1-to-1 mapping of Firebase. Our aim is to give developers a Firebase-like developer experience using open source tools.

Architecture

Supabase is a hosted platform. You can sign up and start using Supabase without installing anything. You can also self-host and develop locally.

Architecture

  • Postgres is an object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
  • Realtime is an Elixir server that allows you to listen to PostgreSQL inserts, updates, and deletes using websockets. Realtime polls Postgres' built-in replication functionality for database changes, converts changes to JSON, then broadcasts the JSON over websockets to authorized clients.
  • PostgREST is a web server that turns your PostgreSQL database directly into a RESTful API.
  • GoTrue is a JWT-based authentication API that simplifies user sign-ups, logins, and session management in your applications.
  • Storage a RESTful API for managing files in S3, with Postgres handling permissions.
  • pg_graphql a PostgreSQL extension that exposes a GraphQL API.
  • postgres-meta is a RESTful API for managing your Postgres, allowing you to fetch tables, add roles, and run queries, etc.
  • Kong is a cloud-native API gateway.

Client libraries

Our approach for client libraries is modular. Each sub-library is a standalone implementation for a single external system. This is one of the ways we support existing tools.

LanguageClientFeature-Clients (bundled in Supabase client)
 SupabasePostgRESTGoTrueRealtimeStorageFunctions
⚡️ Official ⚡️
JavaScript (TypeScript) supabase-js postgrest-js gotrue-js realtime-js storage-js functions-js
Flutter supabase-flutter postgrest-dart gotrue-dart realtime-dart storage-dart functions-dart
Swift supabase-swift postgrest-swift auth-swift realtime-swift storage-swift functions-swift
Python supabase-py postgrest-py gotrue-py realtime-py storage-py functions-py
💚 Community 💚
C# supabase-csharp postgrest-csharp gotrue-csharp realtime-csharp storage-csharp functions-csharp
Go - postgrest-go gotrue-go - storage-go functions-go
Java - - gotrue-java - storage-java -
Kotlin supabase-kt postgrest-kt auth-kt realtime-kt storage-kt functions-kt
Ruby supabase-rb postgrest-rb - - - -
Rust - postgrest-rs - - - -
Godot Engine (GDScript) supabase-gdscript postgrest-gdscript gotrue-gdscript realtime-gdscript storage-gdscript functions-gdscript

Badges

Architecture#

Supabase is a combination of open source tools, each specifically chosen for Enterprise-readiness.

If the tools and communities already exist, with an MIT, Apache 2, or equivalent open license, we will use and support that tool. If the tool doesn't exist, we build and open source it ourselves.

Diagram showing the architecture of Supabase. The Kong API gateway sits in front of 7 services: GoTrue, PostgREST, Realtime, Storage, pg_meta, Functions, and pg_graphql. All the services talk to a single Postgres instance.

  • Kong is a cloud-native API gateway.
  • GoTrue is an JWT based API for managing users and issuing JWT tokens.
  • PostgREST is a web server that turns your Postgres database directly into a RESTful API
  • Realtime is an Elixir server that allows you to listen to Postgres inserts, updates, and deletes using WebSockets. Realtime polls Postgres' built-in replication functionality for database changes, converts changes to JSON, then broadcasts the JSON over WebSockets to authorized clients.
  • Storage provides a RESTful interface for managing Files stored in S3, using Postgres to manage permissions.
  • postgres-meta is a RESTful API for managing your Postgres, allowing you to fetch tables, add roles, and run queries, etc.
  • Postgres is an object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
  • Supavisor is a scalable connection pooler for Postgres, allowing for efficient management of database connections.

For the system to work cohesively, some services require additional configuration within the Postgres database. For example, the APIs and Auth system require several default roles and the pgjwt Postgres extension.

You can find all the default extensions inside the schema migration scripts repo. These scripts are mounted at /docker-entrypoint-initdb.d to run automatically when starting the database container.

 

 

 

 

 

http://www.zskr.cn/news/51203.html

相关文章:

  • 2025年加工型辣椒种子生产厂家排名前十:权威评测与选择攻略
  • 251116
  • 2025年线椒种子品牌前十强排名:专业选购指南与厂家实力解析
  • 华为鲲鹏 Aarch64 环境下多 Oracle 数据库汇聚操作指南 CMP(类 Cloudera CDP 7.3) - 指南
  • 这段时间的NOIP模拟赛
  • 《重生之我成为世界顶级黑客》第三章:艰难的抉择
  • docker - 6 docker 部署 net core
  • 详细介绍:系统同步输出延迟分析(七)
  • 六相电机矢量控制仿真
  • 大一新生记录成为嵌入式工程师的第一天
  • 从Transformer到LLaMA:AI大模型工程化实践完整路径解析
  • 2025送女生礼物推荐全攻略:从心意到实用的精准选择
  • 2025年11月安徽学历提升服务排行情况
  • 2025年口碑好的全自动玩具充棉机厂家推荐及选购指南
  • 2025年比较好的贴片电位器厂家最新权威实力榜
  • 2025年耐用的NXG型滚柱式电机逆止器厂家最新实力排行
  • 25.Python自动化开发-考勤处理
  • 27.Python自动化开发-微信统计
  • 2025年口碑好的切不锈钢圆锯机品牌厂家排行榜
  • 22.Python制作12306查票工具
  • 2025年热门的型钢汽车铰链锯切专机厂家推荐及选择参考
  • Redis:访问redis报错(error) NOAUTH Authentication required
  • 20.Python协程详解公开课
  • 叮咚~
  • 2025年11月国内维修厂家综合实力与口碑推荐排行榜
  • 2025年评价高的光伏逆变器柜机柜空调TOP实力厂家推荐榜
  • 2025年评价高的晶铸石栏杆TOP实力厂家推荐榜
  • 古董电路分析,GUAED的应用
  • 2025年靠谱的净化材料净化板厂家推荐及选购指南
  • MOshell (8) : 解码爱立信RNC的UETR/GPEH事件测量体系 - 实践