Rath Backend delivers a Spring Boot API template with JWT auth, Rath Frontend gives a Next.js + MUI shell, and RathORM, Rath Common, and Rath Components keep schema, utilities, and data grids aligned.
Migration flow
Discover annotated models across configured packages.
Create tables, add columns, and apply constraints in-order.
Remove unused columns or drop tables when you opt in.
DbProperties props = DbProperties.load();
new DatabaseBootstrapper().ensureDatabaseExists(props);
List<Class<?>> entities = EntityScanner.findConfiguredEntities();
new SchemaMigrator().syncTables(entities, false);
Rath stack
Rath Backend and Rath Frontend get you moving fast, while RathORM, Rath Common, and Rath Components keep data, utilities, and UI pieces consistent.
Spring Boot starter with JWT cookie auth, rathorm-powered data helpers, and a cached select service.
Next.js + MUI template with app router defaults, data grid premium, and shared component support.
Schema migrator that keeps annotated entities and PostgreSQL aligned without brittle SQL files.
Utility toolkit for Rath services: HTTP client, response wrappers, IST time helpers, and validators.
React data grid wrappers for MUI with fetch wiring, pagination, sorting, filtering, and toolbar defaults.
Why RathORM
Lean migration helpers, pragmatic defaults, and zero fluff for teams that want PostgreSQL to stay in sync with their models.
RathORM reads your annotated entities to build the database truth—no extra DSL or YAML.
Creates tables, adds new columns, then applies constraints in the right order for PostgreSQL.
Tiny DbRead/DbTransaction wrappers and batch utilities keep JDBC/ActiveJDBC code compact.
Quick start
<dependency>
<groupId>com.tranztechnologies</groupId>
<artifactId>rathorm</artifactId>
<version>1.0.8</version>
</dependency>
<dependency>
<groupId>com.tranztechnologies</groupId>
<artifactId>rath-common</artifactId>
<version>1.0.2</version>
</dependency>
npm install @tranz-rath/components @mui/material @mui/x-data-grid-premium @emotion/react @emotion/styled
RathORM.create(
/* dropOnly */ false,
/* dropFirst */ false,
/* dropExtraColumns */ false
);
Ready to build?
Explore the docs, drop in the templates, and keep your PostgreSQL schema, service utilities, and React data grids aligned.