Skip to content
ngbplatformPublic

About

Open-source .NET + PostgreSQL foundation for document-driven business apps with registers, audit, reporting, and accounting.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

21 stars

Watchers

0 watching

Forks

Latest commit

 

History

91 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NGB Platform

NGB Platform

Open-source .NET + PostgreSQL platform for document-driven business applications.

Built for modular business systems with catalogs, documents, lifecycle actions, operational and reference registers, audit history, reporting, metadata-driven UI, and optional accounting.

NGB Platform NuGet packages @ngbplatform/ui npm package

Website · Docs · Live demos


Build your first vertical with the AI Development Kit

If you know .NET and have a business process in mind, start with the AI Development Kit introduced in NGB 3.4.0. Give Codex or Claude Code one rule from that business to implement and test.

Our technicians inspect equipment. Let them save an unfinished inspection as a draft. They can post it only after selecting the equipment and recording a result. Add tests for both cases.

Create your first vertical with the AI Development Kit

With the .NET 10 SDK, install the template from NuGet and create your application.

dotnet new install NGB.Platform.Templates
dotnet new ngb -n FieldService
cd FieldService
node infrastructure/configure.mjs [email protected]

Open the generated FieldService folder in your coding agent. It contains a working API, a Vue frontend with sign-in, and Kit guidance and examples matched to the installed SDK.

Watch From Business Requirements to a Real App on YouTube


Table of Contents

Browse the sections in this README

What is NGB Platform

NGB Platform is an open-source platform for building document-driven business applications and industry-specific vertical solutions on .NET and PostgreSQL

NGB provides a production-oriented foundation for systems built around:

  • catalogs and business documents;
  • posting and accounting effects;
  • operational and reference registers;
  • metadata-driven forms and lists;
  • auditability and explainability;
  • reporting and analytical views;
  • vertical solutions built on a shared platform core.

NGB is not a low-code toy and not a monolithic ERP bundle. It is a platform for building serious line-of-business systems with a clear architecture, strong domain conventions, and a practical path from framework to real vertical applications.


Why NGB exists

Business software is usually forced into one of two extremes:

  • generic web frameworks, which are flexible but leave the hardest business architecture problems unsolved;
  • large ERP products, which are powerful but heavy, inflexible, and difficult to adapt cleanly.

NGB exists to offer a third path:

  • a modular platform instead of one-off project scaffolding;
  • a business-application architecture instead of generic MVC plumbing;
  • a document-driven business foundation instead of ad-hoc CRUD screens and one-off workflow logic;
  • accounting capabilities when a vertical needs financial posting and reporting;
  • a shared platform core + vertical solutions model instead of duplicating infrastructure across products.

The goal is simple: help developers and product teams build production-grade business systems faster, with fewer architectural compromises and a stronger long-term foundation.


Who NGB is for

NGB is designed for:

  • software engineers and architects building serious business applications;
  • product teams creating vertical SaaS or internal business platforms;
  • consultancies and implementation teams building industry-specific solutions;
  • founders who need a reusable platform for multiple business products;
  • teams that want source code ownership instead of vendor lock-in.

NGB is especially relevant when your solution includes one or more of the following:

  • business documents with lifecycle and posting;
  • accounting logic or financial statements;
  • operational balances or register-style state tracking;
  • metadata-driven UI and dynamic forms;
  • auditable history and explainable system behavior;
  • multiple industry solutions sharing one platform base.

What you can build with NGB

NGB is designed for building serious business software.

It is well suited for applications where business documents, workflows, accounting, reporting, auditability, and domain-specific rules are core architectural concerns rather than secondary features.

With NGB, teams can build:

  • vertical business applications;
  • finance and operations platforms;
  • accounting-enabled SaaS products;
  • internal enterprise systems;
  • industry-specific ERP-style solutions;
  • workflow-heavy back-office applications;
  • custom business platforms with strong domain modeling;
  • long-lived systems that require explainability, consistency, and extensibility.

The demo solutions included in this repository show a few possible applications of the platform, but they do not limit the range of systems that can be built with NGB.


Core capabilities

Platform foundation

  • Modular architecture built for shared platform capabilities and vertical extensions.
  • Clear separation between core domain, runtime, infrastructure, application hosts, and industry solutions.

