This repository contains a hello world implementation of the unified development stack built around One. It demonstrates how to use pnpm workspaces to manage a cross-platform project that targets web and native clients while sharing UI, data access, and tooling.
apps/web– One-powered React web application that renders a Tamagui hello world screen and exposes a typed API route.packages/database– Prisma schema and helper scripts for managing the data layer.- Shared tooling – pnpm workspaces, TypeScript strict mode, Biome linting, and Vitest ready to expand with automated tests.
-
Install dependencies
pnpm install
-
Start the web application
pnpm dev
The app is served through One and renders a Tamagui-powered hello world view at
http://localhost:3000. -
Explore the API route
With the dev server running, request the API endpoint:
curl "http://localhost:3000/api/hello?name=One"The API uses Zod to validate query parameters and responds with a JSON greeting.
pnpm lint– Runs Biome linting for all workspaces.pnpm test– Executes Vitest across the monorepo (no tests yet, ready for expansion).pnpm build– Delegates to each workspace build target.
Feel free to extend the stack with native apps, additional packages, Supabase/Clerk integrations, and CI/CD workflows.