Verida Markdown Notes Demo
May 16, 2022 ยท View on GitHub
View working App Demo here:: markdown-editor
About
The Verida Markdown Notes Demo is a Decentralized Note App which integrates with the Verida Datastore library and Verida Vault that allows users to save encrypted notes to their database.
You will need the Verida Vault app to access this. Contact us for access via Discord.
Support
Join our Discord to tell us about what you are building and for support.
Tools
Tech Stack
- JavaScript / React Library
Verida Libraries
Available Scripts
We use nvm to manage our node version. Run nvm use to pick up the correct version.
In the project directory, you can run:
yarn start
Runs the app in the development mode.
Open http://localhost:3008 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
yarn build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Add local Verida Dependencies
This is only required if building against a version of the dependencies that isn't in a released NPM package.
- Build and link the verida-js packages as described in README.md
- Return to the local directory for this repo and
yarn link "@verida/client-ts"yarn link "@verida/account-web-vault"
Releases
To do a release:
nvm usegit checkout developgit tag -a vX.X.Xgit push --tagsgren release --tags=vX.X.X(to build release notes on Github)
Deployment
Deployment to the Markdown Notes Demo site on Verida Testnet automatically done via AWS Amplify for all new commits to the main branch.
The process for this is:
- Tag the release on the develop branch (see above)
git checkout maingit merge developgit push
AWS Amplify will now build and deploy the main branch.