ic-sqlite-svelte-demo
A simple demo canister of using Sqlite with a Svelte frontend.
ic-rusqlite
ic-test
testing framework for testing the backend functionsAlso, install some extra tools.
For canister development:
cargo install wasi2ic
cargo install ic-wasm
For test development:
cargo install ic-test
If you want to deploy the project locally, you can use the following commands:
dfx start --background
npm install
dfx deploy
To run tests, you need to first compile the project, you can do it with:
dfx build
Then start the integration tests with:
cargo test -p tests