Business application model

  • Metadata-driven catalogs and documents.
  • Universal patterns for lists, forms, payloads, actions, and UI metadata.
  • Consistent lifecycle model for business objects and business documents.
  • Document Actions and Work Center for authorized business actions and personal tasks.
  • Optional Attachments & Notes with parent-record authorization and a MinIO storage adapter.

Accounting and register engine

  • Production-oriented accounting foundation.
  • Operational registers and reference registers as first-class platform concepts.
  • Append-only business history and effect-oriented modeling.
  • Support for posting flows, balances, turnovers, and financial reporting.

Reporting and analysis

  • Platform reporting contracts and execution model.
  • Interactive reporting surface for business and accounting scenarios.
  • Report definitions, filters, grouping, exports, and vertical reports.

Operations and platform services

  • PostgreSQL as the system of record.
  • Background jobs infrastructure.
  • Database migration tooling.
  • Watchdog / health surface.
  • Structured observability hooks.
  • SSO integration through Keycloak.
  • Role-based application authorization with Keycloak identity integration, NGB-managed roles and permissions, backend-enforced access checks, and permission-aware menu/metadata/report filtering. See Security and Permissions.

Frontend and UX foundation

  • Shared UI framework.
  • Metadata-driven web applications for vertical solutions.
  • Custom branding and authentication theme support.

MCP Server + AI Assistant

NGB includes a shared, opt-in MCP Server and AI Assistant for all four verticals and the application starter.

  • MCP Server runs inside the existing API host and exposes authorized reads: metadata, records, reports, document flow and effects, audit history, Work Center, notes and attachment metadata. It uses the current application user's permissions.
  • AI Assistant uses those reads through the official MCP client. Its panel, animated activity indicator, resizable desktop width and ? button toggle belong to the shared @ngbplatform/ui package.
  • Model providers are selected in API composition through IChatClient: native Ollama, OpenAI-compatible Chat Completions, Anthropic or Amazon Bedrock. Provider credentials stay on the server; conversations remain in browser memory.
  • Vertical extensions expose existing authorized capabilities through MCP contributors. Report calculations, business rules and authorization remain in the application services. The assistant has no write or arbitrary SQL tools.

Enable MCP with FeatureManagement:Mcp and the assistant with FeatureManagement:AiAssistant; the assistant requires both. The checked-in local .env.* files enable MCP and leave AI Assistant disabled. All four API hosts currently register Ollama; another provider requires changing the API registration and its dependencies, not the UI.

See the MCP Server guide for tools, authentication and extensions, and the AI Assistant guide for setup, providers, limits and troubleshooting. Package consumers such as CRM must update the UI and API packages together.


Live demos

🔑 Demo access

The demo applications include a preconfigured administrator account for evaluation purposes.

Default demo user

This account is intended for demo and evaluation use only.

Explore NGB through live demo solutions

The repository currently contains the platform core and source code for the demo solutions in this monorepo. Live demos are intended to show how one platform can support multiple business domains with a shared architectural base.


Architecture overview

NGB follows a layered platform architecture built around reusable platform hosts, shared contracts and metadata, a central execution core, specialized business engines, and PostgreSQL-based persistence.

At the top level, vertical application hosts compose reusable API, background-processing, health, and migration capabilities. Provider-neutral hosting behavior lives in dedicated hosting adapters; PostgreSQL-specific web and Hangfire integration lives in provider adapters. These layers do not implement business behavior themselves. They expose the platform through shared contracts, abstractions, and runtime orchestration.

At the center of the platform is NGB.Runtime. It acts as the execution core that coordinates catalogs, documents, posting, reporting, validation, and workflow behavior. Rather than scattering business logic across hosts, NGB concentrates orchestration in the runtime layer and delegates specialized responsibilities to dedicated platform engines.

Those engines include NGB.Accounting, NGB.OperationalRegisters, NGB.ReferenceRegisters, and the business audit log. Together they provide the core business mechanics of the platform: ledger semantics, register-based state handling, reference-state projection, and append-only auditability.

Persistence and database interaction are handled through NGB.PostgreSql, which serves as the platform’s infrastructure bridge for readers, writers, and migrations. NGB.Hosting.AspNetCore and NGB.Runtime.Hosting own provider-neutral host integration, while NGB.PostgreSql.AspNetCore and NGB.BackgroundJobs.PostgreSql own PostgreSQL-specific host adapters. Platform data is stored in PostgreSQL, while authentication is integrated with Keycloak.

High-level architecture

