Web site for widget clients to register and mange their account
Follow these steps:
- Clone this repo
cd webdapp
- Install dependencies:
npm i
- Set up a MySQL instance with the script on
./migrations/
- Set up webdapp/.env file with the following keys:
FORKING_URL
,RINKEBY_URL
,DATABASE_HOST
,DATABASE_PASS
,DATABASE_NAME
, andDATABASE_USER
- Run the tests:
npm test
You must run both the front end and the back end as follows:
- Front end:
npm start
- Back End:
nodemon server/server.js
Make sure to run a local fork of mainnet to ensure all external contracts will be found. You can do so withnpx hardhat node --fork url
--TODO delete top folder so project is just the webdapp folder