NN-Stack is an opinionated Full Stack Starter Kit built for Cloudflare's Edge Network. | NN-Stack 是一套有主见(Opinionated)的全栈 Starter Kit,专为 Cloudflare 边缘网络打造。
NN-Stack is a cutting-edge Full Stack Starter Kit designed for Cloudflare's Edge Network, seamlessly integrating a robust frontend powered by Next.js and a highly efficient backend using Hono. This innovative framework is tailored for developers who seek an opinionated yet flexible approach to building serverless applications. With its impressive features, NN-Stack promises to simplify the development process, allowing users to deploy applications globally with ease and at virtually no cost.
An enticing aspect of NN-Stack is its commitment to eliminating complex configuration hurdles. Instead of worrying about the minute details of deployment and infrastructure, developers can focus on writing TypeScript code and leveraging AI-driven workflows, making it an ideal choice for hobbyists and startup founders alike.
Zero Cost: Operates entirely on Cloudflare (Workers + D1) at no cost for most hobby and startup applications, making it budget-friendly.
End-to-End Type Safety: Utilizes shared Zod schemas and ORPC, allowing frontend calls to the backend to behave as if invoking a local function.
Infrastructure from Code: Powered by Alchemy.run, NN-Stack removes the need for a wrangler.toml configuration file—just write TypeScript and get started.
AI-First Workflow: Optimized for large language models, it includes a GEMINI.md context file that enables instant onboarding for AI agents.
Effortless Deployment: With a single command, users can deploy their entire application to Cloudflare's global network after a straightforward setup process.
Lightweight ORM: Incorporates Drizzle ORM, a type-safe SQL ORM that simplifies interactions with the database.
Modern UI Integration: Features styling with Tailwind V4 and Shadcn, ensuring a contemporary and accessible design.
Fast Linting: Employs Biome for rapid linting and formatting, keeping your code clean and up to industry standards.
Hono is an ultrafast web framework designed for edge computing environments. It's lightweight, supports multiple runtimes including Cloudflare Workers, Deno, and Bun, and provides a familiar Express-like API with excellent TypeScript support.
Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.