Creating a Notion clone with and Supabase!
@dshukertjr20 B takipçi
23.628 görüntüleme
10 Yorum
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

@dshukertjr
Here is the URL to the project:
5 beğeni

@LeCroixVanZapta
Yes, would love to see this code
2 beğeni

@dshukertjr
Here it is!
1 beğeni

@donvito
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
2 beğeni

@dshukertjr
@stackblitz What issue are you experiencing with auth?
1 beğeni

@tylerclark
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.
1 beğeni

@SaidAitmbarek
been using bolt/cursor a lot, interested to know how far it can clone or replicate Notion🤗
1 beğeni

@dshukertjr
Nice! Yup, more features are coming!
1 beğeni

@ScottySalvo
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.
1 beğeni

@dshukertjr
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.