Build and Deploy a Modern Next.js 14 Application | React, Next JS 14, TypeScript, Tailwind CSS
Вставка
- Опубліковано 21 тра 2024
- Ultimate Next 14 Course is now live: jsmastery.pro/next14
The demand for Next.js 14 applications peaked! Now is the perfect time to build a state-of-the-art modern application that utilizes all of the latest and greatest of what Next 14 has to offer, leveraging features such as server-side rendering and the app router.
Quick heads up: This tutorial covers Next.js 13, but don't let that number fool you. Next.js 14 is essentially a performance-focused update of version 13. That means every concept, technique, and feature we dive into here is just as applicable and relevant in Next.js 14
💼 Land your dream job with expert mentor guidance or get your money back.
To find out more, apply here: jsmastery.pro/masterclass
💻RapidAPI: rapidapi.com/hub/?...
💻RapidAPI Cars API: - rapidapi.com/apininjas/api/ca...
🎥 React.js Crash Course: • React JS Full Course 2...
🎥 Next.js 14 Crash Course: • Next.js 14 Full Course...
📚 Materials/References:
Ultimate Next.js 13 Roadmap: resource.jsmastery.pro/nextjs...
GitHub Code (give it a star ⭐): github.com/adrianhajdin/proje...
Public folder (assets): drive.google.com/file/d/1Ague...
GitHub Gist Code: gist.github.com/adrianhajdin/...
Next.js 13 Bug: github.com/vercel/next.js/iss...
Car images API: www.imagin.studio/car-image-api
Customer key for IMAGIN.studio API for personal projects:
Please use the following customer key (hrjavascript-mastery) if you like to experience how this API works and how you can embed it in your experimental projects.
Become their client and get an exclusive offering:
In case you would like to use it for business purposes, you'll get a special discount. Once you register at their website for an introduction call and mention JSM as the referrer, you will get your first month for free once you sign a contract and become their customer. This also opens up the world to other APIs they provide
Alongside building this application, you'll also learn how to:
- Use Next.js 13 App Router and Server side Rendering
- Implement Advanced Search Functionality
- Create Filtering Capabilities
- Optimize Metadata and SEO
- Create custom filter, combo box, and modal elements
- Maintain a well-organized file and folder structure.
- Embrace the principles of writing clean code.
💻 Join JSM on Discord - / discord
🐦 Follow JSM on Twitter - / jsmasterypro
🖼️ Follow JSM on Instagram - / javascriptmastery
💼 Business Inquiries: contact@jsmastery.pro
Time Stamps 👇
00:00:00 - Intro
00:12:10 - Hero Section
00:29:00 - Layout
00:47:31 - Car Catalogue
01:16:23 - Rapid API Cars
01:45:38 - Card Details Modal
02:04:05 - Car images
02:13:23 - Search
02:25:26 - Server-side rendering
02:20:36 - OMG, A BUG
02:33:36 - Custom Filters
02:50:50 - Show More
03:00:22 - Client-side rendering
03:20:28 - Deployment
This tutorial covers Next.js 13, but don't let that number fool you. Next.js 14 is essentially a performance update of v13. That means every concept, technique, and feature we dive into here is just as applicable in Next.js 14
Ultimate Next 14 Course is now live: jsmastery.pro/next14
FYI - imagin.studio seems to have changed their policy. There no longer seems to be a trial version, so the car image API isn't available to do some testing. Do you know any alternatives?
CAR IMAGE API KEY IS NOT WORKIG AND IN GITHUB ALSO THERE IS NOT ANY API KEY . IF THERE IS SOME OTHER FREE API FOR IT THEN PLEASE GIVE ME OTHERWISE IF YOU CAN GIVE YOUR APIKEY THEN PLEASE GIVE ME . PLEASE REPLY
@@physicschemistry2190 it should be working
@@javascriptmasteryfor me the API works fine. Thank you for tutorial by the way
2:30:02 when I click Search 404 Not Found error
Is this page related to the rapid api? The link contains % 20, if I delete this %20 search page, the page is finding I can't find where mistake is
This man's projects are better than most udemy courses. And the best part is that they are real time projects. Thanks for this!
Exactly
That's the goal!
True! 🎉
Exactly!
The Udemy courses is good, but The professors release and don't update the material. For example, these New features for Nextjs i havendo seen yet.
I remember asking you for such an app few weeks ago, and you made it a reality. Really appreciate it, big thanks 👍
Hope you like it!
If anyone got to 03:00:22, a simple fix I found by going through the comments in the bug in Next scrolling-
1. Search your application for "router.push", 3 should appear
2. Replace "router.push(newPathName);" with "router.push(newPathName, {scroll: false});"
3. Skip to Deployment 03:20:28
YOU'RE THE MAN! 🤩🤩
Thank you!!!!
works perfectly. this also fixed the searchbar scrolling to the top. thanks so much
I just finished the last next13 course (first time using nextjs), and wanted to find another next 13 course with typescript. This is definitely what im searching for! Gained so much knowledge from your videos. May god bless you and your family.
Fantastic!
There aren’t many people doing full build videos, would definitely love to see more
bro did the car api work.....isn't it not free for all
how did you managed tp fetch the car photos ?
kmm
How he got .git folder?
Best tutorial on youtube!! Extremely useful and always up to date with the technologies!! Great job, keep it up!
Thanks, will do!
Very clear as always! I would love to see an ecommece with NEXT JS, STRAPI, TAILWIND, TYPESCRIPT, AND STRIPE, and also another video with django, python, postgreeSQL and tensorflow.js for a backend. Thanks
I would add Firebase to this list rather than an api. How would one implement this?
Simply WOW, easy to follow and appreciate the extra steps to bring to attention the NextJS scroll bug... You have a new subscriber... Keep up the good work. Thank you soooo much for this.
I’ve recently started Typescript from JavaScript and this video has helped me a lot. Please do more of these as well as more React Native videos
Wonderful! Super excited for a TypeScript project finally!!❤
Yess!
Great build. I always love your tutorials and in-depth explanations. I would love to see a Zoom project using Next Js 14
Adrian, I'm short of words, ur courses are state of da art, premium grade, educational nd more
Tanx so much for what u've done for us at large
Thank you!
it's always amazing work from this channel. Also I've added {scroll: false} in all router.push to disable scrolling to the top of the page, and this works for me.
If you are watching this video recently the Next js recently got updated you can completly skip the client Sider Rendering part by adding this this extra paramater in the router
In components/ShowMore
router.push(newPathname,{ scroll: false });
In components/SearchBar
router.push(newPathname, { scroll: false })
Happy Coding >
do you have any solution for car images API ?
Thank you to a million times ! your work is incredible like always !
and I would love to see more Nextjs 13.4+++ with API series like this project
and Please more Build and sell API tutorial for 2023 version
Muchas Gracias por este curso y por tomarte el tiempo para hacerlo. La verdad que lo que aprendi en este curso fue asombroso. Voy a seguir viendo mas. Saludos desde Argentina
The imagin.studio api is no longer working and the images are not shown. How to resolve this issue?
The way u explained apis & fetches made me finally understand it! Clean build & Thank you.🙏
You're welcome!
I’ve been developing next 12 and 13 apps for the last 9 months including my website which also uses typescript. Making these has only benefited me, I recently got hired for all my nextjs apps where I’m genuinely making buck according to average software engineering jobs. Take this man’s word and work with nextjs with typescript it truly is the way forward
Amazing!!!
One of the best courses i've ever seen, nice work, nice explain, you deserve a golden globe jaja, the only thing that i have to say its that we need a new API key or another API to use, now its a no image project haha, cheers bro and well done!
This is one of the best NextJs Video that I had taken. the time to review It is very thorogh i,n the presentation and the connection to the API was very simple. More typescript Next.JS please.
Hey, just wanted to give some gratitude to what you're doing. I really thank you for all these projects as they have helped me a lot.
Also, there is a request if you can make some more videos related to app development like react native.
Also it would be great if you can give a course on flutter, I really want a flutter course from your side...
You're very welcome!
Thank you so much Adrian.. You came up with typescript 😍❤️
Really appreciate your efforts in educating us.
Thank you! 😃
What a great course and project, no words can describe your effort and time for teaching people, what's the reason you choosed next.js over express.js. your previous projects were express and now you shift to next.js
Fantastic demo project! Great job.
While i do really appreciate the content, as a designer trying to hone my frontend skills in react this course went from 0 to 100 really fast. I watched the crash course as well as mentioned in this course.
People in my position are not necessarily super deep in ES6+, arrow functions, json etc. so while the hero part of the tutorial was great for me, the second part of the list with filters got complex really fast. Not that i wasn't able to get the same output as the author, but man i lost whatever overview i thought i had with the filter Combobox filter functions and the setQuery part with the Transition as fragtment stuff.
I am aware that this course doesn't promise to cater to people like me, but at least i felt the need to say, that touching lightly on concepts in the start of a course, doesn't necessarily mean that they stick 100% in the very next chapter where the complexity goes up rapidly.
I would love a course like this that is laid out in simpler steps/chapters and touches more on the 'why' and 'how' of all aspects of what is going on, repeatedly as the course progresses. A course that doesn't point to other videos to understand an arrow function for instance, but discusses the topic as it appears in the course.
Also up until now i didn't experience any recaps of what we just did - and again why we did (and structured) it like that.
Anyway, I'll keep at it and hopefully it'll stick more and more. This seems to be the only real course on typescript with react and nextjs. Hope this feedback finds you well.
Finished! Nice project, everything still working so far, use scroll false when using router.push though. The image car api has watermark but it's still useble in my opinion.
I can't believe you are doing this for free man, thank you so much.
to fix the scrolling error aftter searching at 2:32:44 i used router.push(newPathname,{scroll: false}); in our searchbar.tsx file
Thanks for the knowledge you have shared. Love your typescript nextJs tutorial. Please, do more of them, and also, can you do a similar project with the use of Shadcn UI. There are almost no tutorials on the web with Shadcn-ui
Finally the typescript project which i was waiting for came. Btw i wanted to tell you that you are the most professional and organised coder i have ever seen. Love from india.
Thank you so much 😀
the way of making the project is awesome !! i love it.
Api key not working, so I'm stuck at Car Images, but thanks for the effort. I learned a lot so far.
Thanks jsm for making such marvelous projects.If it has live demos or figm design it would be very helpful for us to give a first try by our own.However, undoubtedly i am grateful to you.
Thank you!
thank you so much for the next13 typescript project video ♥ im having so much fun following your instructions and coding parallelly.
You're very welcome!
Finally! Thank you Adrian, I really glad found your channel year ago
Awesome! 😊
for those having issue with scroll top from router,, just add {scroll: false} because initially scroll is set as true by default for router in nextjs
router.push(newPathName, { scroll: false });
Thank you i was facing the same problem
Wow i was looking for latest next 13.4 project with typescript (coz I just learned ts ) and tailwind ❤️❤️ and your notification just popped up ✌️ THANKYOU❤️
Enjoy!
Nice content , thank you so much . hope you continue this kind of videos! more power!
i just finish the last course of create promptopie with nextjs
thank you for this great content you provide
Enjoy!
I didn`t watch the video yet, but i already know our man delivered us something awesome, better than most courses out there, for *free*.
Thank you :)
Legend!
Nice of using lastest Next version and TypeScript! Very helpful and we want more content like this. Also, I am interested in a fullstack project with Nest and Next ;)
it's an honor to complete this course, thank you so much!
Can you send me the code?? I'm trying to do. But there are some errors?
Great! i'm looking forward to watch more of Typescript projects in this channel :)
More to come! 😊
Another wonderful and amazing project to learn from. Thanks for sharing these masterpieces for free. I definitely would like to watch more videos on TypeScript.
More to come!
do you know how he got .git folder?
best tutorial ever! It just 3 hours, but I finished all in three days. Many thanks Adrian!
you have Image API key , because API key is not work
wonderful video thanks a lot, for the issue of scrolling to the top you can keep it server side rendering and add to the router.push a property of { scroll: false } which is gonna look smg like that : router.push(newPathname, { scroll: false }); that would solve it without needing to move back to the client side rendering enjoy guys
Has it been implemented? It wasn't working at the time of the recording! :)
Hi! Great channel, great projects, ideal voice comments pace and clarity. Thank you for your work.
As for Typescript, sure it's getting more and more popular nowadays but I personally prefer classic JS.
TypeScript is everything JavaScript never was, is not and probably never will be.
Awesome tutorial and so modern 😍😍😍 you are a beast, thanks for it 🙏🙏
Thank you!
Awesome! This is sooo valuable! Thanks for sharing with the community 😉🔥
You got it!
Great video! Thank you. I am specifically doing tutorials in TypeScript so I really appreciate the content!!
Sir, Thank you and i want more series like this with ts+next+mongodb ...😊
Great as always! Thanks for your content
Much appreciated!
Brilliant. +1 for more Next, TS, Tailwind projects.
The solution of scrolling to top after pushing new path to router is : simply adding {scroll:false} as second argument to router.push(path, {scroll:false}) 💯
The car api by Imagin studio is only for organizations. We cannot get it.
Is there any alternative?
II have searched all over the internet and I can't find an api with free images of cars😭
Let's hope someone finds another api that helps us :/
@@joseriquelme9673 I didn't complete the course because of the api and don't have any motivation left to continue.
The way to fix the scrolling bag is to pass {scroll: false} as the second parameter to router.push() function.
It shoould look like:
router.push("/yourpathname", {scroll: false})
It worked. Thanks bro
I just finished learning basic concepts of Typescript, and was searching for a cool project, here comes JSM, thanks a lot !😄
Happy to help!
subscribed! thank you for all of your projects and tutorials!
thanks man this is amazing nextjs project tutorial I've ever seen.💖
You're welcome!
Crazy that there are no ads in such great content
Thank you!
You are a God my man.... You have taught me REACT.....today I am earning through React....I respect you my LORD
chill bro a god ????? i know that he helped you and congrats but you better delete the comment 😶
Awesome vid!
I did have some build problems, such as the code from the gist was not working so I took the index.ts code directly., as well as issues with the transition element: i needed to add a show={true | false} in order to get it to work.
I am so happy about the typescript. Thank you so much Sir
You are most welcome
You are gem 💎 thanks for everything mate!
Happy to help!
As usual great content ! Brother i want to suggest you onething put the entire process as video the styling of css and font choosing and so on, show everything that would be awesome.
Yes, we want more, and more, and more projects like this one (in NEXTJS of course). I'm triying to specialize in Next and you are my best teacher. Thanks for all. I will by you a coffee
More to come!
Really amazing tutorial , Thanks so much Elliot!! 👏👏
The solution for the scroll bug over nextjs v-13.4.12 is router.push(newPathName, { scroll: false })
It's works for me 👍
i owe you my life sir
on point...thanks for doing so many things free for us
You are so welcome
I am so happy about typescript
Thank goodness these wonderful tutorials are now in typescript... thank you... more please
Thank you! 😊
This man's project makes us rich fast. Thanks for this one!
You're welcome!
Hi Adrian, please do more TypeScript tutorials for sure! Thank you!
Will do, thank you!
First of all, thank you very much for your work. And yes, typescript is everywhere now and it's become a must in job descriptions.
Yess!
Man please keep up the good work and i can't emphasize Typescript enough. Thank you!
As you promised you did it, what a respected citizen 👏 👌 🙌 👍 ❤🎉❤🎉🎉
Thank you!
Next.js is great, we use it at work for all our React-based projects and it saves so much time and effort, lets us work quite efficently.
The only thing I find disturbing as of late is that a lot of tutorials teach with Tailwind, which isn't as commonly used in the business. Luckily a dev who has at least some work experience is able to substitute with his preferred framework instead.
Does youe team use Bootstrap or custom css?
@@Nulimitz We used Material UI
i'm very happy for typescript, thanks!
Thank you! You are doing great job!
Man i can comfortably sau you qre the Reason am going to be a better and good web developer, you are a rare gem and UA-cam knows that that's why your videos always pop up on top whenever you upload
Amazing!
key provided is not working for imagin studios.
Same problem here
Same problem here
great video Adrian! Definitely continue making these with typescript
Your tips are much appreciated!
Does anybody know where i can find the imagin studio api key since the one used on this app was expired?
Ooohh yeah buddeeehh. TypeScript!🎉
Yess! :D
What a project! Thank you so much for this guidance on TypeScript. I learned so much through this project!
Glad it was helpful!
Another great video! Thanks, Adrian.
Glad you enjoyed it!
Yeeeeeeees lets go! Thank you! I think everyone is looking for this tutorial.
You got it!
Excellent project. Thanks.
Glad you like it!
imagin studio no longer offers free trial. what to do?
when ever i see your videos i smile, because i know i get a lot of new knowledge. God bless you, You are my unsung hero...
Thank you!
Adrian, your tutorials are great. Thank you. The only thing I'd wish for is to develop with the console open in the browser to catch warnings and errors.
Great idea!
A fix to the scroll to top issue at 2:32:41. Change router.push(newPathName) to router.push(newPathName, {scroll: false}) in your SearchBar.tsx file inside the updateSearchParams function.
That has fixed it for me. At least until normal functionality is resumed
About the scrolling bug: I got it working by using `"next": "13.2.4"` in `package.json` (and obviously running `npm i` afterwards) and adding:
experimental: {
appDir: true,
},
in `next.config.js`.
At least this works fine while keeping server side rendering until they fix the bug.
I'll try it!
Definitely a nice way to fix the scrolling bug before they fix the bug officially!👍
It works, thank you!
Great Project Man!! Keep up
The best in the game. Yes the typescript projects are awesome. Keep making projects with it.
Very exicted for this project
Enjoy!
how do i get acccess to imagin.studio's car image api without a company email?
Thankyou Adrian this project is so knowledgabale. I cannot thankyou enough man.
Love the video and love that you used TS! Please make more content using it! TS