Skip to content

Previewing Your App

Login screen for app created using rIDE via Localhost environment.

You can view your app on localhost:3000 when it is running.

Create account.

When running locally, you can add a new user via your apps login page where it says Create account. If you don’t see the Create account. Open a file explorer, navigate to your solution and open react-app/.env file. Add the following line of code: VITE_ALLOW_SIGNUP=true

Mock Database.

When running locally, your database data is stored on your machine. You can access this data here: C:\Users[ YourUserName ]\CodeBuddy\Projects[ YourProject ]\Services\App.Api\UserPathHere\CodeBuddy\LocalResources\StarterKit.

Adding a New User on Hosted Environments via Supabase

Section titled “Adding a New User on Hosted Environments via Supabase”

Supabase Authenication table screen. Supabase Create a New User modal within the Authenication table screen.

You can add users via the Create account on the login or the Supabase UI on the Authentication table. You can find the Supabase page by going to the Publish Your Software Environments page and clicking on the View button next to Database & Auth.

If you need to add a user as an Admin, run the following SQL script in Supabase.

UPDATE auth.users SET raw_user_meta_data = JSONB_SET( raw_user_meta_data, '{roles}', '["admin"]'::jsonb, TRUE ) WHERE email = '<Your-Email>';

Login screen for app created using rIDE via Localhost environment.

This is what your app should look like when you login for the first time.

Known IssueTroubleshootingStatus
Network tab invoke methods throw ERR_ABORTED 404Make 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