A web3 Todos application built using fdp-storage
and fdp-play
.
- improve dx w.r.t initial setup and env
- improve ui/ux
- bump
fdp-storage
version when released (currently uses "github:fairDataSociety/fdp-storage#fix/bee-js-762") - make todos editable (fairDataSociety/fdp-storage#192)
node >= 16
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/fdp-storage-TODO-app-example.git
$ cd fdp-storage-todos/
$ 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/