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.
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).
From the root of the project run
$ cd frontend
$ npm i
$ npm start
The frontend is going to run on port 3000 (if available).