flowchart TB
    classDef host fill:#fff4e5,stroke:#c77d1a,stroke-width:1.5px,color:#111827;
    classDef surface fill:#eef4ff,stroke:#2f5fb3,stroke-width:1.5px,color:#111827;
    classDef runtime fill:#eafaf1,stroke:#1f8f57,stroke-width:1.8px,color:#111827;
    classDef engine fill:#f3ecff,stroke:#7c3aed,stroke-width:1.5px,color:#111827;
    classDef infra fill:#f7f7f7,stroke:#6b7280,stroke-width:1.5px,color:#111827;
    classDef external fill:#ffffff,stroke:#9ca3af,stroke-width:1.2px,color:#111827;

    subgraph HOSTS["Host Composition"]
        API["NGB.Api<br/>API controllers and endpoints"]
        HOSTING["NGB.Hosting.AspNetCore<br/>Provider-neutral web hosting"]
        RTHOST["NGB.Runtime.Hosting<br/>Runtime host lifecycle"]
        BG["NGB.BackgroundJobs<br/>Provider-neutral scheduling"]
        WD["NGB.Watchdog<br/>Health / operability hosting"]
        MIG["NGB.Migrator.Core<br/>Schema deployment"]
    end

    subgraph SURFACE["Contracts, Metadata, and Platform Surface"]
        CONTRACTS["NGB.Contracts<br/>Public DTOs and API contracts"]
        APPABS["NGB.Application.Abstractions<br/>Application-facing interfaces"]
        DEFINITIONS["NGB.Definitions<br/>Catalogs, documents, reports, behaviors"]
        METADATA["NGB.Metadata<br/>Metadata model and descriptors"]
        CORE["NGB.Core<br/>Common primitives and shared foundation"]
    end

    subgraph EXECUTION["Execution Core"]
        RUNTIME["NGB.Runtime<br/>Orchestration of catalogs, documents,<br/>posting, reporting, validation, and workflow"]
    end

    subgraph ENGINES["Business Engines"]
        ACCOUNTING["NGB.Accounting<br/>Ledger and posting semantics"]
        OR["NGB.OperationalRegisters<br/>Operational register engine"]
        RR["NGB.ReferenceRegisters<br/>Reference register engine"]
        AUDIT["Business AuditLog<br/>Append-only audit trail"]
    end

    subgraph INFRA["Persistence and Integration"]
        PG["NGB.PostgreSql<br/>Persistence, readers, writers, migrations support"]
        PGWEB["NGB.PostgreSql.AspNetCore<br/>PostgreSQL HTTP and health adapters"]
        BGPG["NGB.BackgroundJobs.PostgreSql<br/>PostgreSQL Hangfire adapter"]
    end

    subgraph EXTERNAL["External Systems"]
        DB[("PostgreSQL")]
        KC["Keycloak"]
    end

    API --> CONTRACTS
    API --> APPABS
    API --> HOSTING
    RTHOST --> RUNTIME
    BG --> HOSTING
    BG --> RUNTIME
    BGPG -. selected by application host .-> BG
    WD --> HOSTING
    MIG --> PG
    PGWEB --> PG
    PGWEB --> HOSTING

    CONTRACTS --> RUNTIME
    APPABS --> RUNTIME
    DEFINITIONS --> RUNTIME
    METADATA --> RUNTIME
    CORE --> RUNTIME

    RUNTIME --> ACCOUNTING
    RUNTIME --> OR
    RUNTIME --> RR
    RUNTIME --> AUDIT
    RUNTIME --> PG

    ACCOUNTING --> PG
    OR --> PG
    RR --> PG
    AUDIT --> PG

    HOSTING -. authentication .-> KC

    PG --> DB

    class API,HOSTING,RTHOST,BG,WD,MIG host;
    class CONTRACTS,APPABS,DEFINITIONS,METADATA,CORE surface;
    class RUNTIME runtime;
    class ACCOUNTING,OR,RR,AUDIT engine;
    class PG,PGWEB,BGPG infra;
    class DB,KC external;
Loading

Architectural layers

  1. Host Composition Reusable API, background-jobs, health, migration, generic-host, and ASP.NET Core adapters composed by vertical entry points.

  2. Contracts, Metadata, and Platform Surface
    Shared DTOs, application abstractions, metadata, definitions, and common primitives that define how the platform is described and consumed.

  3. Execution Core
    The central orchestration layer implemented by NGB.Runtime.

  4. Business Engines
    Specialized engines for accounting, operational registers, reference registers, and append-only audit logging.

  5. Persistence and Integration
    PostgreSQL-based infrastructure and explicit provider adapters, plus integration with external systems such as PostgreSQL and Keycloak.


