8000 GitHub - jd0x0021/lcgenjd: A client-side web application that automates data transformation, converting user-entered text into structured Changelog XML, eliminating the need for manual XML generation.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A client-side web application that automates data transformation, converting user-entered text into structured Changelog XML, eliminating the need for manual XML generation.

License

Notifications You must be signed in to change notification settings

jd0x0021/lcgenjd

Repository files navigation

Project Logo

 

A client-side web application that automates data transformation, converting user-entered text into structured Changelog XML, eliminating the need for manual XML generation.


1. Installation

To run this project locally, follow these steps:

  1. Clone the repository.
git clone https://github.com/jd0x0021/lcgenjd.git

 

  1. Install dependencies.
cd lcgenjd
npm install

 

  1. Start the application.
npm run dev

The app will be running at http://localhost:5173.


2. Usage

  1. Enter data: use the Left Panel, to input your changelog details, such as author, logical file path, changesets etc.

image

 

  1. Real-time update: The changelog XML (see XML example) is generated instantly as you make changes in the changelog data (user-input) panel (left panel), which will automatically update the preview on the xml visualizer panel (right panel).

image


2.1. Adding Changesets to the Changelog

A changeset is the basic unit of change in Liquibase. You store all your changesets in your changelog. Your changesets contain Change Types (SQL statements applied to your database) that specify what each change does, such as creating a new table, adding a column to an existing table, inserting new data, or updating an existing database record.

 

Clicking the Add Changeset button on the upper left corner adds a changeset to the changelog. Each changeset will automatically have a unique ID, which is derived from the logical file path.

image


2.2. User-Input to XML Mapping (for Insert Change Type)

  1. Author. image

 

  1. Logical File Path. image

 

  1. Changeset's comment. image

 

  1. Database table's name (this is the table where we'll insert our new data). Clicking the Add Table button in the changeset component will add a new database table. image

 

  1. Common columns (like audit fields) are automatically generated. image

 

  1. Database columns. image

 

  1. One row in this insert DML table is equivalent to a whole new row inserted to the specified database table. image

 

  1. Automatic rollbacks (all rows that are added by this changeset will be rolled back by this condition). image

3. Core UI Libraries

  1. react-split: provides a responsive, and dynamic split-view layout.
  2. react-syntax-highlighter: adds syntax highlighting to the structured XML output for improved readability.

4. Hosting

This client-side web application is hosted on Cloudflare Pages for fast and reliable deployment.

About

A client-side web application that automates data transformation, converting user-entered text into structured Changelog XML, eliminating the need for manual XML generation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0