Skip to content

OctavioSerpe/metamask-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metamask-challenge

Build a frontend with React, integrated with Metamask via Web3. Build a backend with Nodejs.

The frontend must have different features

  • login with Metamask
  • display account address and it's balance
  • save account address and it's balance sending them to the backend
  • support Rinkeby Test Network

The backend must have different features

  • connect to a Mongodb database
  • offer a POST endpoint to save account address and it's balance to the Mongodb instance

Another requirement is to make an Ethereum faucet to test the web.

How to run the project

Backend

From the root of the project run

$ cd backend
$ npm i
$ npm run dev

The backend is going to run on port 5000 (if available).

Frontend

From the root of the project run

$ cd frontend
$ npm i
$ npm start

The frontend is going to run on port 3000 (if available).

Web demonstration

Without an address

No address

With an address

With address

Mongodb Database

Having logged previous account data

Atlas Mongodb

Useful references

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published