- Add API Key to secret.json file
- Run
make dev
- Go to 127.0.0.1:7676
main.go
is a mess, but generally renderes theindex.html.tmpl
- API calls are cached or saved in the KV store.
- Deploys happen automaticall when pushed to main branch.
- Dev uses
go
but in production tinygo is used (See difference between fastly.toml and fastly.dev.toml). This is importaint because not everything works in tinygo (likeencoding/json
) and tinygo results in a smaller binary.
- Tests
- Yearly data + Plots