Typed file graph
Generate in memory first, inspect structure, then export when the graph is ready.
N0DEX converts product intent into a deterministic file graph: routes, database schema, auth, realtime channels, integrations, environment examples, and exportable project files.
Generate in memory first, inspect structure, then export when the graph is ready.
Routes, controllers, services, Prisma schema, auth middleware, and websocket server.
Database, realtime, wallet auth, and runtime choices are normalized from requested features.
NodeNext ESM, strict TypeScript, Express routing, and clear folders for extension.
npm i @n0dex/n0dex
Write the backend prompt and choose stack, database, features.
Receive a typed GeneratedBackend with files and metadata.
Write the graph to disk with overwrite and README options.
The public API supports complete backend generation plus focused generators for isolated backend capabilities.
import { N0DEX } from "n0dex";
const n0dex = new N0DEX({
apiKey: process.env.N0DEX_API_KEY,
outputDir: process.env.N0DEX_OUTPUT_DIR
});
const backend = await n0dex.generate({
name: "task-platform",
stack: "node-ts",
database: "postgres",
features: ["auth", "routes", "database"],
prompt: "Build a backend API for a task platform with teams, projects, assignments, auth, and audit logs."
});
console.log(backend.summary);
await backend.export("./generated/task-platform");Install the SDK, describe the system, inspect the graph, and export when it matches the shape you want.
SEE DOC v0.1.0