Skip to content
ONIWC
iwc 0.1.0

Tutorials

Sixteen step-by-step tutorials, from an empty folder to a production deployment. Each one starts from a clear objective, lists its prerequisites, gives you every file in full with its path, explains the properties that matter, and ends with the commands to run and the output to expect.

Every file in these tutorials comes from a real project that compiles with iwc check and passes its tests with iwc test. The pages include those files verbatim, so the code you copy is the code that was verified.

Beginner

#TutorialYou buildCovers
1Create your first IWC projectThe starter appiwc create, iwc dev, project files, live reload
2Build your first UI pageA café menu pagescreens, routes, text, grids, static data, formatting, tests
3Create a reusable buttonA call-to-action componentcomponents, props, defaults, expressions, CSS
4Create a reusable layoutA studio website framelayouts, slots, sticky headers, navbar, 404
5Build a formA contact formforms, inputs, request contracts, validation errors

Intermediate

#TutorialYou buildCovers
6Connect an APIAn exchange-rate boardservices, actions, API. data sources, error states
7Build an authentication systemA members areausers, sign-up, sign-in, sessions, roles, protected pages
8Create a CRUD applicationA to-do appowner-only data, create/read/update/delete, edit forms
9Connect a databaseThe to-do app on PostgreSQLdatabase.url, migrations, Postgres tests
10Create an admin dashboardStats, a chart and tablesroles, aggregates, charts, admin layouts

Advanced

#TutorialYou buildCovers
11Build an e-commerce applicationA complete storecart state, checkout action, workflows, events, jobs
12Implement paymentsPaid workshop tickets@iwc/payments, hosted checkout, server-side confirmation
13Implement push notificationsClub announcementsiwc push setup, the push step, background jobs, iwc push test
14Build a real-time applicationA team chat roomlive data over Server-Sent Events
15Build an offline-capable applicationA site-inspection notebookstored screens, queued writes, conflicts, sync status
16Build and deploy a production applicationThe to-do app, livevalidate, build, PostgreSQL, release agent, shared hosting

Before you start

  • Install IWC and check it with iwc doctor (Installation).
  • Use an editor with JSON support. iwc create sets up VS Code to autocomplete and check every key.
  • Keep iwc dev running while you edit: it recompiles on save and shows errors in the terminal and in the page.

Every tutorial project is compiled with iwc check and tested with iwc test against the IWC version these docs describe.

Source: apps/marketing/content/docs/tutorials/index.md