Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn backend development and authentication using Supabase in this comprehensive tutorial designed specifically for frontend developers who may be intimidated by backend concepts. Set up a complete Supabase project from scratch, starting with project creation and obtaining your project URL and API key. Install and initialize Supabase in your development environment, then implement user authentication using magic links for a seamless login experience. Master user session management by detecting when users are logged in or out, and create database tables to store application data. Explore Row Level Security (RLS) to protect your data and configure permissions that allow authenticated users to create themes while preventing unauthorized access. Build functionality to retrieve themes from your Supabase database and implement duplicate prevention to maintain data integrity. Handle user-facing error messages gracefully to improve the overall user experience. This hands-on approach demonstrates how modern backend-as-a-service solutions can make database management and authentication accessible even for developers with primarily CSS and frontend backgrounds.
Syllabus
00:00 - Introduction
02:00 - Creating the supabase project
05:00 - Getting your project url + api key
07:50 - Installing supabase in the project
09:00 - Initiliazing supabase
10:50 - Setting up auth with magic links
32:00 - Detecting when a user is logged in our out
43:42 - Creating a table
52:33 - Setting up RLS
54:10 - Allow logged in users to create themes
1:06:10 - Get themes from supabase
1:09:53 - Prevent duplicate themes from being created
1:15:10 - User facing error messages
Taught by
Kevin Powell