/nuxt-metamask-login

A demo which uses nuxt and metamask to sign in a user.

Primary LanguageJavaScript

Login with MetaMask using Nuxt.js

This demo is published to see how you can use MetaMask to authenticate users using Nuxt.js

Live Demo 🚀

The app is hosted on Now by Zeit: https://nuxt-metamask-login-yezpjsooep.now.sh/

Demo of using the website

Getting Started

The app is made out of a backend which is a REST API written in Express, and a frontend which is a Nuxt SSR application.

Everything is build together so you just have to run yarn run dev or npm run dev. After that you will be able to open http://localhost:3000/.

# install dependencies
$ npm install
$ yarn install

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

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

# generate static project
$ npm run generate
$ yarn run generate

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

If you liked this demo, I appreciate small donations. 0x4b191bf8b1046219b8b2c6951ef221575d8cf4e9