Open Source · v1.0.0-alpha · MIT License

Run your business on one modular ERP you own

NATS democratizes enterprise software. Manage accounting, inventory, sales, purchasing, POS, payroll, production, and AI insights—without lock-in or enterprise price tags.

Next.js 16 + React 19 PostgreSQL + Prisma i18n EN / ID Docker ready
NATS main dashboard showing KPIs, charts, and navigation

Core modules

Everything your operations need—tightly integrated

Each module shares master data, permissions, and reporting so finance, warehouse, and front-line teams work from one source of truth.

Accounting

Double-entry journals, chart of accounts, ledgers, trial balance, and financial statements in real time.

  • P&L, balance sheet, cash flow, ratios
  • Tax summary & default accounts
  • Beginning balance setup wizard

Inventory

Multi-warehouse stock control with products, categories, UoM, pricing, and movement tracking.

  • Stock monitoring & low-stock alerts
  • Inter-warehouse transfers
  • Valuation & margin reports

Sales & Purchasing

End-to-end order-to-cash and procure-to-pay with invoices, payments, shipments, and returns.

  • AR / AP aging & recap reports
  • Department & project tagging
  • PDF-ready business documents

Point of Sale

Fast cashier UI with sessions, hold orders, discounts, barcode-friendly search, and receipts.

  • Session open/close with cash drawer
  • Optional department tags
  • Thermal receipt PDF support

HR & Payroll

Employees, attendance, leave, salary structures, payroll periods, and printable payslips.

  • Configurable pay components
  • Period processing workflows
  • HR reports landing hub

AI Assistant

Built-in chat agent with configurable providers to query business context and accelerate decisions.

  • OpenAI / OpenRouter providers
  • Admin AI settings panel
  • Tool-assisted analysis flow

Production

BOMs, production orders, material issues, receipts, WIP, and cost analysis for light manufacturing.

  • BOM cost reports
  • Order status tracking
  • Material consumption views

Assets & Budgeting

Fixed asset register with depreciation, plus budgets by department/project and variance reports.

  • Category & location reporting
  • Disposal & valuation
  • Overspending alerts

Admin & Security

Role-based access control, users, company settings, document numbering, and integration outbox.

  • Granular permission registry
  • Theme customization
  • Outbox event monitoring

Product tour

See the interface teams actually use

From executive dashboards to cashier checkout—NATS is designed for daily operations, not just configuration screens.

Why teams choose NATS

Proprietary ERPs often force trade-offs between cost, customization, and data ownership. NATS is built for organizations that want modern UX and full control of their stack.

  • True open source (MIT) — self-host, audit, and extend without licensing surprises.
  • Modular but connected — sales, inventory, cash, and GL stay in sync automatically.
  • Modern developer stack — TypeScript, Next.js App Router, Prisma, and Vitest tests.
  • Bilingual ready — English and Indonesian via next-intl from day one.
  • Deploy your way — local Node, Docker Compose, or your own infrastructure.

Interactive preview

Explore a live UI mock of key modules

Switch modules below for a lightweight preview of how NATS surfaces operational data. For full functionality, install the app locally.

Dashboard Overview

Illustrative preview only — figures are sample data for demonstration.

Technical overview

Architecture built for clarity and scale

NATS uses a modern full-stack TypeScript architecture with clear module boundaries, server actions, and a PostgreSQL system of record.

Technology stack

  • FrameworkNext.js 16 (App Router)
  • UIReact 19 + Tailwind CSS 4
  • LanguageTypeScript
  • ORM / DBPrisma 7 + PostgreSQL
  • Auth & RBACSession + permission registry
  • i18nnext-intl (EN / ID)
  • AILangChain / OpenAI / OpenRouter
  • TestingVitest + Testing Library
  • Docs & PDFs@react-pdf/renderer

System requirements

  • Node.js 20.x or newer
  • PostgreSQL 15+ (local or managed)
  • npm (bundled with Node) or compatible package manager
  • Git for source control
  • Docker optional for Compose-based deploy
  • Browser modern Chromium, Firefox, or Safari
  • RAM 4 GB+ recommended for local dev
macOS Linux Windows (WSL) Docker Self-hosted
1

Presentation

Locale-aware App Router pages, shadcn/ui components, and responsive layouts.

2

Application

Server actions and services enforce validation, permissions, and domain rules.

3

Domain modules

Accounting, inventory, sales, POS, HR, production, assets, and budgeting services.

4

Data & jobs

PostgreSQL via Prisma, file storage drivers, and outbox workers for integrations.

Get started

From clone to running app in minutes

Follow the full guide for configuration details, seed data, and Docker options.

git clone https://github.com/maziyank/nats.git
cd nats
npm install
cp .env.example .env
# set DATABASE_URL, then:
npx prisma generate
npx prisma migrate dev
npx prisma db seed
npm run dev

Open http://localhost:3000 and sign in with the seeded admin credentials.

Own your ERP stack. Ship improvements with the community.

Star the repository, try the install path, and open issues or pull requests to shape the roadmap.