A collection of TypeScript libraries for building type-safe REST APIs and web applications.
Define REST APIs with fully typed routes, tag-based caching and OpenAPI generation — without a compile step.
Fully typed fetch client for a Toapi API, with client-side caching and revalidation.
Types and helpers shared between the Toapi server, client and worker packages.
React bindings for Toapi with Suspense integration and auto-revalidation.
Lightweight React-based client-side router with nested routes and path parameters.
Flexible caching system with tag-based invalidation supporting in-memory, filesystem, Postgres and Redis backends.
Vite plugin that serves a Toapi API in dev and preview, and bundles it for production.
Service worker runtime that caches Toapi responses and keeps them in sync with the server.
Lightweight lazy evaluation utility library.
Durable workflow engine with SQLite, Postgres and Drizzle adapters.
Run Prisma migrations against throwaway SQLite/PGlite databases in tests.
Example of using environment variables from a .env-file with Vite and Toapi.
Example of a simple todo list application using Vite and Toapi.
Example of a contact book application using Vite, Toapi and @toapi/router.
Example of rendering server data with @toapi/react.
Minimal @toapi/vite-plugin setup, including a Docker deployment.
Example of using @farbenmeer/workflow with Drizzle and SQLite.