https://github.com/blocklet/ai-todo-list
https://github.com/blocklet/ai-todo-list
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blocklet/ai-todo-list
- Owner: blocklet
- License: other
- Created: 2024-05-26T09:09:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T12:54:17.000Z (about 2 years ago)
- Last Synced: 2024-05-30T01:03:06.872Z (about 2 years ago)
- Language: TypeScript
- Size: 2.86 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# todo-list-example
## Launch on Blocklet Server
[](https://install.arcblock.io/launch?action=blocklet-install&meta_url=https%3A%2F%2Fgithub.com%2Fblocklet%2Fai-todo-list%2Freleases%2Fdownload%2Fv0.1.10%2Fblocklet.json)
## How to start
### Install dependencies
```shell
pnpm install
# or npm install
# or yarn install
```
### Start
```shell
yarn dev
```
## How to connect with DID Spaces
- Step 1: Set the 'capabilities.didSpace' field in blocklet.yml to 'requiredOnConnect', see 'blocklet.yml#capabilities'
- Step 2: To read and write the DID Space, see api/src/routes/todo-list/index.ts#9
- Step 3: Get data from DID Spaces, see 'src/pages/todo-list.tsx#33'
- Step 4: Write data to DID Spaces, see 'src/pages/todo-list.tsx#51'
## Get help
If you want to learn more about the development of DID Spaces, You can also refer to [DID Spaces development documentation] (https://www.arcblock.io/docs/did-spaces/en/did-spaces-how-to-guides). No matter what you encounter a problem, we welcome you in our official BBS (https://community.arcblock.io/) initiated discussions.