This sample application presents users with a simple checklist rendered with Spin's static fileserver, and keeps track of the checklist's status using Spin's default Key Value store. The Spin application made of 3 components:
static-fileserver
- Spin's static fileserver to generate the UIapi
- an API to manage to the checlist items (via Spin's router)kv-explorer
Spin'skey-value-explorer
to keep track of the checklist items and their status.
To get started, please make sure you're using Spin v1.0 or later (spin installation instructions along with the necessary JS/TS dependencies shown below.
spin plugins install js2wasm --yes
You can then run the appplication locally via the following command:
spin build --up
Then (optionally), if you would like to deploy to Fermyon Cloud, make sure to install the spin cloud
plugin and login before running:
spin cloud deploy