https://github.com/blocklet/kitchen-sink-demo
https://github.com/blocklet/kitchen-sink-demo
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blocklet/kitchen-sink-demo
- Owner: blocklet
- Created: 2020-10-27T10:25:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T08:40:15.000Z (about 1 year ago)
- Last Synced: 2025-10-06T15:36:50.632Z (8 months ago)
- Language: JavaScript
- Size: 998 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Kitchen Sink Demo
## Launch on Blocklet Server
[](https://install.arcblock.io/?action=blocklet-install&meta_url=https%3A%2F%2Fgithub.com%2Fblocklet%2Fkitchen-sink-demo%2Freleases%2Fdownload%2Fv1.5.3%2Fblocklet.json)
## What's Included?
Demo blocklet that showing how to define a blocklet:
- Meta, checkout [blocklet.yml](./blocklet.yml)
- Interfaces: checkout [app/index.js](./app/index.js)
## Requirements
- Node.js v12.x or above
- A running Blocklet Server instance on dev environment
## Getting Started
### 1. Install Blocklet Server
```shell
npm install -g @blocklet/cli
```
### 2. Get the Blocklet
```shell
git clone https://github.com/blocklet/kitchen-sink-demo.git
cd kitchen-sink-demo
npm install # or yarn
```
### 3. Setup the node
```shell
blocklet server init -f
blocklet server start
```
> The Blocklet Server instance is stored under the `.abtnode` directory.
### 4. Deploy the Blocklet
```shell
npm run deploy
```
> The blocklet is bundled under the `.blocklet` directory
Then checkout the blocklet in your Blocklet Server Dashboard.