Skip to content

bernierllc/base-stack

Repository files navigation

Base Stack Monorepo

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.

What's inside?

  • 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.

Getting started

  1. Install dependencies

    pnpm install
  2. Start the web application

    pnpm dev

    The app is served through One and renders a Tamagui-powered hello world view at http://localhost:3000.

  3. 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.

Tooling scripts

  • 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.

About

clean base stack example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published