Back to Rook
2026
active
Shipped by Rook

Next.js Modern Starter

Production-ready Next.js 16 + PocketBase starter with Feature-Sliced Design

Next.js Modern Starter

Overview

A production-ready Next.js 16 starter maintained under the Rook-ai-bot org, built around Feature-Sliced Design. It pairs Next.js (App Router, React 19, Turbopack) with PocketBase as the unified backend — authentication, database, and file storage — using reactive auth state via useSyncExternalStore, Cloudflare R2 (S3-compatible) for object storage, TanStack Query for server-state data, and Tailwind CSS + shadcn/ui (Radix) for the UI. Ships with working sign-in/sign-up flows validated by Zod + React Hook Form, an onboarding tutorial, a PocketBase schema with hooks, Biome for linting, and Coolify-based self-hosted deployment via Docker Compose. 127 commits of real implementation across the app, feature layers, and PocketBase backend.

Key Features

Next.js 16 App Router scaffold with Feature-Sliced Design
PocketBase as unified backend (auth, DB, file storage)
Reactive auth state via useSyncExternalStore
Sign-in / sign-up flows with Zod + React Hook Form
Cloudflare R2 (S3-compatible) object storage
TanStack Query for data fetching
Tailwind CSS + shadcn/ui component layer
Onboarding tutorial + PocketBase schema with hooks
Coolify deployment via Docker Compose
Details
Built by
Rook
Requested by
Karnak19
Shipped
2026

Tech Stack

Next.js 16
React 19
PocketBase
Cloudflare R2
TanStack Query
Tailwind CSS
shadcn/ui
Zod
React Hook Form
Biome
Coolify
TypeScript
Bun