正在加载视频...

视频加载失败

Creating a Notion clone with and Supabase! I love how bolt utilized JSONB type to store the block data for flexibility! It's a simple app now, but would you like me to add more features to make it a fully-fledged app?

23,626 次观看 • 1 年前 •via X (Twitter)

10 条评论

Tyler Shukert 的头像
Tyler Shukert1 年前

Here is the URL to the project:

Carlos Zapata 的头像
Carlos Zapata1 年前

Yes, would love to see this code

Tyler Shukert 的头像
Tyler Shukert1 年前

Here it is!

Melvin Vivas 的头像
Melvin Vivas1 年前

awesome stuff! btw, can you(supabase) work with @stackblitz to figure out the seamless auth integration inside environment? that’s one of the essentials for rolling out an app

Tyler Shukert 的头像
Tyler Shukert1 年前

@stackblitz What issue are you experiencing with auth?

Tyler Clark 的头像
Tyler Clark1 年前

Yes. I think the details is where the hard stuff is. When I use Supabase it takes time to setup auth emails, database policies, make sure types are synced, deal with ENV variables, automate hosting, etc.

Saïd Aitmbarek 的头像
Saïd Aitmbarek1 年前

been using bolt/cursor a lot, interested to know how far it can clone or replicate Notion🤗

Tyler Shukert 的头像
Tyler Shukert1 年前

Nice! Yup, more features are coming!

Scotty Salvo 的头像
Scotty Salvo1 年前

Hey Tyler, I have a project I am using Bolt and Supabase on - having some difficulties and wondering if you might be able to figure it out. I've created an 'admin' account portal that allows the admin to create new users, which I would like to sync back to supabase. I just cannot seem to be able to figure this out, i'm plagued with errors. Any thoughts, have you tried to accomplish this. My hope is to not have to go into supabase to create user auths, and have this done within the app. I don't want a 'sign' up function, I want the admin to be able to create the accounts.

Tyler Shukert 的头像
Tyler Shukert1 年前

In order to achieve this, you will need to create the auth users. There is a way to create them without going into the Supabase dashboard, but you are going to need to run some code in the backend, not in the front-end application. There is an admin.createUser function that you can call using the Supabase service role key. Because service role keys cannot be exposed to the world, you want to run it in a backend. Depending on what framework you are using, there might be a way to run the code in a backend. Otherwise, you can try to use the Supabase edge functions.

相关视频