This project is based on How to build a simple notes app with IDX and How to store encrypted secrets using IDX articles.
We changed the Schema for Notes to use a JWE format, so we have the same functionality as in the simple notes app, but the notes' plaintext is never stored in Ceramic or IDX. We encrypt the notes using ceramic.did.createJWE when we save a draft or a note and decrypt them using ceramic.did.decryptJWE during opening.
- Install Ceramic and IDX CLIs:
npm install -g @ceramicnetwork/cli @ceramicstudio/idx-cli(they require node 14+ and npm 6+). - Bootstrap Ceramic and IDX with
ceramic daemonandidx bootstrap. - Download this repo, install it with
npm installand start the server withnpm start.