NPM Star
Collections
  1. Home
  2. Compare
  3. firebase vs supabase
NPM Compare

Compare NPM packages statistics, trends, and features

CollectionsVS Code extensionChrome extensionTermsPrivacyLinkTreeIndiehackersBig Frontendqiuyumi

Firebase vs Supabase: Backend-as-a-Service (BaaS) Platforms

Firebase and Supabase are popular services that give developers ready-made backend tools without having to build everything from scratch. Firebase is Google's platform that offers real-time database, authentication, and hosting, while Supabase is an open-source alternative that markets itself as the 'Firebase alternative' with PostgreSQL database. Both help developers build apps faster by providing essential backend features.

Backend Servicesdatabaseauthenticationreal-timehostingbackend

Unable to load comparison data. Please try again later.

Similar Packages

Appwrite

90%

An open-source backend platform that provides a Firebase-like experience. It offers authentication, database, storage, and serverless functions that you can host yourself.

Perfect for developers who want Firebase features but prefer self-hosting. It's easier to set up than Firebase and has a very friendly community. The free self-hosted version gives you complete control over your data.

Backend as a Service (BaaS)

Parse Platform

85%

An open-source backend framework that was originally created by Facebook. It provides features like user authentication, real-time database, and file storage.

It's a mature platform with features very similar to Firebase, but gives you the freedom to host it yourself. Good for developers who want something battle-tested and well-documented.

Backend as a Service (BaaS)

Nhost

85%

An open-source backend that combines Hasura (GraphQL), Postgres database, and auth in one package. It's like Supabase but with a focus on GraphQL.

Perfect for developers who love GraphQL and want a modern alternative to Firebase/Supabase. It's especially good if you're building apps that need real-time features.

Backend as a Service (BaaS)

PocketBase

80%

A single-file backend solution that includes a database, authentication, and file storage. It's super easy to set up and runs on a single executable file.

Great for small to medium projects where you want something simpler than Firebase but more powerful than a basic database. It's perfect for developers who want to start quickly without complex setup.

Backend as a Service (BaaS)

AWS Amplify

75%

Amazon's full-featured development platform that includes authentication, database, storage, and API management. It's like Firebase but integrated with AWS services.

Good choice if you're already using AWS or plan to use other AWS services. It offers more advanced features than Firebase but might be more complex to set up.

Backend as a Service (BaaS)

No README available

Supabase CLI

Coverage Status Bitbucket Pipelines Gitlab Pipeline Status

Supabase is an open source Firebase alternative. We're building the features of Firebase using enterprise-grade open source tools.

This repository contains all the functionality for Supabase CLI.

  • [x] Running Supabase locally
  • [x] Managing database migrations
  • [x] Creating and deploying Supabase Functions
  • [x] Generating types directly from your database schema
  • [x] Making authenticated HTTP requests to Management API

Getting started

Install the CLI

Available via NPM as dev dependency. To install:

npm i supabase --save-dev

When installing with yarn 4, you need to disable experimental fetch with the following nodejs config.

NODE_OPTIONS=--no-experimental-fetch yarn add supabase

Note For Bun versions below v1.0.17, you must add supabase as a trusted dependency before running bun add -D supabase.

<details> <summary><b>macOS</b></summary>

Available via Homebrew. To install:

brew install supabase/tap/supabase

To install the beta release channel:

brew install supabase/tap/supabase-beta brew link --overwrite supabase-beta

To upgrade:

brew upgrade supabase
</details> <details> <summary><b>Windows</b></summary>

Available via Scoop. To install:

scoop bucket add supabase https://github.com/supabase/scoop-bucket.git scoop install supabase

To upgrade:

scoop update supabase
</details> <details> <summary><b>Linux</b></summary>

Available via Homebrew and Linux packages.

via Homebrew

To install:

brew install supabase/tap/supabase

To upgrade:

brew upgrade supabase

via Linux packages

