Demo blocklet that showing how to define a blocklet:
- Meta, checkout blocklet.yml
- Interfaces: checkout app/index.js
- Node.js v12.x or above
- A running Blocklet Server instance on dev environment
npm install -g @blocklet/cli
git clone https://github.com/blocklet/kitchen-sink-demo.git
cd kitchen-sink-demo
npm install # or yarn
blocklet server init -f
blocklet server start
The Blocklet Server instance is stored under the
.abtnode
directory.
npm run deploy
The blocklet is bundled under the
.blocklet
directory
Then checkout the blocklet in your Blocklet Server Dashboard.