The BEST way to host Next.js websites
17:37
Пікірлер
@kvelez
@kvelez 8 сағат бұрын
{ "compilerOptions": { "target": "ESNext", "module": "CommonJS", "outDir": "./dist", "strict": true, "forceConsistentCasingInFileNames": true }, "include": [ "src/**/*.ts" ], "exclude": [ "node_modules" ] }
@cisdolce
@cisdolce 12 сағат бұрын
i love this guy
@JohnSleeper
@JohnSleeper 14 сағат бұрын
That was my exact issue running Node.js. These 2 fixed it: var path = require('path'); app.use(express.static(path.join(__dirname, 'public'))); Thank you!
@krishnaSahu-dy6ho
@krishnaSahu-dy6ho 18 сағат бұрын
Had an interview question related to create this from scratch :P
@riccardo.masetti
@riccardo.masetti 18 сағат бұрын
Amazing video, short and clear! You really saved me, thanks!
@adhy612000151
@adhy612000151 19 сағат бұрын
Thanks For your explanation about Generic, Wesley!!!! Great tutorial!
@themanu2k12
@themanu2k12 19 сағат бұрын
Thanks a lot. Great explanation!!!
@marcusdillgen
@marcusdillgen 20 сағат бұрын
👋🏼Hey, another great video. I would like to see a more detailed look at the supported Next.js features. What about self-hosting on a VPS with middleware? i18n Routing is where I feel a bit lost so far. AWS Amplify for example does not support middleware with Next 14 yet. The ISR setup would also be interesting. Otherwise, as I said, great overview. Thanks
@BiswajitRoy-yw8yd
@BiswajitRoy-yw8yd 21 сағат бұрын
The HASH is getting changed daily and the application is breaking next day saying Failed to find a valid digest in the 'integrity' attribute for resource...
@tataruovidiu9305
@tataruovidiu9305 21 сағат бұрын
thanks!
@philgrape9449
@philgrape9449 23 сағат бұрын
Thanks
@aryannokhai286
@aryannokhai286 Күн бұрын
subscribed and liked really nice video's more specifiek than other tutorials.. and yes.. i will watch JS, Node and all your video's.. finally someone who explains something and that i understand in first try XD
@Tony.Nguyen137
@Tony.Nguyen137 Күн бұрын
Dankje bro. Such a great video!! It was so difficult to me to make webpack work.
@Mane_Tech
@Mane_Tech Күн бұрын
I haven't found a better explanation on the box-sizing property as I have in this video.
@IamCaptainDeadpo0l
@IamCaptainDeadpo0l Күн бұрын
Bootstrap has been telling me to break but i dont break i wrote a song about it I don't believe in no devil 'Cause I done raised this hell I've been the last one standing When all the giants fell [Pre-Chorus] I won't shiver I won't shake I'm made of stone I don't break [Chorus] Start me up Open my eyes Turn me loose and you'll see why I was born, born ready I was born, born ready Staring at the pressure now I won't quit, not backing down I was born, born ready I was born, born ready [Verse 2] I am the unknown fighter A dark horse coming for you I'm gonna push up higher I'm gonna do what I do You might also like Starlifter: Fearless Pt. II Crown Lands Heroes Zayde Wolf Walk Through the Fire Zayde Wolf [Pre-Chorus] I won't shiver I won't shake I'm made of stone I don't break [Chorus] Start me up Open my eyes Turn me loose and you'll see why I was born, born ready I was born, born ready Staring at the pressure now I won't quit, not backing down I was born, born ready I was born, born ready [Post-Chorus] Keep pushing up higher Keep pushing up Keep pushing up higher, higher Keep pushing up [Interlude] Keep pushing up higher, higher Keep pushing up [Chorus] Start me up Open my eyes Turn me loose and you'll see why I was born, born ready I was born, born ready Staring at the pressure now I won't quit, not backing down I was born, born ready I was born, born ready [Post-Chorus] Keep pushing up higher, higher Keep pushing up Keep pushing up higher, higher Keep pushing up [Outro] Start me up Open my eyes Turn me loose and you'll see why I was born, born ready I was born, born ready
@rickfontes5216
@rickfontes5216 Күн бұрын
How could I validate if color is valid?
@sagarbsable
@sagarbsable Күн бұрын
Great Explaination man, on point.
@slein8111
@slein8111 Күн бұрын
Please change this title to "Everything you need to know for Typescript with React"
@prashantindurkar1457
@prashantindurkar1457 Күн бұрын
Great Great Video Thanks
@tonylab3105
@tonylab3105 Күн бұрын
Thanks 🎉
@404-not-found-service
@404-not-found-service Күн бұрын
Thank you for this material, your content helps me a lot
@zoltangrof6978
@zoltangrof6978 Күн бұрын
Where is the code????
@ustav_o
@ustav_o Күн бұрын
really nice video but lets please stop using prisma
@gopal914
@gopal914 Күн бұрын
Every minute of this video is called "QUALITY CONTENT"
@trinidadjohnpatrickc.441
@trinidadjohnpatrickc.441 Күн бұрын
This is pretty useful if you already know how authentication works and dont want to hassle yourself coding it by scratch. Thanks for the video!
@abukhalidrifat3994
@abukhalidrifat3994 Күн бұрын
During server side validations I need to manually check using if condition. Is there any shortcut for that?
@doob50
@doob50 Күн бұрын
thank you for the video! I was looking for a docker nextjs postgres video with prisma 😊
@ByteGrad
@ByteGrad Күн бұрын
Enjoy!
@mounir101
@mounir101 Күн бұрын
Great video, bro! I learned a lot more than I did from the Next.js documentation because you explained things thoroughly. Thanks a lot for your hard work.
@ShahNawaz-oj5xt
@ShahNawaz-oj5xt Күн бұрын
Loved the tips on hot reload on Docker. Can you please make more videos on docker and kubernetes? Thanks!
@zacharyshifrel9107
@zacharyshifrel9107 Күн бұрын
How do you guys feel about using the server side of Next.js (e.g., for fetching) while you already have an express backend? I do it, but it feels weird to talk about having two servers, lol.
@jfhandfield
@jfhandfield Күн бұрын
Wow great video once more. Do you think you could do a video on dockerizing a next JS app in a TurboRepo. How to bundle all the dependencies and everything. That would be my next step in my company. Thank you for your time!
@user-ru8hn9hb5c
@user-ru8hn9hb5c Күн бұрын
Do you think Drizzle is better than Prisma?
@ianh754
@ianh754 2 күн бұрын
Excellent tutorial!
@zerefdev
@zerefdev 2 күн бұрын
Please add "prisma" to the title:)
@academyonnet
@academyonnet 2 күн бұрын
Did I miss the timestamp where you explained why I would need a docker if I can develop on my local machine, push it to git and from there I can deploy it on Vercel?
@Dom-zy1qy
@Dom-zy1qy Күн бұрын
If you dockerize something, you can deploy it anywhere that you can host docker containers (which is pretty much everywhere). Also allows you to host it locally in an environment that much more closely mirrors the deployed environment
@kritsrijakkot9175
@kritsrijakkot9175 2 күн бұрын
If I want to use docker compose to create containers for nextjs and postgre in the same time I build because I have problem about after build docker compose not connect to database. Can someone help me or show the example for me pls. Thank you
@netTraverser
@netTraverser 2 күн бұрын
I don't know if this qualifies as being out of the scope of what you typically put out, but can you do a full on tutorial of docker? If it isn't too much to ask for
@ByteGrad
@ByteGrad 2 күн бұрын
Was thinking about it, may do it!
@netTraverser
@netTraverser 2 күн бұрын
@@ByteGrad appreciate it
@alirezanikzad3383
@alirezanikzad3383 2 күн бұрын
that was so cool ty for learning <3
@coders_rant
@coders_rant 2 күн бұрын
Thanks. Needed help with docker
@BarisPalabiyik
@BarisPalabiyik 2 күн бұрын
We can pass the path value from window to the server action along with the formData to revalidate sender path dynamically right?
@subhranshudas8862
@subhranshudas8862 2 күн бұрын
Thanks dude!
@chichesabalero5046
@chichesabalero5046 2 күн бұрын
Great video! but... when you breathe? 😂
@sandzz
@sandzz 2 күн бұрын
Very well made tutorial. I am looking for a stack for my side project. So I can use vercel for the edge compute. but my postgresql will sit in 1 region only. So there is no point using edge compute for my nextjs app at all, because the responses will get delayed due to DB query anyway. Is there a good cheap way to handle db latency?
@sandzz
@sandzz 2 күн бұрын
or should I put all in a single VPS and call it a day?
@edhahaz
@edhahaz 2 күн бұрын
Postgres (Prisma) so... not postgres
@joantsyn7578
@joantsyn7578 2 күн бұрын
Great contents!👍
@spectagodx3958
@spectagodx3958 2 күн бұрын
Great Video. I have deployed several NextJS container and it’s all fun and games until the container is behind a Proxy. For some reason NextJS 14 ignores env variables like HTTP_PROXY that node typically can handle. NextJS then is not able to send requests to services outside that proxy network like Auth providers. Do you know how set proxy variables to NextJS so the app can pass proxy’s?
@joantsyn7578
@joantsyn7578 2 күн бұрын
thx for good explanations!👍
@Alex.Shalda
@Alex.Shalda 2 күн бұрын
Awesome vid! Exactly what I need 🎉 thank you ❤
@longxuong803
@longxuong803 2 күн бұрын
just install Coolify, Dokploy,...into your VPS, home server, then you can create your database, push your project with CI/CD
@Devlou333
@Devlou333 2 күн бұрын
I'm a Front-end Developer. I learn SQL in High School. I want to learn Next.js. Should I learn Algorithm & Data Structures first or just GO for Next.js ?? Please Help
@azamataliqulov1601
@azamataliqulov1601 2 күн бұрын
If you never learn Algorithm & Data Stuctures, first learn them
@Devlou333
@Devlou333 2 күн бұрын
Thanks 🙏
@Alex-bc3xe
@Alex-bc3xe 2 күн бұрын
Even as a fronted developer you need at least data structures nested arrays of nested objects maps sets and so on this is like the foundation
@poznianski
@poznianski 2 күн бұрын
You don't need linked lists and and binary search for the 99 % of front end tasks. If you are already a frontend developer and want to learn the most modern framework - just do it and don't waste your time.
@breachr4696
@breachr4696 2 күн бұрын
Learn react before you do Nextjs, it's much more important. DSA is important but more so for a back-end developer than a front-end developer. Like the comment above me says, you just need to learn the fundamental data structures.