Preview Changes Locally
Login to Your App
Section titled “Login to Your App”You can view your app on localhost:3000 when it is running.
Adding a New User via Supabase
Section titled “Adding a New User via Supabase”You will need to go to your user Supabase Develop project and add a new User to the Authentication table to login for the first time.
Adding a User as an Admin
Section titled “Adding a User as an Admin”UPDATE auth.users SET raw_user_meta_data = JSONB_SET( raw_user_meta_data, '{roles}', '["admin"]'::jsonb, TRUE ) WHERE email = '<Your-Email>';
This is what your app should look like when you login for the first time.
Known Issue | Troubleshooting | Status |
---|---|---|
Network tab invoke methods throw ERR_ABORTED 404 | Make sure backend API is running and listening. netstat -ano | findstr :<portnumber> | Not Reported. |
500 Error “detail”: “Npgsql.NpgsqlException (0x80004005): Failed to connect to… Cannot connect to Supabase DB | SupabaseHost on AppSettings was incorrect. Should be: aws-0-us-east-1.pooler.supabase.com Not: db.zmilaxxnexriarjtafpx.supabase.com | Fixed in 2.0.19 |