How it works
From database to application
Four steps, and the logic stays where you can read it.
Keep the rules in the database
Posting, numbering, stock movements and forecasting are stored procedures and views. Schema changes are numbered migrations that are checksummed and never edited after they are applied, so an installed system upgrades in place.Connect it
An administrator adds a connection (JDBC, or OData v4). The account used has least privilege: it reads only scoped views and runs routines, and cannot change the schema.Describe the screens
Lists, forms, charts, dashboards and grids are definitions saved as data and checked against schemas. For NexusForms ERP they are generated by a script, so a rebuild updates them in place and leaves your hand edits alone.Give people access
Roles, per-screen View or Edit, field limits, company access and department, class and location limits. People sign in with Google, Microsoft or Amazon after an administrator has invited them.
The pieces
| Part | What it is |
|---|---|
| Web app | Angular browser application, with the guide served at /help. |
| Sign-in service | Spring Authorization Server; Google, Microsoft and Amazon sign-in; issues the tokens; owns users and roles. |
| Data service | Spring Boot: stores definitions, runs queries, enforces access, runs scheduled tasks, notifications, files and the API. |
| Platform database | PostgreSQL, holding definitions, users and settings. |
| Your data source | For the ERP, a MySQL 8 database with its views and stored procedures. |
Running it
It can run in the cloud (AWS or Google Cloud) or on your own server.
- Three container images (web, sign-in, data); the databases stay on the host.
- One command builds, uploads, backs up, updates the database, restarts and checks health, and stops at the first failure.
- The previous release stays on the server, so going back is a tag change.
- Backups cover both databases, the stored files and the signing keys; a restore test compares the restored schema with the original.