Skip to content

avaamsel/narbhacks-pathpal

Repository files navigation

Fullstack monorepo template feat. Expo, Turbo, Next.js, Convex, Clerk

This is a modern TypeScript monorepo template with AI web and native apps featuring:

  • Turborepo: Monorepo management
  • React 19: Latest React with concurrent features
  • Next.js 15: Web app & marketing page with App Router
  • Tailwind CSS v4: Modern CSS-first configuration
  • React Native Expo: Mobile/native app with New Architecture
  • Convex: Backend, database, server functions
  • Clerk: User authentication
  • OpenAI: Text summarization (optional)

Code Quality & Formatting

This project uses Biome for linting, formatting, and maintaining code quality across the monorepo. Biome is a fast, all-in-one toolchain that provides:

  • Linting: Static analysis to catch bugs and enforce code quality rules
  • Formatting: Consistent code style across TypeScript, JavaScript, JSON, and CSS files
  • Import Sorting: Automatic organization of import statements

What is Convex?

Convex is a hosted backend platform with a built-in reactive database that lets you write your database schema and server functions in TypeScript. Server-side database queries automatically cache and subscribe to data, powering a realtime useQuery hook in our React client. There are also clients for Python, Rust, ReactNative, and Node, as well as a straightforward HTTP API.

The database supports NoSQL-style documents with relationships and custom indexes (including on fields in nested objects).

The query and mutation server functions have transactional, low latency access to the database and leverage our v8 runtime with determinism guardrails to provide the strongest ACID guarantees on the market: immediate consistency, serializable isolation, and automatic conflict resolution via optimistic multi-version concurrency control (OCC / MVCC).

The action server functions have access to external APIs and enable other side-effects and non-determinism in either our optimized v8 runtime or a more flexible node runtime.

Functions can run in the background via scheduling and cron jobs.

Development is cloud-first, with hot reloads for server function editing via the CLI. There is a dashboard UI to browse and edit data, edit environment variables, view logs, run server functions, and more.

There are built-in features for reactive pagination, file storage, reactive search, https endpoints (for webhooks), streaming import/export, and runtime data validation for function arguments and database data.

About

my project for narb's "narbhacks" in july 2025!

Resources

License

Stars

Watchers

Forks

Contributors