Supabase and Firebase let small teams launch apps without building a backend from scratch: sign-in, a database, file storage and real-time updates come ready to use. They are especially popular for MVPs, mobile apps and AI-built prototypes. The risk is that a misconfigured rule can expose all your data. This course teaches both platforms with security at the centre: every module that stores data also writes and tests the rule that protects it.

What you'll learn

  • What a backend-as-a-service provides and where its limits are
  • Supabase: Postgres tables, the auto-generated API and the JavaScript client
  • Supabase Row Level Security policies, and why every table needs them
  • Supabase Auth with email, magic links and social login
  • Supabase Storage, Realtime and Edge Functions
  • Firebase: Authentication, Cloud Firestore data modelling and queries
  • Firebase Security Rules for Firestore and Cloud Storage, tested with the Emulator Suite
  • Cloud Functions for Firebase for server-side logic and triggers
  • Using both from React, Next.js, Flutter and React Native apps
  • Costs, quotas, backups and planning a migration away if you outgrow a platform

Who it's for

  • Front-end and mobile developers who need a backend without managing servers
  • Founders building an MVP or validating an idea
  • Developers who generated an app with an AI tool and need to make its backend secure

Prerequisites

  • JavaScript basics (see Modern JavaScript Essentials)
  • Some experience with a front-end framework or mobile framework helps
  • Free Supabase and Firebase accounts

Outcomes

By the end of this course you will be able to:

  1. Build an app with sign-in, a database and file uploads on Supabase or Firebase.
  2. Write and test security policies so users only see their own data.
  3. Add real-time updates and server-side functions.
  4. Choose between the two platforms for a given project.

Projects you'll build

  • Team task board on Supabase: A multi-user task app with Supabase Auth, Postgres tables, Row Level Security so members only see their own team's tasks, and Realtime updates. Practises SQL policies, auth and subscriptions.
  • Photo-sharing app on Firebase: The same kind of app built with Firebase Authentication, Firestore and Cloud Storage, with Security Rules tested in the Emulator Suite before deployment. Practises document modelling and rules testing.
  • Security review of a generated backend: Take a prototype produced by an AI app builder, find tables or collections that anyone can read and fix the policies and rules. Practises the audit that catches the most common real-world failure on these platforms.

Tools you'll use

  • Supabase (Postgres, Auth, Storage, Realtime, Edge Functions) and the Supabase CLI
  • supabase-js
  • Firebase console and Firebase CLI
  • Cloud Firestore, Cloud Storage and Cloud Functions for Firebase
  • Firebase Local Emulator Suite
  • Next.js or React for the web client, Expo for mobile

Course outline

ModuleTopic
1Backend-as-a-service: benefits and trade-offs
2Supabase projects, tables and the client library
3Supabase Auth
4Row Level Security in depth
5Supabase Storage, Realtime and Edge Functions
6Firebase Authentication
7Firestore data modelling and queries
8Firebase Security Rules and the Emulator Suite
9Cloud Functions and Cloud Storage
10Connecting web and mobile apps
11Costs, limits, backups and migration
12Project: the same app on both platforms

FAQ

Supabase or Firebase?

Supabase is built on PostgreSQL, so it suits relational data and SQL skills. Firebase's Firestore is a document database with strong mobile and offline support. We compare them on a real app.

Do I need to know SQL?

It helps for Supabase. We cover the basics you need, and SQL and PostgreSQL Essentials goes further.

Is this course affiliated with Supabase or Google?

No. It covers the topics of both platforms using their public documentation.

What are the most common security mistakes?

Leaving Row Level Security disabled on a Supabase table, using the service role key in browser code, and Firestore rules that let any signed-in user read everything. The security modules test for exactly these.

Should I use a hosted backend or build my own?

A hosted backend is faster for MVPs and small teams. If you need complex business logic or full control, Node.js and Express or FastAPI teach you to build your own.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.