Important
π§ The project is currently under active development and features are subject to change at any time.
Arale CodeGen is a code generation tool that can read SQL DDL or JSON Object/Array to generate the specified code.
The goal of this project is to reduce duplication of work in CRUD, such as writing entity code based on the table structure, or write the corresponding DTO code based on the structure of the JSON object.
- Read the SQL DDL / JSON to generate entity of ORM / persistence framework, such as Hibernate, Entity Framework Core, SqlSugar, MyBatisPlus
- Read the SQL DDL / JSON to generate class, record, struct for Java, C#.
- Read the JSON to generate type / interface for TypeScript.
- Read the JSON to generate object for JavaScript.
- JSON object property naming style conversion (camelCase, snake_case, PascalCase, kebab-case).
- Convert URL query string to TS type alias or interface
- Convert URL query string to JS object literal
- Convert JSON object or array to JSDoc comment
Note
Only the following databases are supported
The logo has been designed by Free Logo Design.
Name | Version | Documentation | Remark |
---|---|---|---|
C# | 12 | https://learn.microsoft.com/en-us/dotnet/csharp/ | Language |
SqlParser-cs | 0.6.2 | https://github.com/TylerBrinks/SqlParser-cs | SQL Parser |
Scriban | 5.12.1 | https://github.com/scriban/scriban | Template Engine |
Pluralize.NET | 1.0.2 | https://github.com/sarathkcm/Pluralize.NET | |
ASP.NET Core (Web API) | .NET 8.0 | https://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-8.0 | Web Framework |
Npgsql | 9.0.2 | https://www.npgsql.org/ | PostgreSQL Data Provider |
Humanizr | 3.0.0-beta.54 | https://github.com/Humanizr/Humanizer | Change naming style |
xUnit.net | 2.5.3 | https://xunit.net/ | Unit Tests |
Name | Version | Documentation | Remark |
---|---|---|---|
NodeJS | 20.11.1 | https://nodejs.org | |
PNPM | 8.5.13 | https://pnpm.io/ | Package Manager |
TypeScript | 5.4 | https://www.typescriptlang.org/docs/ | |
Vue | 3.4.27 | https://vuejs.org/ | |
Quasar | 2.16.0 | https://quasar.dev/docs | UI Framework |
JsonToTs | 2.1.0 | https://github.com/MariusAlch/json-to-ts | JSON to TypeScript |
UnpluginAutoImport | 0.18.2 | https://github.com/unplugin/unplugin-auto-import | |
Monaco Vue | v1.5.4 | https://github.com/imguolao/monaco-vue | Code Editor |
sql-formatter | 15.5.1 | https://github.com/sql-formatter-org/sql-formatter | |
debounce | 2.2.0 | https://github.com/sindresorhus/debounce | Delay function |
javascript-stringify | 2.1.0 | https://github.com/blakeembrey/javascript-stringify | JSON to JS object literal |
json-case-converter | 1.4.4 | https://github.com/MIRTAHAALI/json-case-convertor | JSON property case converter |
qs | 6.14.0 | https://github.com/ljharb/qs | Query String Parser |
json-to-jsdoc | 1.0.3 | https://github.com/shilohooo/json-to-jsdoc |
Name | Version | Documentation | Remark |
---|---|---|---|
GitHub Actions | https://github.com/features/actions | CI/CD | |
Nginx | 1.26.0 | https://nginx.org/en/docs/ | |
Docker | 27.1 | https://docs.docker.com/manuals/ |
- C# & SQL Server Data Type Mapping
- C# & MySQL Data Type Mapping
- C# & SQLite Data Type Mapping
- C# & PostgreSQL Data Type Mapping
- Java & SQL Server Data Type Mapping
- Java & MySQL Data Type Mapping
- Java & PostgreSQL Data Type Mapping
- A polyglot web converter
Shiloh |
---|
Copyright Β© 2025-present Shiloh