# supabase Firebase 替代品,云函数, 支持多种编程sdk - [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 - [Storage](https://github.com/supabase/storage-api) 提供了一个 RESTful 接口,用于管理存储在 S3 中的文件,使用 Postgres 来管理权限。 - [postgres-meta](https://github.com/supabase/postgres-meta) 是一个 RESTful API,用于管理你的 Postgres,允许你获取表、添加角色和运行查询等。 - [GoTrue](https://github.com/netlify/gotrue) 是一个基于 SWT 的 API,用于管理用户和发布 SWT 令牌。 - [Kong](https://github.com/Kong/kong) 是一个云原生 API 网关。 ## Usage 网站注册,新建项目,利用sdk开发各种应用即可。 自托管,查看develop章节 ## Develop [docker 部署](https://supabase.com/docs/guides/self-hosting/docker) ``` # Get the code git clone --depth 1 https://github.com/supabase/supabase # Go to the docker folder cd supabase/docker # Copy the fake env vars cp .env.example .env # Pull the latest images docker compose pull # Start the services (in detached mode) docker compose up -d docker compose ps ``` 默认打开8000端口,默认账户: ``` Username: supabase Password: this_password_is_insecure_and_should_be_updated ```