A simple to-do list with task status. Built using the Azle package for ICP
-
Clone the repository:
git clone https://github.com/wiztensai/azle-todo-list.git
-
Prerequisites:
-
Node.js version > 16
-
DFX command line tools (version 0.16.1):
DFX_VERSION=0.16.1 sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
-
Build dependencies:
Ubuntu:
sudo apt install clang sudo apt install build-essential sudo apt install libssl-dev sudo apt install pkg-config
macOS:
xcode-select --install brew install llvm
-
-
Install dependencies and deploy:
cd azle-todo-list npm install dfx deploy
add(title: text, body: text)
get()
update(taskId: text, title: text, body: text)
get()
getTaskStatus()
setTaskStatus(taskId: text, status: text)
- "azle": "^0.20.1"
- "uuid": "^9.0.1"
- Azle github: https://github.com/demergent-labs/azle
- Azle package documentation: https://demergent-labs.github.io/azle/the_azle_book.html
- Dfinity SDK documentation: https://internetcomputer.org/docs/current/developer-docs/backend/typescript/