Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.18 KB

Simple Checklist Built With Spin

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 UI
  • api - an API to manage to the checlist items (via Spin's router)
  • kv-explorer Spin's key-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

Preview of the UI