Nextron documentation
Build a focused stack — Next.js, Vite + Node, or React Native (Expo) — from composable, production-ready modules.
Nextron documentation
Build the stack you need. Keep the code you understand.
Nextron creates a typed Next.js application from the modules you choose, then leaves you with ordinary source code you can inspect, change, and ship.
$ npx @edwinfom/nextron@latest create my-appInteractive setup. Only selected modules are generated.
Choose your path
Start with the task in front of you.
A complete map before you commit.
Understand the available choices, the files they create, and the rules that keep them compatible.
- 8
- composable modules
- 3
- authentication providers
- 4
- AI providers
- 4
- package managers
What lands in the repository
Each layer has a visible job and an obvious place to change it.
Thin pages and route handlers connect URLs to module-owned code.
src/appServer, client, UI, and types stay grouped by capability.
src/modulesOnly selected providers contribute variables and validation.
src/env.tsYour stack decisions become guidance for coding agents.
AGENTS.mdStacks
Nextron generates one of three stacks, chosen at the first prompt:
- Next.js — an App Router full-stack application with ORM, auth, tRPC, AI, payments, jobs, and dashboard modules.
- Vite + Node — an Express + TypeScript API with a modular
src/layout (@types,config,controllers,enums,middlewares,models,routes,seeders,services,utils,validations), a MongoDB (Mongoose) or SQL Server (mssql) database layer, optional Stripe/Polar payments, and an optional pnpm monorepo with a Vite + React + Tailwind frontend. See the Express backend guide. - React Native (Expo) — a mobile app on Expo SDK 56 with Expo Router + NativeWind, standalone or in a pnpm monorepo with the same Express backend, reusing every module and adding mobile screens for auth, payments, AI chat, and tRPC. See the Expo guide.
What Nextron generates
Nextron creates a standard application for the selected stack and adds only the modules selected during setup. The result is source code in your project, not a runtime framework or hosted dependency.
- Typed configuration for environment variables and project choices.
- Feature-oriented modules for authentication, databases, APIs, AI, payments, jobs, and dashboards.
- AI-agent context through generated
AGENTS.mdandCLAUDE.mdfiles. - A repeatable extension flow with
nextron add.
Nextron is opinionated at generation time and ordinary afterward. You can replace, remove, or reorganize any generated code.
Recommended reading order
- Follow Getting started to generate and run an application.
- Pick an application blueprint for the product you are building.
- Copy a template recipe into the interactive generator.
- Review Project structure before adding domain code.
- Use the module catalog to configure selected capabilities.
- Keep the CLI reference nearby when extending an existing project.