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
In questa pagina del sito puoi guardare il video online Deploying Next.js Apps on Cloudflare! Cloudflare Workers Tutorial! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Atharva Deosthale 04 ottobre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,945 volte e gli è piaciuto 71 spettatori. Buona visione!