Setup
This tutorial teaches Nano Kit by building a small app in stages. The app is Event Board, a public listing of frontend events.
It starts as a single React page, then grows into a routed, data-driven, SSR-ready app.
What We Build
Section titled “What We Build”The finished app can:
- list upcoming events;
- filter events by search text and category;
- load more events with cursor pagination;
- open a public event page;
- create a new event;
- RSVP with an optimistic attendee count;
- render list and detail pages on the server.
Packages
Section titled “Packages”The tutorial starts with a Vite React app and the Nano Kit packages used throughout the project:
pnpm add @nano_kit/store @nano_kit/query @nano_kit/router @nano_kit/react @nano_kit/react-router @nano_kit/react-ssr react react-dom hono @hono/node-serverpnpm add -D vite @vitejs/plugin-react typescriptAPI Shape
Section titled “API Shape”To keep the focus on Nano Kit, assume the app already has a small HTTP API. In the final source this is an in-memory Hono server, but the UI code only needs to know these endpoints:
GET /api/eventsGET /api/events/:slugPOST /api/eventsPOST /api/events/:id/rsvpYou can compare each step with the complete implementation in the Event Board source.