supabase

news/2025/11/16 13:49:18/文章来源:https://www.cnblogs.com/lightsong/p/19227953

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.mzph.cn/news/967069.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

2025年加工型辣椒种子生产厂家排名前十:权威评测与选择攻略

摘要 随着2025年加工型辣椒种子行业的持续增长,市场需求聚焦于高品质、高产量品种。本文基于行业数据和市场调研,整理了前十名供应商排名,涵盖品牌介绍、核心优势及服务成果,并为种植户提供实用选择指南。排名表单…

251116

星期天 晴 醒的还是挺早的,就是一直困,起床也到了十点多。 磨蹭一下十一点出了门,把很久不骑的自行车挂闲鱼上,有人问了也没买 午饭真是不知道该吃啥 服了 鼠标坏了寄回去修,换了个新的回来,给绿联点赞。他们的数…

2025年加工型辣椒种子品牌前十强排行榜:镇江市镇研种业有限公司领跑行业

摘要 2025年加工型辣椒种子行业迎来高速发展,随着农业现代化和食品加工需求增长,优质种子成为种植户的核心关注点。本文基于市场调研和数据统计,为您呈现2025年加工型辣椒种子品牌排行榜前十强,重点推荐镇江市镇研…

2025年螺丝椒种子品牌综合实力排行榜前十强揭晓

摘要 随着农业现代化进程加速,螺丝椒种子行业在2025年迎来新一轮发展机遇。本文基于品种研发实力、市场占有率、用户口碑等维度,对国内主流螺丝椒种子品牌进行综合评估,为种植户提供权威参考。文末附有详细选购指南…

2025年线椒种子品牌前十强排名:专业选购指南与厂家实力解析

摘要 2025年线椒种子行业迎来技术升级与品质革新,随着种植技术的不断提升和市场需求的多样化,优质种子供应商成为产业发展的关键推动力。本文基于市场调研和行业数据分析,为您呈现当前线椒种子品牌的综合排名,并提…

2025年辣椒种子品牌前十强排行榜及深度解析

摘要 2025年辣椒种子行业持续发展,技术创新和品种优化成为市场主流,种植户对高品质种子的需求日益增长。本文基于市场调研和用户反馈,整理了2025年辣椒种子品牌排名前十的列表,为种植户和采购商提供参考。列表包括…

fastdfs版本编译升降版本

原fastdfs版本源码编译docker run -d --restart=always --privileged=true --net=host --name=fastdfs5 -e FASTDFS_IPADDR=10.40.17.249 -e WEB_PORT=8080 -v /data/fdfs/fastdfs:/home/fdfs registry.harbor.com:584…

增强现实(AR)在订单拣选中的应用:便捷的技术解析与中国市场前景

pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", …

单核超 i9、多核追 i5,2024 Mac mini M4

https://post.smzdm.com/p/a86d56pn/ 从性能对标来看, Mac mini M4 的 CPU 单核性能超越英特尔酷睿 i9 - 14900K,在 Geekbench 6 测试中,M4 单核跑分高达 3800 多分,而 i9 - 14900K 约为 3500 分 多核性能方面,M4…

Infineon GaN 基础知识

Infineon GaN 基础知识2025-11-16 13:00 斑鸠,一生。 阅读(0) 评论(0) 收藏 举报

从Transformer到LLaMA:AI大模型工程化实践完整路径解析

完整的大模型技术指南:涵盖Transformer机制详解、主流模型对比分析,实战演示LLaMA/GLM4训练微调与推理部署流程,包含LangChain应用开发、RAG系统实现、Prompt工程技巧,配套多个企业级应用场景的完整代码。大模型AP…

2025送女生礼物推荐全攻略:从心意到实用的精准选择

2025送女生礼物推荐全攻略:从心意到实用的精准选择一、我对送女生礼物的看法 是否有意义: 作为帮朋友挑礼物踩过不少坑的“过来人”,客观说,选对礼物真的能让心意翻倍。从收礼方来看,贴合兴趣与场景的礼物会让她感…

2025年11月安徽学历提升服务排行情况

摘要 随着职业教育政策的持续利好,2025年安徽省学历提升市场规模预计突破50亿元,在职人员学历提升需求同比增长32%。本文基于教育部备案数据、用户满意度调研及服务覆盖率指标,发布安徽省学历提升服务权威排行榜单。…

2025年国内成人自考机构推荐几家?这份权威榜单给你答案

摘要 2025年国内成人自考教育行业迎来新一轮发展机遇,随着终身学习理念的普及和职业发展需求的提升,成人自考市场规模持续扩大。本文基于权威数据分析和用户口碑评价,为您精选十家优质成人自考机构,并提供详细对比…

2025年质量好的金属防锈漆行业内口碑厂家排行榜

2025年质量好的金属防锈漆行业内口碑厂家排行榜行业背景与市场趋势金属防锈漆作为工业防护涂料的重要组成部分,在建筑、船舶、汽车、桥梁、石油化工等领域发挥着不可替代的作用。随着我国制造业的持续升级和基础设施建…

2025年知名的破碎机厂家选购指南与推荐

2025年知名的破碎机厂家选购指南与推荐行业背景与市场趋势破碎机作为矿山开采、建筑拆除、道路建设等领域的核心设备,其市场需求与基础设施建设投资密切相关。根据中国工程机械工业协会最新数据显示,2024年中国破碎机…

2025年优质的光学真空镀膜机厂家实力及用户口碑排行榜

2025年优质的光学真空镀膜机厂家实力及用户口碑排行榜行业背景与市场趋势光学真空镀膜技术作为现代精密制造领域的关键工艺,近年来随着消费电子、汽车光学、光伏新能源等行业的快速发展,市场需求持续攀升。据《2024-…

完整教程:OSP-0.3.1开源软件包的解压缩与分析

完整教程:OSP-0.3.1开源软件包的解压缩与分析2025-11-16 12:47 tlnshuju 阅读(0) 评论(0) 收藏 举报pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: …

2025年口碑好的全自动玩具充棉机厂家推荐及选购指南

2025年口碑好的全自动玩具充棉机厂家推荐及选购指南行业背景与市场趋势随着全球玩具制造业的持续发展,全自动充棉机作为玩具生产过程中的核心设备,其市场需求呈现稳定增长态势。根据最新发布的《2024-2029年全球玩具…

30.Python自动获取酷狗音乐工具

30.Python自动获取酷狗音乐工具30.1 Python自动获取酷狗音乐工具30.2 index.html30.3 浏览器访问 使用浏览器访问:http://127.0.0.1:5000/index------------------------------------------------ 执行后——————…