Supabase

111k GitHub starssupabase/supabase

Everything behind an app in one place: a database for your data, sign-in for your users, file storage and live updates. Open source and free to start.

View on GitHub

Build a stack with Supabase

Pick parts from it and the projects that work well with it. We check the licences together and write a prompt for your AI.

Supabase
Prisma
Svelte
shadcn/ui
Meilisearch

Your stack

Tick the parts you want to use. Projects whose parts are not listed yet can be added whole; the prompt tells your AI to find the right pieces in their code.

Website (opens in a new tab)
More actions

Why we picked it

Supabase gives you the whole "behind the scenes" part of an app in one package, so you don't have to build it yourself. Your data lives in Postgres, one of the most trusted databases in the world, so you're never stuck: you can take your data and move it whenever you like. A large full-time team works on it, it's updated often, the instructions are clear, and you're free to run every piece on your own servers.

About Supabase

Most apps have two halves: the part people see and tap on, and the part behind the scenes that stores information, remembers who's logged in and keeps uploaded files. That second half is called the back end, and building it from scratch takes a lot of time. Supabase gives you a ready-made back end, so you can spend your time on the app itself.

What's inside

  • A database. A safe, organised place for your app's information, such as users, orders or messages. It's Postgres, used by companies of every size. It can also search by meaning rather than exact words, which is what AI features like "chat with your documents" need.
  • Sign-in. People can create an account and log in with an email and password, a one-click link sent to their inbox, their phone number, or accounts they already have, like Google or GitHub. You set rules for who can see what, so one person can never read another person's data.
  • Ready-made connections. As soon as you add a table, your app can read and save its data. Nobody has to write server code first.
  • Live updates. When something changes, everyone sees it straight away without refreshing: a new chat message, a number on a dashboard, who's online right now.
  • File storage. A home for the photos, documents and videos people upload, with control over who can open them. Images can be resized automatically so they load quickly on phones.
  • Small pieces of your own code. For the few jobs that need custom logic, like sending a welcome email or handling a payment.
  • A control panel. Look through your data, users and activity in a web dashboard that works a lot like a spreadsheet.

Use their servers, or your own

You can start on supabase.com, which has a free plan, or run everything on your own servers. Because it's all built on standard technology, switching later means moving your data, not rebuilding your app.

Is it right for you?

It's a great fit if you want to launch a web or mobile app quickly, without first hiring someone to build the back end. If your app mostly needs custom logic on the server, or you'd rather store data as flexible documents than in tables, compare it with Appwrite or PocketBase.

What you can build with it

  • A subscription app where people sign up and keep their own data
  • A chat app or shared workspace that updates live
  • The back end for an iPhone or Android app
  • An AI assistant that answers questions from your own documents
  • Dashboards and admin tools for your team

Building blocks

Supabase is made of parts you can use on their own in your project. Copy a prompt to have your AI assistant add one for you, and see the licence card for what you may do with them.

  • Connect your app to Supabase

    Free to use, even in closed products

    Lets your website or app read and save data, sign people in, upload files and get live updates from a Supabase back end, with a few lines of code.

    Use it to build

    • Web and mobile apps on Supabase
    • Serverless functions
    • Internal dashboards
    View code
    Technical details
    Name
    supabase-js
    What it is
    Client for talking to it from code
    How to use it
    Install it and use it
    Install
    npm i @supabase/supabase-js
    Licence
    MIT License (read from supabase/supabase-js/LICENSE)
  • Sign-in and user accounts

    Free to use, even in closed products

    Lets people sign up and log in with email and password, magic links, or accounts like Google and GitHub. Runs as its own server next to your Postgres database.

    Use it to build

    • Self-hosted SaaS back ends
    • Replacing a paid auth provider
    • Apps already on Postgres
    View code
    Technical details
    Name
    Auth (GoTrue)
    What it is
    Server you run yourself
    How to use it
    Run it on your own server
    Install
    docker pull supabase/gotrue
    Licence
    MIT License (read from supabase/auth/LICENSE)
  • Live updates and chat

    Free to use, even in closed products

    Pushes changes to everyone’s screen the moment data changes, and shows who is online. The piece behind live dashboards and chat.

    Use it to build

    • Live dashboards
    • Collaborative apps
    • Chat and notifications
    View code
    Technical details
    Name
    Realtime
    What it is
    Server you run yourself
    How to use it
    Run it on your own server
    Install
    docker pull supabase/realtime
    Licence
    Apache 2.0 (read from supabase/realtime/LICENSE)
  • File uploads and storage

    Free to use, even in closed products

    Stores the files people upload, like photos and documents, controls who can see them, and resizes images on the fly.

    Use it to build

    • User uploads in SaaS apps
    • Self-hosted file storage
    • Image-heavy products
    View code
    Technical details
    Name
    Storage API
    What it is
    Server you run yourself
    How to use it
    Run it on your own server
    Install
    docker pull supabase/storage-api
    Licence
    Apache 2.0 (read from supabase/storage/LICENSE)

Works well with

  • Prisma

    47.6k GitHub stars

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

    • ORMs
    • Apache 2.0
  • Svelte

    88.2k GitHub stars

    web development for the rest of us

    • Frameworks
    • MIT License
  • shadcn/ui

    124k GitHub stars

    Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.

    • UI components
    • MIT License
  • Meilisearch

    59.4k GitHub stars

    A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.

    • Search engines
    • Other license

Comments

No comments yet. Be the first to share your thoughts.