Build withExpressPrismaPostgreSQLWebSocketJWT AuthTypeScriptNodeNext
Build withExpressPrismaPostgreSQLWebSocketJWT AuthTypeScriptNodeNext
Build withExpressPrismaPostgreSQLWebSocketJWT AuthTypeScriptNodeNext
Build withExpressPrismaPostgreSQLWebSocketJWT AuthTypeScriptNodeNext

N0DEX converts product intent into a deterministic file graph: routes, database schema, auth, realtime channels, integrations, environment examples, and exportable project files.

Features

01

Typed file graph

Generate in memory first, inspect structure, then export when the graph is ready.

02

Backend modules

Routes, controllers, services, Prisma schema, auth middleware, and websocket server.

03

Integration inference

Database, realtime, wallet auth, and runtime choices are normalized from requested features.

04

Production shape

NodeNext ESM, strict TypeScript, Express routing, and clear folders for extension.

How to use

01

Install

npm i @n0dex/n0dex

02

Describe

Write the backend prompt and choose stack, database, features.

03

Generate

Receive a typed GeneratedBackend with files and metadata.

04

Export

Write the graph to disk with overwrite and README options.

SDK

The public API supports complete backend generation plus focused generators for isolated backend capabilities.

generate-task-platform.ts
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