## 文档
完整的文档,请访问 [supabase.com/docs](https://supabase.com/docs)
了解如何贡献,请访问[入门](../DEVELOPERS.md)
## 社区与支持
- [社区论坛](https://github.com/supabase/supabase/discussions)。适用于:帮助建立和讨论数据库的最佳实践。
- [GitHub Issues](https://github.com/supabase/supabase/issues)。适用于:你在使用 Supabase 时遇到的 bug 和错误。
- [邮件支持](https://supabase.com/docs/support#business-support)。适用于:你的数据库或基础设施的问题。
- [Discord](https://discord.supabase.com)。适用于:分享你的应用程序以及在社区一起玩起来。
## 工作方式
Supabase 是一个开源工具的组合。我们正在使用企业级的开源产品构建 Firebase 的功能。如果存在相应的工具和社区,并且有 MIT、Apache 2 或同等的开放许可,我们将使用并支持该工具。如果该工具不存在,我们就自己开发并开放源代码。Supabase 不是 Firebase 的一对一映射。我们的目标是使用开源工具为开发者提供类似 Firebase 的开发者体验。
**当前架构**
Supabase 是一个[托管平台](https://supabase.com/dashboard)。你可以注册并开始使用 Supabase,而无需安装任何软件。
你也可以[自托管](https://supabase.com/docs/guides/hosting/overview)和[本地开发](https://supabase.com/docs/guides/local-development)。

- [PostgreSQL](https://www.postgresql.org/) 是一个对象关系型数据库系统,经过 30 多年的积极开发,它在可靠性、功能健壮性和性能方面赢得了很好的声誉。
- [Realtime](https://github.com/supabase/realtime) 是一个 Elixir 服务器,允许你使用 WebSocket 监听 PostgreSQL 的插入、更新和删除。Supabase 监听 Postgres 的内置复制功能,将复制的字节流转换为 JSON,然后通过 WebSocket 广播 JSON。
- [PostgREST](http://postgrest.org/) 是一个 Web 服务器,可以将你的 PostgreSQL 数据库直接生成 RESTful API
- [GoTrue](https://github.com/supabase/gotrue) 是一个基于 SWT 的 API,用于管理用户和发布 SWT 令牌。
- [Storage](https://github.com/supabase/storage-api) 提供了一个 RESTful 接口,用于管理存储在 S3 中的文件,使用 Postgres 来管理权限。
- [pg_graphql](http://github.com/supabase/pg_graphql/) 公开GraphQL API的PostgreSQL扩展
- [postgres-meta](https://github.com/supabase/postgres-meta) 是一个 RESTful API,用于管理你的 Postgres,允许你获取表、添加角色和运行查询等。
- [Kong](https://github.com/Kong/kong) 是一个云原生 API 网关。
#### 客户端库
我们的客户库是模块化的。每一个子库都是一个独立的实现,用于一个单一的外部系统。这是我们支持现有工具的方式之一。
| 语言 | 客户端 | 模块-客户端(已集成在 Supabase 客户端中) | ||||
|---|---|---|---|---|---|---|
| Supabase | PostgREST | GoTrue | Realtime | Storage | Functions | ⚡️ 官方 ⚡️ |
| JavaScript (TypeScript) | supabase-js | postgrest-js | auth-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 | gotrue-swift | realtime-swift | storage-swift | functions-swift |
| Python | supabase-py | postgrest-py | gotrue-py | realtime-py | storage-py | functions-py | 💚 社区 💚 |
| 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 | gotrue-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 |