Previous video:

đŸ‡ºđŸ‡¸ Supabase Account: interfaces (2/8)

Intro

Let’s start the project. This video will tackle the necessary notions to create and have access to a database, and how to use it with ease. Let’s go!

Content of the video

Finding the URL of a router ( - ) Creating a project in Supabase ( - ) Creating a database in Supabase ( - ) Connecting the database to Voltapp ( - ) Preview of the finished project ( - )

Transcript

1. Finding the URL of a router

Hello everyone and welcome to the second part of this tutorial on Supabase account. As we have seen in the first part, we are using a pre-filled project with a router and interface elements that are already created. There is just one important detail that I didn't mention in the first part : the URL of the router must be replaced by the ID of your application's URL.

Why is this important? Because the Supabase account system is created with an email confirmation system. Users will receive a confirmation email when they create their account. In this email there is a link to activate the account and this link will redirect to the application. That's why you need the correct URL in the router.

2. Creating a project in Supabase

Let's go on the website of Supabase. You have to log in to the site. Supabase is a bit special because it uses Github accounts. By clicking here, I will connect directly. You click on the button called "new project". We will call the project Voltapp Tuto.

For the password of the database, put what you want. You must then choose the region where the Supabase server will be hosted. When you host your own Supabase on your company's servers, you won't necessarily need to take this into account.

Let's take London for example. Then we click on the "create new project" button. Our project is thus created. Here, there is a tab that concerns the API keys. This is what will allow us to connect the Supabase nodes of Voltapp to the Supabase database. There is a public key to create profiles, login, etc. But there is also a secret key with which you can do things like create new tables in the database. You shouldn't use it for basic projects unless you want to set up internal admin interfaces.