NNextron Docs

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.

terminal$ npx @edwinfom/nextron@latest create my-app

Interactive 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.

App Router entries

Thin pages and route handlers connect URLs to module-owned code.

src/app
Feature modules

Server, client, UI, and types stay grouped by capability.

src/modules
Environment contract

Only selected providers contribute variables and validation.

src/env.ts
Agent context

Your stack decisions become guidance for coding agents.

AGENTS.md

Stacks

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.md and CLAUDE.md files.
  • 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.

  1. Follow Getting started to generate and run an application.
  2. Pick an application blueprint for the product you are building.
  3. Copy a template recipe into the interactive generator.
  4. Review Project structure before adding domain code.
  5. Use the module catalog to configure selected capabilities.
  6. Keep the CLI reference nearby when extending an existing project.