Build and Deploy A Pokemon App With Next.js 13 (App Directory, Pokemon API)

  Рет қаралды 9,327

Cooper Codes

Cooper Codes

Күн бұрын

Enjoying my videos? Sign up for more content here: www.coopercodes.com/
📩 Join CodeLetter by Cooper Codes, the 3 minute tech newsletter: thecodeletter.com
In this video we create a Next.js 13 project that allows us to search for Pokemon using the Pokemon API (pokeapi.co/). The tutorial covers dynamic routing, API calls, server vs client components, and more! This is a great beginner Next.js 13 tutorial and allows you to see the entire development process, starting from scratch to deploying the complete application.
Deployed Application: pokemon-finder-phi.vercel.app/
Final Code: github.com/coopercodes/Pokemo...
0:00 Project introduction
1:40 Next.js 13 project setup with shadcn/ui
4:10 Setup ThemeProvider with next-themes (Dark mode)
8:55 Create initial page style
12:15 Discussing PokemonGrid and Next.js 13 system design
14:40 Creating PokemonGrid component
25:15 getPokemonList API call to Pokemon API
29:05 Pass list of pokemon to PokemonGrid
31:50 Display Pokemon list data to user
33:30 Filter Pokemon by text input
36:50 Create /pokemonName route page
40:40 getPokemon API call to Pokemon API
43:10 Get Pokemon image with next/image
51:30 Show Pokemon stats to user (hp, defense, etc.)
56:54 Deploy to Vercel with Vercel CLI (Host your app!)

Пікірлер: 28
@uguryldrm9096
@uguryldrm9096 11 ай бұрын
Dude, whenever I need some specific topics to see, you always upload it within 2 days, you are the best
@gsindar
@gsindar 11 ай бұрын
Your channel is just amazing, and I am happy for discovering it.
@kranthikumar5215
@kranthikumar5215 3 күн бұрын
Really love you man......God bless you....What a great and crystal clear explanation.And lot of new tricks learned 🎉🎉🎉🙏🙏
@paulthomas1052
@paulthomas1052 11 ай бұрын
Hi mate, thanks for another great tutorial - really enjoyed it and learnt loads. Thanks again !
@coders_rant
@coders_rant 11 ай бұрын
made me nostalgic and i got to learn next13 at the same time! thanks man
@CooperCodes
@CooperCodes 11 ай бұрын
Glad it was fun for you :) thanks for watching
@theofanisbirmpilis7364
@theofanisbirmpilis7364 11 ай бұрын
Great video! Keep the next js videos coming
@CooperCodes
@CooperCodes 11 ай бұрын
Thanks so much! More on the way soon :)
@sodastereofercu
@sodastereofercu 9 ай бұрын
Muchas gracias por el video :) esta bueno para comprender mas Nextjs los que recién empezamos
@codeozz
@codeozz 9 ай бұрын
Your lecture is really great
@shotbyviera
@shotbyviera 8 ай бұрын
THANK YOU MAN :D
@csyokesh.s2131
@csyokesh.s2131 11 ай бұрын
Awesome video. Thanks.
@CooperCodes
@CooperCodes 11 ай бұрын
You are very welcome, thanks for watching!
@Nanashi-rq7lk
@Nanashi-rq7lk 10 ай бұрын
Nice Video
@apxlxnix1
@apxlxnix1 8 ай бұрын
Hi buddy, what if I want to display their images on the home page? Should I make another API call?
@HazedCoding
@HazedCoding 3 ай бұрын
How am I getting a call stack error with the same code you have, I've rewatched the 151 implementation a few times and can't resolve the issue.
@agungprakoso18
@agungprakoso18 11 ай бұрын
so how to render image too in homepage ?
@zencatz
@zencatz 10 ай бұрын
how can i show the image of the pokemon when i on home page, not just show their name ?
@user-dh8rm3ob4f
@user-dh8rm3ob4f 11 ай бұрын
so the getPokemonNames function that is awaited in Home() function is actually called in the server side?
@CooperCodes
@CooperCodes 11 ай бұрын
Yup, we load the data server side and then pass in that data to the PokemonGrid component built on our client.
@user-dh8rm3ob4f
@user-dh8rm3ob4f 11 ай бұрын
@@CooperCodes so in plain React, we generally use useEffect() to load the data and while the promise is pending, we show loading states right. So how do we handle this loading state in Next js, if the data that is fetched from an api endpoint takes a lot of time to load.
@toxtethogrady4610
@toxtethogrady4610 11 ай бұрын
please do a paid advanced course 🙂
@ojaspalorkar7434
@ojaspalorkar7434 6 ай бұрын
help
@alext5497
@alext5497 11 ай бұрын
Total weeb ex termination
@CooperCodes
@CooperCodes 11 ай бұрын
😂I'm unsure what this means exactly ahahaha
@dimadeloseros1
@dimadeloseros1 11 ай бұрын
@@CooperCodes 😂😂😂
Is Blazor Better than React?
14:25
Gavin Lon
Рет қаралды 42 М.
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 16 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 10 МЛН
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН
My New Favorite Next.js 13 UI Library (Radix UI Themes)
18:01
Cooper Codes
Рет қаралды 12 М.
Build A Pokémon Application With React - Axios, API Tutorial
11:40
Code With Ajesh
Рет қаралды 4,8 М.
Rest API - Best Practices - Design
15:50
High-Performance Programming
Рет қаралды 98 М.
Next.js Server Actions...  5 awesome things you can do
7:51
Beyond Fireship
Рет қаралды 253 М.
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 26 МЛН
Ждёшь обновление IOS 18? #ios #ios18 #айоэс #apple #iphone #айфон
0:57
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 1,1 МЛН