-
next-on-netlify
Discontinued Build and deploy Next.js applications with Server-Side Rendering on Netlify!
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
next-on-netlify-demo
Demo of a Next.js app with Image Optimisations using netlify functions and cloudinary
For this tutorial, the last two solutions will suffice us. We shall make use of a simple Image Optimiser provided to us by the package next-on-netlify (originally demonstrated by Jason 🙏) which uses jimp under the hood. But that is just a plain API, not performant enough as against the one provided by Vercel. Therefore, we will apply Cloudinary as the default loader, being compatible with Netlify and other hosting platforms.
With sheer perseverance, the team at Netlify have been toiling to provide one-click integrations for Next.js apps. They have prepared a package called next-on-netlify(currently in beta). You can also install a separate build plugin called @netlify/plugin, which uses the above package under the hood. We are going to use the next-on-netlify for now, just to show the deployment process. So, prep your editors up! đź“ť
Can't wait to see the final results? Head on to demo repo
In search of more examples? Check out my PR on this repo where I am converting my community’s website, deployed on Netlify, to use Next 10 and Tailwind CSS.
Since Next.js 10’s release, they have added several additional features to their incredible React Framework for Production. Two of the best I fancied were the built-in Image Component and Automatic Image Optimisation features. It serves images in modern formats like WebP if supported by a browser which is smaller than the JPEGs. Google and Vercel team collaboration deliver us this crucial improvement to present images on a webpage in a performant way, following all the best practices.
Last, to deploy using the terminal, you need to install netlify-cli and log in using the cmd netlify login.
Related posts
-
Tips from open-source: Set a maximum time limit on fetch using Promise.race()
-
How to Build Your Own ChatGPT Clone Using React & AWS Bedrock
-
System & Database Design (Day 1) - Creating a SaaS Startup in 30 Days
-
7 Frameworks, One SAML Jackson - Your Open Source Single Sign-On Solution
-
Epic Next.js 14 Tutorial: Learn Next.js by building a real-life project: Part 1