NexusForms, Integrated Dynamic Builder

How it works

From database to application

Four steps, and the logic stays where you can read it.

  1. 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.
  2. 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.
  3. 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.
  4. 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

Components of a NexusForms installation
PartWhat it is
Web appAngular browser application, with the guide served at /help.
Sign-in serviceSpring Authorization Server; Google, Microsoft and Amazon sign-in; issues the tokens; owns users and roles.
Data serviceSpring Boot: stores definitions, runs queries, enforces access, runs scheduled tasks, notifications, files and the API.
Platform databasePostgreSQL, holding definitions, users and settings.
Your data sourceFor 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.