SShortSingh.
Back to feed

Erupt Builds a Full Java Admin Panel From One Annotated Class, With No Generated Code

0
·27 views

A developer introduced erupt, an open-source Apache-2.0 framework built on Spring Boot, that creates admin panels from annotations on a single Java class. Traditional approaches spread a single field change across many files, such as the entity, DTO, controller, validation, table, form, and export logic, while code generators leave maintainable boilerplate behind. With erupt, annotations like @View, @Edit, and @Search define table columns, form inputs, and search fields, and the framework reads them at startup into a JSON page description that a generic frontend renders. A shared API endpoint serves every model, and an interceptor restricts access to classes that appear in the user's menu, which also acts as the permission model. The author reports testing this by confirming that a class without a menu entry returned a 403 even for the admin account.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Python and Molecular Databases Offer New Tools for Organizing Peptide Research Data

A DEV Community article examines how Python and relational databases can help researchers manage peptide research data. It explains that peptides vary in molecular characteristics based on sequence, structure and chemical modifications, making organized records difficult to maintain. The piece highlights libraries such as Pandas, NumPy, Biopython, RDKit and Matplotlib, along with PostgreSQL and SQLite for structured storage. It also includes a sample Biopython script for calculating basic properties of an amino acid sequence, while cautioning that such computational predictions differ from experimentally measured results.

0
ProgrammingDEV Community ·

Unkernel Compiles a Real Linux Kernel to WebAssembly to Run in Browsers

Unkernel is an open-source project that aims to run a genuine Linux kernel inside a web browser. It compiles the kernel into WebAssembly and pairs it with a custom ARM64 CPU emulator called kwemu. Linux user-space programs run as ARM64 binaries on top of this setup, with a custom memory management implementation providing an MMU. The approach differs from full hardware emulators like v86 and from API-based runtimes like WebContainers, as it does not emulate an entire machine or replace Linux with JavaScript. The project's source code is publicly available on GitHub.

0
ProgrammingDEV Community ·

Monitor Fault Rule Flags Measurement Errors Before Blaming Individual Sites

A synthetic monitoring system checks several dozen pages hourly from three probe locations, flagging a page as regressed only when it is slower than its seven-day median on two consecutive runs at a majority of locations. Majority voting guards against a single location's bad hour, but it cannot catch a cross-region network event that affects all three locations together, since they share one cloud provider. To handle this, a separate rule treats a run in which more than half of all pages degrade as a likely fault in the measurement path rather than a simultaneous slowdown across independent sites. The first version of that rule counted degraded check groups instead of individual measurements, so nine of ten groups qualified on an ordinary day and it would have fired constantly. Switching to counting individual measurements brought the share down to 18 percent, and the rule stopped firing falsely.

0
ProgrammingDEV Community ·

Tool Lets Users Pull Shopify Store Products, Prices and Stock into n8n or AI Agents

A developer guide describes a way to extract structured product data from Shopify stores without running resource-heavy browser automation like Playwright or Puppeteer. The method uses a serverless Apify Actor that returns clean JSON, with built-in support for MCP and n8n. Suggested uses include tracking daily price drops and stockouts across competitor stores, syncing product SKUs, prices and images into spreadsheets or Airtable, and letting AI assistants such as Claude or Cursor query live catalogs. The article includes a sample GitHub repository record returned by the tool as an illustration of the output format.