What if I have to load in the color tokens from db? I would like my customers to define the tokens through theme generator and then save it to db and fetch it
It would be very good if you made a saas ai from 0 with limited quotas and plans (for example 10 ai generated messages for $5 per month or 30 messages for $10) and connect it to supabase or github branching to be able to make changes to your "startup" without having to affect the entire deployment for each change
Great tutorial, concise and straight to the point ! I would recommend putting the links mentioned in the description and putting commands for all OS, not only mac. Thanks !
Hi, one doubt, if we want to develop and build simultaneously and check the output in the pop up window, is that possible, means i first run it in dev mode, then i build it again, what if we i can do both simultaneously.
40th subscriber 🎉 Could you create a git repo with the code? I've followed the steps but the login button keeps calling the logout function, so I guess I did something wrong.
@@TheDevLogger Thank you! I literally put the code for the logout in the login page, no wonder it was acting that way 😂 Do you have a twitter where we can follow you for updates and new videos?
@@AverageJohnny No problem! hahaha I make those silly mistakes all the time too. Instagram is probably where I'll be doing more frequent updates during the week. I haven't set that up yet but hopefully maybe within the next video or the video after there'll be a link in the description! I have soo many content ideas, it would be super cool to engage with you and everyone here to see what would be most helpful :)
@@TheDevLogger I would definetlly recommend posting on X as well, dev community there is huge. As for a video idea, I think a video on big Stripe alternative payment processors like LemonSqueezy would be very helpful. Most tutorials use Stripe, but since it isn't available everywhere, LemonSqueezy gained a lot of users and no content on youtube.
Im new to Supabase. So I can just use Supabase as a remote database and Auth service, right? Im thinking of using FastAPI with Docker and using Supabase just for Auth and object storage. Is that a typical architecture?
To my understanding you can use as much or as little of the services supabase provides as you want. You may want to look into using Supabase Edge Functions if you are building APIs, I haven’t used FastAPI before but I would guess that maybe the equivalent? Additionally if you are going to run a docker container anyway, you might as well self-host supabase
If you find your self needing a OLAP database in addition to a OLTP (Postgres) I went with ClickHouse. It is open source, has SaaS offerings so you can avoid the DevOps burden whilst you are a scaling start up. The. For the analytics viewing part I went with Apache Superset. The SaaS offering I went with is called Preset. I fit well within the free tier which is fantastic.
I’ve been using Supabase db, pgVector (drizzle NOW supports vectors highly highly recommend you use Drizzle. Avoid Prisma I’m using it, it is nice but… the types not reloading unless you manually reload VSCode or CMD+P open the index.d.ts file.
The Supabase auth is pretty decent. Did you look into Clerk? I went with Supabase due to row base access control. But I’m 1 year into the project and still not used it. Theo has a video on why RBAC on the db is a nice idea but in practice it’s a time sink and hits development velocity.
Running Supabase locally was a big win for me. Coming from AWS+Terraform (HCL) for most AWS resources and Serverless Framework for the lambdas. The. Using parameter store to share the ARN and variables between Terraform and Serverless… this is all a nightmare. How to run S3 locally? SES, step functions, etc… there is LocalStack and it looks okay… but still dedicated DevOps instead of focusing on building the product. So I switch to Vercel, upgraded to NextJs 12+ and started using nextjs for the backend. And oh my! Lambdas without all the headaches 😮😮😮
So back to local Supabase, you get the db, the auth solution which uses GoTrue and then the local emails with InBucket. And the local S3 storage implementation. And the fact that they fully implemented their storage against the S3 API so you can use any S3 tooling 😮😮. It really is sick! And again Postgres database so all the plugins you could want like pgVector. It’s ace.
I actually did look into Clerk! Was thinking about using it until I realized that the user auth table on supabase would not synchronize with the Clerk which is something I needed. Also I really don’t want to bloat my tech stack, I do try to keep things as simple as possible when I can
@@TheDevLogger hmm… I think I saw something about this a couple of days ago. Just researched you are 100% correct. Wouldn’t be worth the headache to set this up defeats the point of clerk.
Good conclusion, and Tauri does look cool. But Rust learning curve, Electron I wouldn’t ever touch it again. Fragile and slow. So just focusing on web is fine.
Thank you! funnily I’ve been using flutter for desktop applications and it’s actually really good surprisingly… Still focusing on Nextjs for web apps tho!
I see what you mean about sounding robotic. But it is calm, neural and informative. It’s really easy for me with ADHD and an addiction to coding to listen and get everything you’re aiming for. The speed you talk at is perfect I either like blazing fast or just right, if it’s too slow it drives me nuts. This speed is good as I can speed it up or in this case I can think along at the same time.
Hahaha I think it’s more like I want to add a little more personality just to make the content a bit more entertaining while remaining educational and straight to the point. How I do that… no idea, so there’ll definitely be some experimentation along the way 🤣
@@TheDevLogger I tried the powder and it ended up in the bin. I tried the savoy food and it’s not in the bin yet but probably will be soon. But the ready to drink bottles 😍specifically. They have a higher protein one now. My guess is eww it will be even thicker but it’s actually smoother. And has a light raspberry hint to it which works so damn well.
Decent thank you, I ran into an issue where sometimes when logging in it would put the users password in the url! 😮 I will take a look at how you’ve done it compared to my setup and see if it addresses the problem.
@@TheDevLoggerthat will be helpful. I can test your flow then slowly add my code into it to identify the root cause. One variation on my end is I’m using email with not the providers. But I doubt it is that. I also used the middle chain pattern. (Can share this with you if you like) but it was broken before that refactor if I remember rightly. Will try to remember to update you. On holiday atm. Will circle back within a month.
You can always edit the css that is copied over from shadcn ui themes page. Or you could just define specific color for certain elements on your page using tailwindcss classes, this would make sure the element is always a specific color even if you change theme color. Hope this answers your question!
@@TheDevLogger The only callout that I am realizing now is that the LoginLogoutButton isn't really signing out the user. You are using setting the user state as null. You need to call the signOut method from the supabase client library
Thank you for sharing this valuable video! I appreciate the helpful tips on building Chrome extensions. For those looking to find and verify emails, I recommend trying Tomba email finder for Google Chrome extensions.
Hello The Dev Logger, congrats on your channel. Super useful content, high quality of articulation and presentation. I am sure you will grow big, keep going. Looking forward to watch more nextjs content coming from you. Greetings from Turkey.