Starter Kit: Astro + Svelte on the Internet Computer

Below you can find different versions of this Starter Kit. You can copy the corresponding git clone command and clone the version you want. To copy the command use the copy icon to the right.

Alternatively, you can clone the whole repository or update it with git fetch --all and checkout a specific tag, e.g. with git checkout tags/1.0.1.

1.1.0
Latest

package.json has been updated to the latest versions.

1.0.0
Main Packages
  • @dfinity/agent 0.20.2
  • @dfinity/candid 0.20.2
  • @dfinity/principal 0.20.2
  • svelte 4.2.8
  • astro 4.1.2
Project Type
  • Two canisters (frontend and backend)
Backend Canister
  • Motoko
  • Contains a small Glossary database and delivers a specific Glossary entry by Id to the frontend.
  • It also shows an example on how a given principal Id only can execute a function and on the usage of custom result and error types.
Frontend
  • Astro with a svelte component Glossary that accesses the Internet Computer.
  • Uses the ready to use actor, provided by the dfx generate command.