Thank you so much for your help. It was nice and easy, and I appreciate how you always take care of beginners. If you're up for it, I'd like to challenge you to create a modern full-stack portfolio for a developer using Prisma, Supabase, Tailwind, and authentication. I mean a good backend and nice design and I look for projects like this i can't find it on TH-cam so up to you bro but if you do it I'm sure many people will love it. Thanks! 🙂
hey thanks but my migration did not work.. no error in the terminal and the terminal did not close .. the port for me is 6543 ..tried for over 5hours .. dont know if u have any suggestion
Great video, bro. I already have a XATA account, but never used with PRISMA, does it work quite well in any project like SUPABASE? and thanks so much for the hard work.
Thank you for the great video! I am curious as to why you would put your password in code instead of a .env file. I know it's just a test application, but if you never do it at all, you'll never do it in production by mistake.
Sir i have been working on prisma , supabase , next js project. The error you got I am already stuck at that. Nothing is work means restart server nor working att all . npx prisma migrate command is working but prisma client error is comming.
@@Productiveho yes i got it , this error is occuring due to password. When you create a project in supabase there is an option generate password go with that option and copy that password into env , instead of making your own password because in our own password we might be added some special character, as in my case i added "@" whose access code is different in term of next js , INSTEAD of these you should go with generate password option in supabase that password will be simpler and it will work easily with supabase. please let me know if u again getting error.
@@zainn7336 I was able to fix my error, for my case i had 2 URL mode i switched to only session URL and error was gone , and yes your way is legit too . Number and speixal character in password cause trouble. Now im working on new error 😀😀
great tutorial, thanks bro but I ran into a problem , when I run this command "npx prisma migrate dev --name init" it get stuck in this 👇👇👇 Environment variables loaded from .env Prisma schema loaded from prisma\schema.prisma Datasource "db": PostgreSQL database "postgres", schema "public" at .... 👆👆👆 and I don't know why can any one help me please
Worked first time out of the box. Great help in deciding to use Prisma with Supabase.
Thank you so much for your help. It was nice and easy, and I appreciate how you always take care of beginners. If you're up for it, I'd like to challenge you to create a modern full-stack portfolio for a developer using Prisma, Supabase, Tailwind, and authentication. I mean a good backend and nice design and I look for projects like this i can't find it on TH-cam so up to you bro but if you do it I'm sure many people will love it. Thanks! 🙂
thanks for tutorial bro , im very happy
Happy to hear it!
indeed you are a good teacher, what looks to be difficult to me you have made it easy, thanks I'm also looking forward on how i can update the post
Happy it helped!
Great video!
Thank you! Really appreciate that
thanks for the clean tutorial!
any chance you found out more about the "Database cant reach server" error?
Awesome tutorial, thanks!
You’re welcome!
Useful tutorial ,thanks a lot .
@20:54 no need 'use server', since its already ssr. great video...
Thank you so much. Learnt a lot
You’re welcome!
So to add auth - do we manage the auth tables (eg user) via prisma or supabase?
hey thanks but my migration did not work.. no error in the terminal and the terminal did not close .. the port for me is 6543 ..tried for over 5hours .. dont know if u have any suggestion
change the port to 5432 in connection string it will work
@@HarshitSrivastava-r7i tried it and it worked..thank you very much 🙏🙏🙏
@@HarshitSrivastava-r7i thanks you saved my life, i've been searching this for a couple weeks
@@HarshitSrivastava-r7i This worked for me so thank you!! But I dont understand why and I would like to understand...Can you explain it to me please?
@@HarshitSrivastava-r7i OMG i have the same issue and it worked after changing the port to 5432
Thanks for the tutorial !
You’re welcome!
Is it best practice to repeat initialising prisma client in different server actions file?? Are there any benefits?
No I don’t think there are any benefits. I should have just created one client and used that across different server actions
Great video, bro. I already have a XATA account, but never used with PRISMA, does it work quite well in any project like SUPABASE? and thanks so much for the hard work.
Thank you very much for the video
I have a question, do you have any video explaining prisma, next.js with turborepo?
You’re welcome. And no, I don’t have a video on that specifically
@@coderyan ok thanks for replying... I will keep looking
Do we need to use rls?
Can we create multiple server actions in a same file? Eg. Deletetodo and addtodo functions export in a same file instead of having two separate files?
Yes. You can create as many as you want.
Why is it safe when local and when I deploy it on Vercel I get an error? "Application error: a server-side exception has occurred"
npm run build => will show you the problem
Thank you for the great video! I am curious as to why you would put your password in code instead of a .env file. I know it's just a test application, but if you never do it at all, you'll never do it in production by mistake.
Thanks! And fair point! Should have just put it in an env file
Sir i have been working on prisma , supabase , next js project. The error you got I am already stuck at that. Nothing is work means restart server nor working att all . npx prisma migrate command is working but prisma client error is comming.
Samee , stuck for 2days .
did u found any solution??
@@Productiveho yes i got it , this error is occuring due to password. When you create a project in supabase there is an option generate password go with that option and copy that password into env , instead of making your own password because in our own password we might be added some special character, as in my case i added "@" whose access code is different in term of next js , INSTEAD of these you should go with generate password option in supabase that password will be simpler and it will work easily with supabase.
please let me know if u again getting error.
@@zainn7336 I was able to fix my error, for my case i had 2 URL mode i switched to only session URL and error was gone , and yes your way is legit too . Number and speixal character in password cause trouble.
Now im working on new error 😀😀
@@zainn7336 Thanks, this works. God bless you
Where can I learn supabase from? I really struggle with using supabase
Got any solution plz suggest
@@sushantjadhav7272 no bro
great tutorial, thanks bro
but I ran into a problem , when I run this command "npx prisma migrate dev --name init" it get stuck in this
👇👇👇
Environment variables loaded from .env
Prisma schema loaded from prisma\schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at ....
👆👆👆
and I don't know why can any one help me please
I fix it by changing DATABASE_URL post 5432
@@limec4t Appreciate this sir. I was stucked into the same problem and found ur comment. god bless.