Architecture flow

The following diagram shows the typical business flow through NGB.

sequenceDiagram
    participant User as User
    participant Web as Vertical Web App
    participant Api as Vertical API Host
    participant Rt as NGB Runtime
    participant Def as Definitions / Metadata
    participant Acc as Accounting / Registers
    participant Pg as PostgreSQL
    participant Rpt as Reporting

    User->>Web: Create or edit business document
    Web->>Api: Submit document payload + action
    Api->>Rt: Execute platform document flow
    Rt->>Def: Resolve metadata, rules, actions, UI behavior
    Rt->>Pg: Persist business document state
    Rt->>Acc: Produce posting and business effects when applicable
    Acc->>Pg: Append accounting, operational, and reference effects
    Pg-->>Rt: Commit durable business state
    Rt-->>Api: Return document, status, metadata, effects
    Api-->>Web: Return UI-ready response
    Web-->>User: Render document and actions

    User->>Web: Run operational or financial report
    Web->>Api: Execute report
    Api->>Rt: Resolve report definition and execution plan
    Rt->>Rpt: Build dataset, grouping, layout, and interactions
    Rpt->>Pg: Read source data and aggregates
    Pg-->>Rpt: Return result set
    Rpt-->>Api: Return report sheet + interactive targets
    Api-->>Web: Return report response
    Web-->>User: Render report, drilldowns, exports, navigation
Loading

Monorepo structure

This repository is organized as a single monorepo. The headings below are logical groups, not physical directories: backend NGB.* project directories live at the repository root. NGB.sln contains the backend library, host and test projects; frontend, packaging and verification tooling have their own entry points.

View the repository tree
NGB/
│
├─ Backend solution and shared build configuration
│  ├─ NGB.sln
│  ├─ Directory.Build.props
│  └─ NuGet.config
│
├─ Platform core
│  ├─ NGB.Core
│  ├─ NGB.Metadata
│  ├─ NGB.Definitions
│  ├─ NGB.Contracts
│  ├─ NGB.Application.Abstractions
│  ├─ NGB.Runtime
│  ├─ NGB.Runtime.Hosting
│  ├─ NGB.Accounting
│  ├─ NGB.OperationalRegisters
│  ├─ NGB.ReferenceRegisters
│  ├─ NGB.Hosting.AspNetCore
│  ├─ NGB.Api
│  ├─ NGB.BackgroundJobs
│  ├─ NGB.BackgroundJobs.PostgreSql
│  ├─ NGB.Watchdog
│  ├─ NGB.PostgreSql
│  ├─ NGB.PostgreSql.AspNetCore
│  ├─ NGB.Persistence
│  ├─ NGB.Tools
│  └─ NGB.Migrator.Core
│
├─ Shared content services
│  ├─ NGB.Attachments
│  ├─ NGB.Attachments.MinIO
│  └─ NGB.Notes
│
├─ MCP Server and AI Assistant
│  ├─ NGB.Mcp
│  ├─ NGB.Mcp.AspNetCore
│  ├─ NGB.AiAssistant
│  ├─ NGB.AiAssistant.AspNetCore
│  ├─ NGB.AiAssistant.Ollama
│  ├─ NGB.AiAssistant.OpenAI
│  ├─ NGB.AiAssistant.Anthropic
│  └─ NGB.AiAssistant.Bedrock
│
├─ Vertical solutions
│  ├─ NGB.AgencyBilling.*
│  ├─ NGB.CRM.*
│  ├─ NGB.PropertyManagement.*
│  └─ NGB.Trade.*
│
├─ UI workspace
│  ├─ ui/ngb-ui-framework
│  ├─ ui/ngb-agency-billing-web
│  ├─ ui/ngb-crm-web
│  ├─ ui/ngb-property-management-web
│  ├─ ui/ngb-trade-web
│  ├─ ui/ngb-auth-theme
│  └─ ui/scripts
│
├─ Docker environments
│  ├─ docker/
│  ├─ docker-compose.ab.yml
│  ├─ docker-compose.crm.yml
│  ├─ docker-compose.pm.yml
│  └─ docker-compose.trade.yml
│
├─ Packages and external applications
│  ├─ packaging/nuget
│  ├─ packaging/templates
│  ├─ packaging/PUBLISHING.md
│  └─ ngb.mjs
│
├─ Performance tests
│  ├─ performance-tests/ngb-performance-tests-framework
│  ├─ performance-tests/ngb-property-management-perf
│  ├─ performance-tests/ngb-trade-perf
│  ├─ performance-tests/ngb-agency-billing-perf
│  └─ performance-tests/scripts
│
├─ Tests and verification
│  ├─ NGB.*.Tests / NGB.*.IntegrationTests
│  ├─ ui/**/tests / ui/tests
│  ├─ quality/ai-assistant
│  ├─ quality/mcp
│  ├─ quality/integration
│  ├─ quality/coverage
│  ├─ quality/external-consumer
│  ├─ quality/upgrade-certification
│  ├─ quality/mutation
│  ├─ run-backend-full-coverage.sh
│  └─ run-frontend-full-coverage.sh
│
└─ Documentation and CI
   ├─ docs/
   └─ .github/workflows/

