/nuxt-web3-auth

A demo which uses nuxt and web3/metamask to sign in users and protect routes.

Primary LanguageJavaScript

nuxt-web3-auth

A demo which uses nuxt and web3/metamask to sign in users and protect routes.

This project requires the example decoupled express api you can find in /api

Build Setup

# install dependencies
$ npm install
$ cd api
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev
$ cd api
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout Nuxt.js docs.