Bun WorkspaceTurborepo

Scribble Monorepo

A high-performance workspace powered by Bun, Hono, Next.js, Redis, and Drizzle.

Monorepo Service Stack

@scribble/web

Next.js Frontend

App Router frontend with React 19, tailwindcss v4, and dynamic Server Actions.

Port: 3000
@scribble/api

Hono API Server

Ultra-fast API runtime powered by Bun and Hono, integrated directly with Redis cache.

Port: 3001
@scribble/db

Drizzle ORM

Shared database package exporting PostgreSQL schema definitions, migration tools, and type-safe client.

Dialect: PostgreSQL
Redis Cache

Redis Service

High-speed key-value cache layer configured for the API server using the standard `ioredis` driver.

Driver: ioredis

Workspace Environment

This project relies entirely on **Bun** for lightning-fast installs, running tasks, and monorepo workspace link resolution. No external bundlers or node package managers are required.

scribble-monorepo-dev-console

$ bun install

# Resolved workspaces: @scribble/web, @scribble/api, @scribble/db, @scribble/typescript-config

✓ Workspaces linked successfully in 0.4s

$ bun run dev

► turbo dev

• @scribble/api: dev: bun --watch src/index.ts

• @scribble/web: dev: next dev

✓ Ready - Web listening on port 3000, API listening on port 3001