Z8 Docs
Technical Docs

Getting Started

Prerequisites, development workflow, and code quality standards

Prerequisites

  • Bun runtime (recommended) or Node.js with pnpm.

Development Workflow

# Install dependencies
bun install

# Run all apps in development mode
bun dev
# Run specific app
bun dev --filter=webapp
bun dev --filter=mobile
bun dev --filter=docs

Infrastructure & Configuration

Authentication

Generate auth schema:

bunx --bun @better-auth/cli generate --output ./src/db/schema.ts

Generate auth secret:

bunx @better-auth/cli@latest secret

Push Notifications

Generate VAPID keys for push notifications:

bunx web-push generate-vapid-keys

Add these to your .env file:

VAPID_PUBLIC_KEY=<generated-public-key>
VAPID_PRIVATE_KEY=<generated-private-key>
VAPID_SUBJECT=mailto:support@yourdomain.com

Code Quality Standards

This project follows strict quality standards enforced by Ultracite (Biome preset).

npx ultracite fix

Automatically format code and fix issues.

npx ultracite check

Check for issues without modifying files.

bun x tsc --noEmit

Type checking (run in respective app folders).

For more details, see the internal Ultracite Code Standards documentation.

On this page