Example app with GUN/SEA and Next.js
Clone the repo and install dependencies
$ npm install
Start the dev server
$ npm run dev
Visit localhost:3000 to see it.
You can login with almost any username and password. If it doesn't exist the app will create it for you. As a logged in user you can increase/decrease the number.
Open another browser at localhost:3000 and loginwith the same username/password. The numbers should sync between browsers.
To export the app to static
$ npm run export
Deploy the out
folder wherever you like
If you use now it's even easier to deploy the app
$ npm run deploy