Dude is just showing how prisma is used, but I learned how to develop an app in NextJS with this video. Better tutorial than other videos out there.
@alikhalil44318 күн бұрын
For real tho, props to this polish!!!!🇵🇱
@Ssmb-qj4df4 ай бұрын
Man is the best teacher who doesn't give me anxiety while learning
@Sahil.1Ай бұрын
Knew nothing about prisma and as i completed this video by following him fully understand how prisma works and how to use this. This man is such an underrated gem 💎
@rohitkochikkatfrancis5 ай бұрын
THIS IS THE BEST EXPLAINED VIDEO FOR PRISMA !!!!! Thank you so much for dwelling into even the minor details so that people who dont even have a clue bout what it is can easily understand it.
@rtx507005 ай бұрын
Bro read my mind, yesterday I was thinking about when you will make a video on Prisma..and here it is 🙏
@enn_nj5 ай бұрын
😂same with me bro..i love you so much bro, you read our mind😂🙏🏻🙏🏻🙏🏻 that's what i need..thankyou so muchh💐💐💐♥️
@cousefirst13512 ай бұрын
I have been running in circles trying to figure out server side actions in NextJS 14. This video was extremely helpful. Thanks a million!
@PrismaData5 ай бұрын
Incredible video!
@ByteGrad5 ай бұрын
Any time!
@Saradomin655 ай бұрын
Was planning to get back to full-stack dev using prisma with Nextjs to create some side projects and this video comes in. Definitely will help a ton, thanks! 😁
@ZentoNFTs2 ай бұрын
The best Next.js video on KZbin! Learned so much from this. Thank you so much.
@CleverGeneration5 ай бұрын
I'm only half way through and I've already learnt so many new things, thank you!!! Brilliant video ❤
@aloky2474 ай бұрын
I was directed here from the Prisma docs. Thank you for the awesome tutorial.
@grugbrain2 ай бұрын
When you create the fourth post, it pops up in the list. This is sick!!! I have been using Next.js the wrong way! Oh my!!!
@R3nxt5 ай бұрын
Great video. You were right, caching deserves its own video. Could you please upload a video that handles caching?
@ByteGrad5 ай бұрын
Yes, coming soon!
@armaandhanji21125 ай бұрын
Looking forward to the caching video alot too!
@olusanyaolamide97645 ай бұрын
Nice one, will definitely check it out when I have time, I'm excited already, but we'll also love you to do a NodeJs Express course
@mistersir31855 ай бұрын
The timing of this video is divinely. Love you bro.
@abeybruck1515 ай бұрын
very very very awesome. you sir is a natural born teacher. respect
@u.chaudhry21475 ай бұрын
@ByteGrad can you next do tRPC with Next.js App Router? Also, you are the best teacher of the t3 stack out there. The way you teach us in such depth is awesome!
@josephito274 ай бұрын
10 mins in and it is already solving me a lot of doubts about Next js omg, thank you
@JackTheZuluman5 ай бұрын
Man,I really thought I can use Prisma. Thanks a lot for this🔥🔥🔥
@Sahil.1Ай бұрын
27:07 if you're using next15 then note that dynamic rendering has changed and you'll always have error so give a quick search on how to use dynamic route in next15
@GhostHack_15 ай бұрын
One warning about prisma that most developers (including myself) overlook, it does not support optimistic rowlocking API calls. You will have to use Raw SQL for that and it gets very messy / hard to do when accounting for race conditions in production.
@AnwerJahid-g6t2 ай бұрын
Please don't stop creating such a worth watching content. 💝💝💝
@jfhandfield5 ай бұрын
Wow great video Byte. Really well explained. The only question I have is what if I have 2 different database to access. How are you going to make your clients? Is it going to be in the same db.ts?
@alarafatsiddique93625 ай бұрын
Could you please make a tutorial specifically on how to use Prisma from development, and testing to production with some concrete examples?
@RobertBojor3 ай бұрын
Great example for using Prisma, thank you! I do have a question, when using this over an existing database, with data, and I mean lots of it, wouldn't make more sense to instead use prisma generate, instead of the push, to update the client with the unique fields and so on?
@aryaamootaghi32483 ай бұрын
this guy knows what he is doing 🚀🚀🚀🚀
@KulturanCovАй бұрын
BRILLIANT. Thank you very much!
@kineti-ko19 күн бұрын
One issue on the path in page.tsx to the individual post page, use backticks ` ` rather than single quotes.
@yufengxiang30202 ай бұрын
very concise and helpful, good job!
@ReDestro693 ай бұрын
Hey ByteGrad, love your videos. Would love to see you make a video on supabase and Nextjs
@Code4FunEducation-vn6bs16 күн бұрын
thank you so much for this video. i wan thinking how we can use prisma to make views & stored functions in postgresql database stored on Vercel, i did some researching, but its not that claire !
@nickwoodward819Ай бұрын
Love your channel, don't watch it enough tbh. really interested why you prefer prisma to drizzle?
@RoyTjuh5 ай бұрын
dankjewel voor de video kerel
@vt1tov5 ай бұрын
I love you man. Thanks! Great content :)
@ashfaqkabir5 ай бұрын
Awesome Video, Please Do a video On Dashboard Tutorial with Next Auth, SeverActions, Prisma and Mongodb
@jijirijohnson345313 күн бұрын
Great tutorial. Thanks Please, does it mean that we don't need to create any API before we can do CRUD operations in the nextjs?
@yasindunethАй бұрын
really valuable content!
@jeffinj77075 ай бұрын
Please also consider the fact that there are use cases where we have a standalone node/nestjs backend with an ORM, a nextjs app maybe one of the clients using the APIs. so no point in implementing the ORM in the nextjs too. what would be a better solution here? RQ?
@nunzioasisto5 ай бұрын
What would you suggest if the revalidatePath is not refreshing the input and content boxes after submitting a post? The new post appears but the data is not cleared from input nor content.
@kdstudiogames36025 ай бұрын
sir your video is very helpfull to me. i have compleated the above video. but i have issue with the update post which i have tried in same way as server acton use for create post. how to pass the id in action={updatePost}. how to pass the id? please help
@mostafashahat97605 ай бұрын
Awesome, keep up the great work 💖
@a4tech3574 ай бұрын
Helpful video! Can we get a github repo?
@TenzDelek4 ай бұрын
i am about to start out, should i go with Prisma or drizzle?
@JacobPhillips-rf5db5 ай бұрын
THANK YOU! You're AWESOME!
@ptk_0015 ай бұрын
Thanks for this amazing content!
@PolatjonQurbonov5 ай бұрын
It is a very informative lesson! Thank you!
@Sagarclips4 ай бұрын
When creating post, why client component was not used
@鄧莉瀕4 ай бұрын
Does anyone have a problem with form fields not reset after submission?
@thenorthernhabitants93872 ай бұрын
Great video sir !!
@StephenRayner2 ай бұрын
If I use a prisma enum type and then try to use the object it creates at build time it is fine. I can see the object and command click through to its definition in index.d.ts (object in an d.ts file hmm?) But at run time I get an error that I can not access x of undefined. The object is not made available to the client at run time.
@robiulhasan955316 күн бұрын
Hi dear! i noticed that, when your are writing code the you get full code suggestion and when you press tab button then whole code is properly visible and working fine. would you please tell me what is the vs code extension name??
@indimerz5 ай бұрын
can you make a video to show recommended way of doing filtering, sorting, search with nextjs and prisma??
@muratasarslan23593 ай бұрын
how about using JSON data type in Prisma schema and use it in queries & updates in a type safe way? Could not find a clear way to handle it gracefully 😥
@aberbaCodes3 ай бұрын
Unrelated question, but how to you fast forward copy and paste code in your videos whilst the voice shows no break?
@darz_k.4 ай бұрын
Hey man - as an aside to this video being related to prisma - I'm looking at a new hosting provider, and they are only offering sql databases for the backend - would you recommend using regular sql databases with nextjs and react? Projects would be small to medium in terms of requests and users. If you could give us your advice on that, it would be much appreciated!
@poojaschannel91105 күн бұрын
"Hi ByteGrad, which Visual Studio Code extension are you using for auto code suggestions? Please let me know."
@RomFeliciano15 күн бұрын
Hi, how can you display the error in client?
@marbot97803 ай бұрын
Hello - i am a big fan of your videos - you are great! But where can i find the sourcecodes? Kind regards Markus
@assassingob73155 ай бұрын
Hey, everybody! Can someone explain why after the application build, the updated data in the database is not updated on the client? The component is server-side
@GriMoney22 күн бұрын
turborepo + prisma + next.js ?
@jc20573 ай бұрын
good video, and definitely good commercial for copilot lol
@parkerboling6665 ай бұрын
Hey bytegrad I really enjoy your content and recently have been following along in some of your content, and I like kinde authentication. I’m building a full stack application for a childcare company and it would be a good video idea to show admin authorization and interacting with the kinde API to manage users from a secured back end admin panel this would help me out tremendously! I really enjoy the content though keep up the good work!
@MdNaimurRahmanHera3 ай бұрын
Best by far
@socarmm3 ай бұрын
Excelente! Gracias
@victormustin25475 ай бұрын
I may be wrong but I don't think you talked about security and authorization which would have been great
@zainn73365 ай бұрын
Sir make a full video of supabase and next js as backend
@ianc64185 ай бұрын
I am stuck on trying to figure out how sqlite runs on apple silicon. home-brew doesn't seem to work edit: It seems to come preinstalled on macOS. How weird is that!
@Grishopping2 ай бұрын
turborepo with prisma and next.js ?????
@true2274 ай бұрын
i can't find data type cuid() in the description postgre, it's have only uuid()
@viundesign5 ай бұрын
6:33 Why doesn't it appear to me the autocomplete? I have the Prisma extension already installed
@mustafamufeed16665 ай бұрын
+1
@viundesign5 ай бұрын
Still wondering
@viundesign4 ай бұрын
@@mustafamufeed1666 Git Hub Copilot
@viundesign4 ай бұрын
@@mustafamufeed1666 Git Hub Copilot
@suphawatwong94384 ай бұрын
@@viundesign it's co-pilot feature, i guess
@sankasanjeeva118213 күн бұрын
An extensive scope within a limited timeframe
@faijansaifi3 ай бұрын
Should I use sqlite in production with prisma
@mlavinb5 ай бұрын
Great content! thanks for sharing
@vipernext21905 ай бұрын
as always greate video ❤❤
@enn_nj5 ай бұрын
The best video from the best teacher 🙏🏻🙏🏻🙏🏻🙏🏻i really like this Chanel.
@nasko2356795 ай бұрын
When you need to get data from db to a client component would you say the best way is by fetching the data in a parent server component and then passing it down to the client as props?
@ByteGrad5 ай бұрын
That would be pretty typical yes
@MrJohn3603 ай бұрын
Thanks for sharing.
@arkodeepchatterjee3 ай бұрын
not only a simple prisma course
@teetanrobotics53635 ай бұрын
Could you please make a project on credentials and social oauth using Auth.js, Supabase. We can also use resend for sign up confirmation and forgot password.
@krishpatel36325 ай бұрын
What vs code theme do you use? It's great
@umernasir42175 ай бұрын
Please tell me as well.
@AvikNayak_5 ай бұрын
Maybe Andromeda
@heismyke5 ай бұрын
He doesnt like to tell people what theme he uses. i have been asking him too for a long time
@gttrackpro94335 ай бұрын
hey @bytegrad, this workflow & advance tutorial is available on your course?
@ByteGrad5 ай бұрын
We also use Prisma in the course, but not super advanced or something like that
@gttrackpro94335 ай бұрын
@@ByteGrad ok got it. going to purchase your course asap 🎉
@asmitkhanal8345 ай бұрын
i m new on nextJs so help me to use delete and update operation in the frontend ui code.How to execute the created function in the UI form?help me plzzz
@nikolas_beckel3 ай бұрын
Good video 👌
@AK-kq1mk4 ай бұрын
Useful stuff
@nasko2356795 ай бұрын
NICE!
@A284805 ай бұрын
Would be very helpful to understand why the data sometimes disappears when the schema is changed? Anyone know why it happens? Thanks a lot
@emad_naeim5 ай бұрын
if the old data violates the new schema you make then it will be deleted (it will tell you and warn you before that), like if you are going to add new column and that column is required.. and you didn't specify the default value.. then by default old data will be deleted because they don't have value for this new colum. as a hack when you are playing with schema and you want to add new column.. specify a default value.. then it won't delete old data
@A284805 ай бұрын
@@emad_naeim thank you very much
@emad_naeim5 ай бұрын
@@A28480 😇🤍
@goofy1982Ай бұрын
My form does not reset automatically, how is that possible?
@haashirnawaz96872 күн бұрын
revalidatePath
@abdelrahmanmostafa94895 ай бұрын
Github link?
@blazi_05 ай бұрын
The hardest thing that i dealt with prisma schmea until now was adding multi language support. Tried so many ways and ended up with using json for storing the values Not happy with this solution and looking for better ways, ill be appreciated if someone can help me with this
@sorenbs15 ай бұрын
I’ve always implemented this by loading the full translation file as json and caching it in memory on the server. That way loading the replacements is super cheap.
@juliusgrisette5 ай бұрын
Thank you
@imkeyi5 ай бұрын
what if a post could have multiple categories and tags
@richardnorris92564 ай бұрын
This guy must be Dutch to speak English this clearly and quickly while multitasking. He definitely isn't British or American anyway, his English is too good.
@ivangeorge44785 ай бұрын
45:52 what was that sound :)
@eliyir5 ай бұрын
🙏
@haikelareff5 ай бұрын
god bless you...
@nickwoodward819Ай бұрын
prisma studio seems to completely ignore not null constraints
@ahmadullahnikzad28504 ай бұрын
revalidatePath does not work
@rvuyyuru5 ай бұрын
Switched to drizzle
@jellyfish17725 ай бұрын
why not drizzle
@bibblebabl5 ай бұрын
If you think you ready to try it - go for it. It’s not exactly the same and it has less abstractions AFAICT. So basically you will need better understanding of SQL because drizzle gives you more control since it’s more a query builder. Now it becomes more popular but I guess not all people understand that it requires some entry level when with prisma you don’t have to care about a lot of things
@jonbharrell5 ай бұрын
@bibblebabl is completely right. Prisma and Drizzle are similar tools at different levels of abstraction. If you prefer the Drizzle way of defining your models and querying, then it is the right tool for you.
@beyourahi5 ай бұрын
alright let's start the war 🚀 Prisma VS Drizzle
@dukim6324 ай бұрын
i find primsa to be pretty horrible tool, the fact that we all opt out writing SQL is just mad. ORM creates stupid developers which cannot write proper SQL which creates TONS of problems later on
@true2274 ай бұрын
i'm totally agree
@Oscarvedo3 ай бұрын
Mostly with migrations and trouble solving. Yeah.
@AbdulOKOUNDEBATOUMIАй бұрын
I disagree for the fact that, technologies are shipped out for conscious used. One thing to level here is that, you very sure of writing your SQL queries well before diving to Orm like prisma…. Just like you can choose to use Eloquent or raw SQL in your Laravel project. Just know what you’re good at and whats your project requirements