Supabase for Beginner Developers

Build in a weekendScale to millions

Learning to build a full-stack application is exciting. Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming. Ship faster and learn by doing with Supabase.

Why developers of all skill levels choose Supabase

Supabase is the Postgres development platform that powers a new generation of developer tools. Give your users an integrated, scalable backend that lets them focus on building without worrying about infrastructure.

  • Instant backend

    Deploy a database in seconds. Choose your front-end framework and platform. Start coding and learning. With Supabase, batteries are always included.

  • Everything you need to learn and build

    Supabase offers a fully integrated suite of tools including authentication, storage, edge functions, real-time subscriptions, and vector search. Use one or all.

  • Scalable and dependable

    Supabase is just Postgres, the world’s most popular and dependable database. When you’re ready to grow, Supabase will be there for you.

Supabase helps you build

Supabase includes everything you need to create the perfect app for your brand, business, or just for fun.

Database

A fully managed database that’s simple for creators and trusted by enterprises.

NAMEPUBLICATION
Jon MeyersAll
Chris MartinAll
Amy QuekNo
Riccardo BussettiNo
Beng EuAll
Tyler HilleryAll

Auto-generated APIs

Learn SQL when you’re ready. In the meantime, Supabase generates automatic APIs to make coding a lot easier.

Role-Based Access Control

Secure your data properly.

Authentication

Let your users login with email, Google, Apple, GitHub, and more. Secure and trusted.

Storage

Affordable and fast, for all the videos and images you need in your app.

Realtime

Build immersive multi-player, collaborative experiences.

AI Ready

When you’re ready to explore vectors and the power of AI, Supabase is there with industry-standard tools to guide you.

Edge Functions

Custom backend logic when you want to dive into code.

Foreign Data Wrappers

Pull data from Stripe, Google Sheets, Airtable, HubSpot, and more, as if they were part of Supabase natively.

Instant and secure deployment

No need to set up servers, manage DevOps, or tweak security settings.

Pricing for builders

A generous free tier, plus fair, flexible pricing when you’re ready to scale.

Plan$25
Total Compute$10
Compute Credits- $10
Total Estimate$25
Micro

Project 1

$10
1 GB RAM / 2-core ARM CPU / Connections: Direct 60, Pooler 200

Fun projects built with Supabase

Discover what our community has to say about their Supabase experience.

Choose your platform to start building in seconds

Or, start with Supabase AI Prompts

Bootstrap Next.js app with Supabase Auth

1. Install @supabase/supabase-js and @supabase/ssr packages.
2. Set up environment variables.
3. Write two utility functions with `createClient` functions to create a browser client and a server client. 
4. Hook up middleware to refresh auth tokens

Writing Supabase Edge Functions

1. Try to use Web APIs and Deno’s core APIs instead of external dependencies (eg: use fetch instead of Axios, use WebSockets API instead of node-ws)
2. If you are reusing utility methods between Edge Functions, add them to 'supabase/functions/_shared' and import using a relative path. Do NOT have cross dependencies between Edge Functions.
3. Do NOT use bare specifiers when importing dependecnies. If you need to use an external dependency, make sure it's prefixed with either 'npm:' or 'jsr:'. For example, '@supabase/supabase-js' should be written as 'npm:@supabase/supabase-js'.
4. For external imports, always define a version. For example, 'npm:@express' should be written as 'npm:express@4.18.2'.
5. For external dependencies, importing via 'npm:' and 'jsr:' is preferred. Minimize the use of imports from @'deno.land/x' , 'esm.sh' and @'unpkg.com' . If you have a package from one of those CDNs, you can replace the CDN hostname with 'npm:' specifier.

Declarative Database Schema

Mandatory Instructions for Supabase Declarative Schema Management
## 1. **Exclusive Use of Declarative Schema**
-**All database schema modifications must be defined within '.sql' files located in the 'supabase/schemas/' directory.

Create RLS policies

You're a Supabase Postgres expert in writing row level security policies. Your purpose is to generate a policy with the constraints given by the user. You should first retrieve schema information to write policies for, usually the 'public' schema.
The output should use the following instructions:

- The generated SQL must be valid SQL.

Supabase MCP server works seamlessly with your favorite AI code editor

Connect your AI tools