Tutorials
Each tutorial builds one application step by step, from an empty directory to a running app. Every step ends with a command or an endpoint you can check, and each track introduces capabilities in the order you need them. You don't need to know the framework before you start.
Five tracks, five applications
Each track builds one complete application from a fresh netscript init and ends by running it
locally under Aspire. The tracks are independent: start with the one closest to what you're building.
Not sure which to pick?
| Name · Type | Description |
|---|---|
An API with multi-step business logicStorefront |
Typed services and a workflow that can't half-complete: orders, payments, fulfillment. Teaches contracts, defineService, sagas and webhooks. |
An app behind a loginTeam Workspace |
Authentication, sessions and route-level access control first. Teaches the auth backend, session crypto and the .withAuthz() seam. |
Data pipelines and scheduled workERP Sync |
Work off the request path: file ingestion, batch jobs, scheduled syncs and tasks in other languages. Teaches triggers, jobs, queues, cron and the task runtime. |
A live, reactive frontendLive Dashboard |
Server data in a Fresh UI that stays current without a refresh. Teaches the SDK client, cache-first queries, the page builder, islands and durable streams. |
A durable AI chat appAI Chat |
A chat UI whose transcript, streaming markdown, tool-call cards and MCP widgets survive reload and reconnect, with replies that stream in live. Teaches the durable chat route on @netscript/fresh/ai, the fresh-ui chat components, a server-side tool, the MCP client stack and the live subscription. |
New to NetScript? Any track starts from zero, but Storefront covers the most core ideas.
Prerequisites
Every track needs the same local toolchain:
deno install --global --allow-all --name netscript jsr:@netscript/cli@0.0.9
If you have never run NetScript on this machine, the quickstart installs the CLI and boots a project in a few commands. Each chapter lists the earlier chapters it builds on.