Example app with GUN and Next.js
See it live gun-next.example.allthethings.win
Clone the repo and install dependencies
$ npm install
Start the dev server
$ npm run dev
Visit localhost:3000 to see it.
Click on the link on the bottom of the page to visit the random generated area for sync of a number.
Open the same url in different browsers and on different machines to see the sync in action.
To export the app to a static server
$ npm run export
Deploy the out
folder wherever you like
If you use vercel it's even easier to deploy the app
Update vercel.json
$ npm run deploy