Skip to content

Getting Started with τjs

NOTE
τjs is in active development. Expect breaking changes on the path to v1. Some features may be evolving or are temporarily missing.

τjs is a developer-first orchestration layer with declarative configuration for building modern web apps with per-route control over CSR, SSR, and Streaming SSR.

Start with τjs example repo

Terminal window
git clone https://github.com/aoede3/taujs-starter-react
cd taujs
yarn
yarn dev

Scaffolding CLI in progress. Until then, start from the example repo above

  1. Define frontend apps and routes in taujs.config.ts
  2. Choose rendering mode per route (SSR, Streaming SSR, or CSR)
  3. Optionally attach data loaders
  4. Configure security (CSP, authentication)

τjs handles routing, rendering, and orchestration.

  • Fastify - Runtime server
  • Vite - Frontend builds and HMR in development
  • React - UI framework

Development:

  • Vite HMR for instant feedback
  • tsx watch runs server TypeScript directly

Production:

  • Static assets built by Vite, served by Fastify
  • Fastify runs esbuild/rollup output
  • Zero runtime dependencies beyond your stack