Open Mercato
Next.js foundation framework with ready-made CRM and ERP modules plus an AI harness that tells coding agents where code belongs.
Open Source Alternative to:

Open Mercato starts from an observation about AI code assistants. They generate code, but they do not decide where it goes, how it should be layered, or whether it stays consistent across a team of fifty engineers. This framework supplies the missing structure, together with business modules that have already been written.
It is a Next.js App Router codebase in TypeScript, using zod for validation, Awilix for dependency injection, MikroORM for per-module entities and migrations, and JWT sessions for authentication. Each feature lives in its own module directory with auto-discovered pages, APIs, CLI commands, translations and database entities.
The framework is opinionated about the AI workflow and the domain layer alike.
- Architecture-aware harness: agents receive skills for adding a data table, building design-system forms, or shipping a whole feature with tests.
- Spec-first development: specifications ship inside the repository, which is what makes agent output reproducible.
- Domain modules: CRM, sales, order management and encryption arrive ready, leaving the remaining fifth of the work to you.
- Multi-tenancy: tenant and organization scoping on every entity and API, with organization trees and visibility controls.
- Feature-based RBAC: per-role and per-user feature flags combined with organization scoping, gating any page or API.
- Events and indexing: domain events with persistent local or Redis subscribers, and hybrid JSONB indexing across base and custom fields.
Running it needs Node.js 24, PostgreSQL and Redis, most easily through the supplied Docker Compose file, after which one command installs, builds, seeds and starts everything. A live demo helps anyone weighing it against a commercial platform.
Stars
1,706Forks
391Last commit
5 days agoRepository age
1 yearLicense
MITVersion
0.7.0Repository
open-mercato/open-mercato
Auto-fetched from GitHub .
Open source alternatives similar to Open Mercato:
Stars
Forks
Last commit
Stars
Forks
Last commit
Stars
Forks
Last commit