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

Veröffentlicht am: 04 Oktober 2024
auf dem Kanal: 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 - hey@atharva.codes
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


Auf dieser Seite können Sie das Online-Video Deploying Next.js Apps on Cloudflare! Cloudflare Workers Tutorial! mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Atharva Deosthale 04 Oktober 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,945 Mal angesehen und es wurde von 71 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!