Each vertical has a definition project plus Runtime, PostgreSQL, API, Migrator, BackgroundJobs, Watchdog and test projects. PM, Trade and Agency Billing consume platform source projects and the shared UI workspace. CRM consumes the platform's NuGet packages and declares a versioned @ngbplatform/ui dependency, while retaining project references within its own vertical. Its isolated Docker web build consumes the UI package; a root UI workspace install can link the matching local workspace.

The package inventory is maintained in packaging/nuget/projects.txt. Generated packages, coverage reports and verification output go under ignored artifacts/ directories. See Repository Structure and Platform Projects for navigation by responsibility.


Technology stack

NGB is built with a practical, production-oriented stack:

  • Backend: .NET 10
  • Database: PostgreSQL
  • Schema versioning: Evolve
  • Authentication / SSO: Keycloak
  • Background jobs: Hangfire-based job infrastructure
  • Logging / observability: Serilog + Seq-friendly structured logging setup
  • Frontend: Vue 3 + Vite + Tailwind CSS + shared UI workspace
  • MCP / AI: official MCP SDK + Microsoft.Extensions.AI with replaceable model adapters
  • Containerized local environments: Docker Compose

Performance testing

NGB includes a reusable Grafana k6 + TypeScript performance testing framework under performance-tests.

The framework validates platform-level behavior and vertical-specific workloads with realistic business scenarios such as metadata and menu loading, document reads, document lifecycle operations, posting, audit reads, accounting effects, document flow, report execution, capacity staircases, breakpoint discovery, and opt-in write-heavy pressure.

Property Management has the full scenario suite; Trade and Agency Billing currently provide smoke scaffolds. Destructive write-heavy profiles are opt-in and excluded from the normal pm:all chain.

See:


Getting started

Create a new application

Follow the AI Development Kit quickstart to create your application and build its first workflow. For service addresses and startup troubleshooting, see the application setup guide.

Upgrade an existing application

Follow the 3.3.0 → 3.4.0 upgrade guide for the current transition, preview/apply commands, application validation, backups and database migration. The guide also retains the registered 3.1.0 → 3.2.0 and 3.2.0 → 3.3.0 paths; it does not define a direct 3.1.0 → 3.4.0 upgrade. Installing a newer template does not update an existing application.

Run the 3.4.0 CLI directly from npm to preview the upgrade. Review the plan before running the second command to apply it.

npm exec --ignore-scripts --package=@ngbplatform/[email protected] -- ngb upgrade --app ../MyApplication --to 3.4.0
npm exec --ignore-scripts --package=@ngbplatform/[email protected] -- ngb upgrade --app ../MyApplication --to 3.4.0 --apply

The AI Development Kit guide describes official and application-owned instructions, validation, testing and coordinated updates.

The following sections cover the bundled demos and development in this repository.

Set up the repository and run a demo locally

Prerequisites

You should have the following installed:

  • .NET 10 SDK for local backend builds
  • Docker with Linux containers and Docker Compose v2
  • Node.js 24.19.x and npm for platform package tooling and local frontend development
  • Bash for package tooling (WSL2 on Windows); PowerShell certificate setup is shown below

Clone the repository

git clone https://github.com/ngbplatform/NGB.git
cd NGB

🔒 HTTPS certificates

The Docker Compose setup mounts ASP.NET certificates from ${HOME}/.aspnet/https and expects servercert.pfx. Trust and export a development certificate; the export password must match ASPNET_CERT_PASS in the selected .env.* file:

