We've got a brand new Nhost starter template for you! You can check out the code and clone the project here: https://github.com/nhost/nhost-netlify-starter-nextjs-reactquery or click the button below to step through the process of creating a new repo, new Netlify project, and deploy it (you will need to add Nhost env vars to get full functionality).
For a full step-by-step tutorial, check out this YouTube video: Deploy the Next App with Netlify. To deploy the app, you can either clone the existing repo or create a new Netlify project and connect it to your own repo. Once deployed, you'll need to set two environment variables in your Netlify project via the dashboard to get the full functionality of the app. These environment variables are located in the upper right corner of your nhost project dashboard under "Project Info". With these variables set, you can trigger a new deploy and everything will work as expected!