Skip to content
Example app with GUN and Next.js
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Adds GitHub workflow (minor) Mar 24, 2019
components Initial release Jan 19, 2018
pages
test/modules Initial release Jan 19, 2018
.gitignore
.nowignore
.travis.yml Updates engines (patch) Jun 29, 2018
LICENSE
README.md Updates README (docs) Mar 24, 2019
now.json
package-lock.json chore(deps): update dependency ava to v1.4.0 Mar 24, 2019
package.json
renovate.json

README.md

Build Status js-standard-style

gun-next-example

Example app with GUN and Next.js

See it live gun-next.example.allthethings.win

Setup

Clone the repo and install dependencies

$ npm install

Start

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.

Export

To export the app to a static server

$ npm run export

Deploy the out folder wherever you like

Now

If you use now it's even easier to deploy the app

Update alias in now.json

$ npm run deploy

License

MIT

You can’t perform that action at this time.