nextjs.md

Next.js Technology Stack

IMPORTANT NOTE: This document is not final; it is under review.

This document outlines standards and conventions for building web applications with Next.js.

Core Stack

Data Fetching & Caching

Forms

API Routes

Testing

Naming Conventions

Directory Structure (App Router)

src ├── app │ ├── (marketing)/ # Optional route groups │ ├── dashboard/ │ │ ├── page.tsx │ │ └── layout.tsx │ ├── api/ │ │ └── users/route.ts # Route handlers │ └── globals.css ├── components/ ├── features/ # Feature-based modules ├── lib/ # Utilities ├── providers/ └── types/

Monorepo with Turborepo