atlas setup
to create and configure an atlas account
tsc
to compile your typescript code. Change the generated app.js
file to have the new name app.cjs
. This will be needed for the next step when we import the MongoDB class into the script that interacts with peaq.peaq.js
"type": "module"
MongoDB_Id: Hashed_Data
. The data is then retrieved from the MongoDB based on the ID and the hashed data is read, then compared, to show the immutability.