dotnet dev-certs https --trust
mkdir -p "$HOME/.aspnet/https"
dotnet dev-certs https --export-path "$HOME/.aspnet/https/servercert.pfx" --password "<ASPNET_CERT_PASS>"

⚠️ Windows note

Docker Compose reads the HOME environment variable. PowerShell's $HOME variable alone does not set it for child processes. In the same PowerShell session used to run Compose:

$env:HOME = $env:USERPROFILE.Replace('\', '/')
New-Item -ItemType Directory -Force "$env:HOME/.aspnet/https" | Out-Null
dotnet dev-certs https --trust
dotnet dev-certs https --export-path "$env:HOME/.aspnet/https/servercert.pfx" --password "<ASPNET_CERT_PASS>"

For Compose launched by an IDE, also configure HOME in that run configuration or persist it as a user environment variable and restart the IDE.

Run the Property Management demo locally

docker compose -f docker-compose.pm.yml --env-file .env.pm up --build

Run the Trade demo locally

docker compose -f docker-compose.trade.yml --env-file .env.trade up --build

Run the Agency Billing demo locally

docker compose -f docker-compose.ab.yml --env-file .env.ab up --build

Run the CRM demo locally

Follow the CRM startup instructions to build the demo with NuGet.org and npm dependencies and start its services.

Build the .NET solution

Restore the solution's package dependencies from NuGet.org.

dotnet restore NGB.sln --configfile NuGet.Registry.Config
dotnet build NGB.sln --no-restore

Run backend tests

Start Docker for the integration tests' isolated dependency containers. See integration-test execution for fixture behavior and concurrency settings. Native Ollama checks are opt-in and are described in the AI Assistant verification guide.

dotnet test NGB.sln --no-restore

Run frontend workspace tests

cd ui
npm ci
npx playwright install
npm run test:all

The full frontend gate includes type checks, API compatibility, unit tests, browser component tests and Playwright E2E. The content E2E host also requires .NET and Docker; see the Attachments & Notes validation prerequisites.

Full coverage reports

From the repository root, after restoring dependencies and setting up the test prerequisites:

./run-backend-full-coverage.sh
./run-frontend-full-coverage.sh

NGB_BACKEND_COVERAGE_JOBS and NGB_FRONTEND_COVERAGE_JOBS control concurrent test projects. The defaults are 2 and 1 respectively. Each runner replaces its previous output under artifacts/coverage/backend-full or artifacts/coverage/frontend-full, including coverage-summary.json and report/index.html. These commands enforce 100% coverage thresholds; they do not imply that the current checkout passes them.


Design principles

NGB is built around a few strong principles:

1. Platform first

Shared cross-cutting capabilities belong in the platform, not duplicated across solutions.

2. Vertical-ready architecture

Industry solutions should extend the platform cleanly without turning the platform into vertical-specific code.

3. Accounting-aware business design

Accounting, registers, balances, and reporting are not afterthoughts. They are core platform concerns.

4. Metadata-driven UI and behavior

The platform should describe forms, lists, actions, and interactions as reusable metadata wherever that makes sense.

5. Durable system of record

PostgreSQL is the authoritative source of business truth.

6. Auditability and explainability

Business systems should make it possible to understand what happened, why it happened, and what effects were produced.

7. Production-minded engineering

The goal is not a demo-first framework. The goal is a reusable foundation for real business software.


Why Apache 2.0

NGB Platform is released under the Apache License 2.0.

This license was chosen to make the platform easy to adopt, easy to evaluate, and practical for real engineering teams. It allows commercial use, modification, and redistribution while preserving license and copyright notices.

See the LICENSE file for details.


Contributing

Contributions, discussions, issues, and pull requests are welcome.

If you want to explore NGB, the best starting points are:

  • the live demos;
  • the platform core projects in the solution;
  • the vertical solutions in NGB.PropertyManagement.*, NGB.Trade.*, NGB.AgencyBilling.*, and NGB.CRM.*;
  • the shared UI workspace under ui/.

Suggested contribution areas:

  • documentation and developer onboarding;
  • platform features and infrastructure improvements;
  • UI/UX improvements;
  • new demo scenarios and example solutions;
  • test coverage and reliability improvements.

License

Licensed under the Apache License 2.0.

See:


Links

About

Open-source .NET + PostgreSQL foundation for document-driven business apps with registers, audit, reporting, and accounting.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

21 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages