Storing all the level complete logs into mongo database, including player address and level contract address.
- create
.env
file
DB_URI=YOUR_MONGODB_URI
- run
npm install
- run
init.js
to drop the old collections and create new ones - run
server.js
to start listening event