当前位置: 首页 > 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.jsqmd.com/news/41845/

相关文章:

  • 2025年加工型辣椒种子生产厂家排名前十:权威评测与选择攻略
  • 251116
  • 2025年加工型辣椒种子品牌前十强排行榜:镇江市镇研种业有限公司领跑行业
  • 2025年螺丝椒种子品牌综合实力排行榜前十强揭晓
  • 2025年线椒种子品牌前十强排名:专业选购指南与厂家实力解析
  • 2025年辣椒种子品牌前十强排行榜及深度解析
  • 华为鲲鹏 Aarch64 环境下多 Oracle 数据库汇聚操作指南 CMP(类 Cloudera CDP 7.3) - 指南
  • 这段时间的NOIP模拟赛
  • 《重生之我成为世界顶级黑客》第三章:艰难的抉择
  • docker - 6 docker 部署 net core
  • mivlus:下载all-MiniLM-L6-v2语言模型
  • 详细介绍:系统同步输出延迟分析(七)
  • 公司内网如何安装volta到linux
  • 六相电机矢量控制仿真
  • 大一新生记录成为嵌入式工程师的第一天
  • fastdfs版本编译升降版本
  • 增强现实(AR)在订单拣选中的应用:便捷的技术解析与中国市场前景
  • 单核超 i9、多核追 i5,2024 Mac mini M4
  • Infineon GaN 基础知识
  • 从Transformer到LLaMA:AI大模型工程化实践完整路径解析
  • 2025送女生礼物推荐全攻略:从心意到实用的精准选择
  • 2025年11月安徽学历提升服务排行情况
  • 2025年国内成人自考机构推荐几家?这份权威榜单给你答案
  • 2025年质量好的金属防锈漆行业内口碑厂家排行榜
  • 2025年知名的破碎机厂家选购指南与推荐
  • 2025年优质的光学真空镀膜机厂家实力及用户口碑排行榜
  • 完整教程:OSP-0.3.1开源软件包的解压缩与分析
  • 2025年口碑好的全自动玩具充棉机厂家推荐及选购指南
  • 30.Python自动获取酷狗音乐工具
  • PandaCoder:我的个人开发者工具进化之路