An web3 Todos application built using FairOS REST API and FDP Play.
- improve dx w.r.t initial setup and env
- improve ui/ux
- make todos editable (fairDataSociety/fdp-storage#192)
node
andnpm
must be installed- docker must be installed
- the following ports must be free and available for FDP Play to use
- 1634 and 1635 - for the queen bee node
- 9545 - for the blockhain
- 9090 - for fairOS
$ npm install -g @fairdatasociety/fdp-play
$ fdp-play start --fairos
$ git clone https://github.com/fairDataSociety/fairos-TODO-app-example.git
$ cd fairos-TODO-app-example
$ npm install
$ cp .env.example .env
$ curl -s -XPOST http://localhost:1635/stamps/10000000/18
Update the VITE_BEE_POSTAGE_BATCH_ID
in your .env
file with the "batchId" returned in the previous step.
Requirements: fdp-play
must be running already!
$ npm run dev
The application can be viewed at - http://localhost:5173/