This is the starter code to my blog post on Medium on "How to Deploy a Next.js App to Heroku". Check it out:
https://medium.com/@this.kevinluu/how-to-deploy-a-next-js-app-to-heroku-d33bd86c2a2b
This is a boilerplate Next.js application with a GraphQL backend. Upon initial load of the home page, a GraphQL query will be made to fetch a list of users. The users will be rendered to the screen once the data is retreived.