Database
Supabase Integration
Supabase Registration Process
-
Visit Supabase Website
- Open your browser and visit Supabase website
- Click on "Get Started" or "Sign Up" button on the page
-
Create an Account
- You can choose to sign in with GitHub or register using email
- If choosing email registration, enter your email address and set a password
- Complete verification steps (if any)
-
Log in to Supabase Console
- After registration, you will be automatically redirected to the Supabase console
Creating a New Project
-
Create Project
- In the Supabase console, click the "New Project" button
- Select an organization (if this is your first time, you'll need to create one)
-
Configure Project
- Enter a project name (e.g., "my-app-db")
- Choose a database password (make sure to save this password)
- Select a geographical region for your project (recommend choosing the region closest to your users)
- Choose a pricing plan (free tier is available)
- Click "Create New Project" button
-
Wait for Project Creation
- Supabase will begin setting up your project, which may take a few minutes
- Once setup is complete, you'll be redirected to the project dashboard
Database Design and Creation
-
Access Database Interface
- Click on "Table Editor" in the project sidebar
- Or click on "SQL Editor" to create tables using SQL commands
-
Create New Tables According to the project's:
- migrations/supabase/auth.sql
- migrations/supabase/navstack.sql