Build A Simple CRUD API With Next.js 13 App Router (REST API)
ฝัง
- เผยแพร่เมื่อ 1 ต.ค. 2024
- 📝Note: This Video Is Compatible With Latest Next.JS 14.
Learn how to Build a REST API with Next.js 13. In this tutorial, we will build a REST API with GET / POST / PUT / DELETE Endpoints.
You will grasp some concepts of building an API with Next.js 13 app router with dynamic routes and we will use a fake database to learn things.
After this video you will have a great knowledge of how to build Full Stack Apps With Next.js 13 With API Routes.
🚩 Subscribe ➜ @IndianCoders
☕ Buy Me A Coffee ➜ www.buymeacoff...
👇 Follow Me On Social Media:
Github: github.com/nik...
Instagram: indiancoders.in
www.indiancoders.in
Build an AI Chatbot (ChatGPT Clone) With MERN Stack
th-cam.com/video/PX_YOfEdhRg/w-d-xo.html
Great content brother subscribed
make another video on connecting backend and frontend with mongdb database with authentication
Done
also can you make a video connecting next js nextauth to mysql
where’s the video?
Thank you for your very crucial 30-minute tutorial that summarized everything I have struggled with. Well done bro
🎉After this course, if you want to learn Real World API?🎉
Here's the one with Prisma:
th-cam.com/video/QQZLAdz3Y-M/w-d-xo.html
legendary guy, cannot believe it's free
Why use split() to get the blog id, when using dynamic routing, you could as well just use the next useRouter() hook to get the id right?
Yeah that's also absolutely fine to use, here I was getting complete pathname, sometimes for logging in backend it's very useful
I have next js app v13.4 i am trying these same things but i dont know why the page always shows me unable to handle the request please help me
But my Routes in not working for api only. This working for other files to render but not for api purpose. Please help me to check. My route.ts file path is app\api\blogs
oute.ts
When I make postman request, they showing error of 404. I am using typescript in my project.
Love this. Can you do a tutorial on authenticating these endpoints? e.g., How you generate an api key, store it in a database, and validate it on each http request? I haven't found very good resources for this in this specific stack
Bro mongodb local host SE connect kerne Wali video banye..or title description or image kese post KARE GE one click per
😱 Secret, In process
Is there a way to error handle just like custom middleware in express? I found next absurd as you always doing try catch on every function ( GET, POST, PUT...) Has anyone know how to efficiently do error handling making sure you DRY
Thank you so much, very well explained
I suggest you its now era of full stack, you must create front end to complete your video.
Please make video with mongodb crud in nextjs13.4
Stay tuned for tonight 🙂 will be published at 8pm
@@IndianCoders waiting
@@IndianCoders waiting
You are a great teacher Brother. Learned a lot more than from the Bigger youtubers 💖 You have gained one subscriber today 😊
Thank you so much brother ❤️
Great after all i am clear now how I can write the nextJs API, thanks bro 🤗🤗
amazing and in magnificent way you taught the topic thumbs UP (y)
I am not able to get through route.js it says a response should be returned something
Thanks for this awesome video.
Hey, thank yo so much for this content, congratulation its very clear and useful, best wishes for you and your channel keep the good job! I will be waiting for more!
Thank you so much 💖
to the point
Any examples on how to test those API routes with JEST ?
Amazing 🔥🔥🔥🔥🔥
Hi, kindly make video on how to protect our REST API and pass username/password from Postman
thankyou so much my bro, good stuff
Will these apis work after npm run build coz I have created a next app with sqlite database and next js and wrote all the operations in next js pages/api but still those are not working after building to production mode...
Try packaging it with docker In this case. Use Gemini from Google to get the steps
Your teaching style is really impressive. Keep continue making videos.
Thank you so much for this content, it was very clear and useful, best wishes for you and your channel keep the good job! 🤍
great explaination bro
thank you
thanks bro for the wonderful lesson
lots of Love from Nepal
Thank you.
thanks for creating this video
I'm looking to build a production web application that consumes an authenticated api with Next.js. The service is a property management system that has an API and I'm trying to build a site that allows the users to make authenticated callouts to it. Can you direct me to a source where I can learn this? Thanks.
In ny course, I have shown how you can add authentication to Nextjs app with google and GitHub service providers.
You can check it out on our website
Wonderful video, exactly what I was looking for. Huge thanks to you buddy.
This is the best explanation video of next js and app router for api endpoints
Excellent!!!!!
Thanks bro , you are the best
Thanks bro.
please bro, we want to complete the backend and frontend with MongoDB database with authentication full project using Rest API
✌️ Was this helpful?
@@IndianCoders Yes bro
Thank you!
Welcome!
Thank you for the video! Where is the Github repository for this video? I couldn't find it. Thank you!
GitHub branches
Thank you 🙏
You’re welcome 😊