Linux packages are provided in Releases. To install, download the .apk/.deb/.rpm/.pkg.tar.zst file depending on your package manager and run the respective commands.

sudo apk add --allow-untrusted <...>.apk
sudo dpkg -i <...>.deb
sudo rpm -i <...>.rpm
sudo pacman -U <...>.pkg.tar.zst
</details> <details> <summary><b>Other Platforms</b></summary>

You can also install the CLI via go modules without the help of package managers.

go install github.com/supabase/cli@latest

Add a symlink to the binary in $PATH for easier access:

ln -s "$(go env GOPATH)/bin/cli" /usr/bin/supabase

This works on other non-standard Linux distros.

</details> <details> <summary><b>Community Maintained Packages</b></summary>

Available via pkgx. Package script here. To install in your working directory:

pkgx install supabase

Available via Nixpkgs. Package script here.

</details>

Run the CLI

supabase bootstrap

Or using npx:

npx supabase bootstrap

The bootstrap command will guide you through the process of setting up a Supabase project using one of the starter templates.

Docs

Command & config reference can be found here.

Breaking changes

We follow semantic versioning for changes that directly impact CLI commands, flags, and configurations.

However, due to dependencies on other service images, we cannot guarantee that schema migrations, seed.sql, and generated types will always work for the same CLI major version. If you need such guarantees, we encourage you to pin a specific version of CLI in package.json.

Developing

To run from source:

# Go >= 1.22 go run . help

Dependencies Comparison

firebase

Dependencies

@firebase/ai2.6.1
@firebase/app0.14.6
@firebase/auth1.12.0
@firebase/util1.13.0
@firebase/storage0.14.0
@firebase/database1.1.0
@firebase/analytics0.10.19
@firebase/app-check0.11.0
@firebase/app-types0.9.3
@firebase/firestore4.9.3
@firebase/functions0.13.1
@firebase/messaging0.12.23
@firebase/app-compat0.5.6
@firebase/auth-compat0.6.2
@firebase/performance0.7.9
@firebase/data-connect0.3.12
@firebase/installations0.6.19
@firebase/remote-config0.7.0
@firebase/storage-compat0.4.0
@firebase/database-compat2.1.0
@firebase/analytics-compat0.2.25
@firebase/app-check-compat0.4.0
@firebase/firestore-compat0.4.3
@firebase/functions-compat0.4.1
@firebase/messaging-compat0.2.23
@firebase/performance-compat0.2.22
@firebase/installations-compat0.2.19
@firebase/remote-config-compat0.2.20

Dev Dependencies

gulp4.0.2
rollup2.79.2
typescript5.5.4
gulp-replace1.1.4
gulp-sourcemaps3.0.0
rollup-plugin-uglify6.0.4
@rollup/plugin-terser0.4.4
rollup-plugin-license3.5.3
@rollup/plugin-commonjs21.1.0
rollup-plugin-sourcemaps0.6.3
rollup-plugin-typescript20.36.0
@rollup/plugin-node-resolve16.0.0

Peer Dependencies

supabase

Dependencies

bin-links^6.0.0
https-proxy-agent^7.0.2
node-fetch^3.3.2
tar7.5.2

Dev Dependencies

Peer Dependencies

Who's Using These Packages

firebase

tw5-firebase
tw5-firebase

Use Google Firebase to host your TiddlyWiki5 wiki!

promptfu-gatsbyjs
promptfu-gatsbyjs

Gatsbyjs site supplying

supabase

giessdenkiez-de
giessdenkiez-de

The consequences of climate change, especially the dry and hot summers, are putting a strain on Berlin's ecosystem. Our urban trees are drying out and suffering long-term damage. Gieß den Kiez is made to enable coordinated citizen participation in the irrigation of urban trees.

combonautas-rpg
combonautas-rpg

Projeto para disponibilizar e melhorar informações de sistemas de RPG

midex-app
midex-app
Soombook
Soombook
combo-1
combo-1