A starter template for building TypeScript HTTP applications with Spin.
Build the App
spin buildspin upTo use additional Spin interfaces, install the corresponding packages:
| Interface | Package |
|---|---|
| Key-Value | @spinframework/spin-kv |
| LLM | @spinframework/spin-llm |
| MQTT | @spinframework/spin-mqtt |
| MySQL | @spinframework/spin-mysql |
| PostgreSQL | @spinframework/spin-postgres |
| Redis | @spinframework/spin-redis |
| SQLite | @spinframework/spin-sqlite |
| Variables | @spinframework/spin-variables |
- First install the StarlingMonkey Debugger extension.
- Build the component using the debug command
npm run build:debug. - Uncomment
tcp://127.0.0.1:*in theallowed_outbound_hostsfield in thespin.toml. - Start the debugger in VS Code which should start Spin and attach the debugger. The debugger needs to be restarted for each http call.