Enterprise-ready ERP System
Build powerful commerce systems with ease
A modular ERP system for Node.js with PostgreSQL and Drizzle ORM. TypeScript-first, production-ready, and fully featured.
Everything you need
Complete ERP functionality out of the box
Get started in minutes
Simple API, powerful features
Quick Example
Create categories and products in just a few lines of code
import { initDatabase, createServices } from "commercio";
// Initialize database
initDatabase({
connectionString: process.env.DATABASE_URL,
runMigrations: true,
});
// Create all services at once
const { categoryService, productService } = createServices();
// Create a category
const category = await categoryService.createCategory(
"Electronics",
"Electronic devices and accessories"
);
// Create a product
const product = await productService.createProduct(
"Laptop Dell XPS 15",
"SKU-LAPTOP-001",
category.id
);Why Commercio?
Built for modern development workflows
Category Management
Organize products with flexible categories
Product Management
Full SKU support with category requirements
Warehouse Management
Multi-warehouse inventory tracking
Inventory Management
Complete transaction history and tracking
Order Management
Complete workflow with status tracking
Stock Reservation
Reserve stock for orders and prevent overselling
Built with modern tools
TypeScript-first with full type safety
TypeScript
Full type safety with TypeScript 5+
PostgreSQL
Robust database with Drizzle ORM
Pino Logging
Structured logging for production