Deploying Next.js Apps on Cloudflare! Cloudflare Workers Tutorial!

Published: 04 October 2024
on channel: Atharva Deosthale
1,945
71

Hello guys! In this video, we will look at how you can host your Next.js apps on Cloudflare workers. Cloudflare recently announced that OpenNext (an initiative that wants Next.js to be deployable on all hosting platforms) now supports Node runtime support in Cloudflare workers. Previously, Next.js was supported but through Cloudflare Pages and using the Edge Runtime i.e. the Worker Runtime. Now, OpenNext has patched a lot of Node APIs to work with the Worker runtime.

In this video, we will try and deploy a Next.js app to Cloudflare workers. Note that deployment is not free, it requires 5$. Although, you have good rate limits moving forward. Please refer to Cloudflare pricing.

If you liked the content and found it useful, make sure you support me by clicking the subscribe button and sharing this video with friends in need. 🤝

Links

OpenNext docs on Cloudflare workers - https://opennext.js.org/cloudflare

Any suggestions? Leave in the comments below!

TIMESTAMPS

0:00 - Introduction
0:46 - Context behind the differences in Cloudflare and Vercel
5:17 - Configuring Next.js app and deploying to Cloudflare workers
17:09 - Conclusion

My links
E-mail - [email protected]
Blog - https://blog.atharva.codes
Latest Links - https://links.atharva.codes
Twitter -   / athudeosthale  
LinkedIn -   / atharvadeosthale  

#programming #programmer #javascript #nodejs #npm #reactjs #react #typescript #nextjs #next #cloudflare #vercel #runtime


Watch video Deploying Next.js Apps on Cloudflare! Cloudflare Workers Tutorial! online without registration, duration hours minute second in high quality. This video was added by user Atharva Deosthale 04 October 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,94 once and liked it 7 people.