This repository shows how to set up and run a project with fetch on Acurast.
To set up this project on your computer, make sure to have node.js installed. Then run
npm iTo build and bundle the project into a single executable, run
npm run bundleThis will create the file ./dist/bundle.js.
Tip
Run node ./dist/bundle.js to check if the app works on your computer
The deployment is done with the Acurast CLI. Make sure to create a .env file according to the docs and adjust the acurast.json configuration as you wish. Then run npm run deploy to deploy the code.