low-code
Low-code is a low-code platform built for Java.
Open source: github.com/houbb/low-c…
features
-
Support basic add, delete, change and check
-
Support for enumeration value processing
-
EXCEL export support
-
Code generation in one click
-
Production code one-click cleanup
Technology selection
Springboot container
Mybatis – plus + druid + mysql database
Vue + element – the UI pages
Quick start
Need to be
JDK 1.7 +
maven 3.x+
Mysql 5.7
Configuration to adjust
The database script is mysql-5.7, see mysql-5.7.sql
When the preceding script is executed in mysql, the default mysql login information is root/123456.
If adjustments are needed, modify the application.yml file.
Code generation
Execute the LowCodeGenerator#main() method in the low-code-gen module to specify the generated tables.
Let’s use the user table as an example to get started:
create table user
(
id int unsigned auto_increment comment 'Increment primary key' primary key,
user_id varchar(32) not null comment 'User id',
user_name varchar(32) not null comment 'User name',
remark varchar(64) not null comment 'User Description',
status varchar(1) not null default 'S' comment 'User status',
app_name varchar(64) not null default 'system' comment 'Application Name',
operator_name varchar(64) not null default 'system' comment 'Operator name',
create_time timestamp default CURRENT_TIMESTAMP not null comment 'Create timestamp',
update_time timestamp default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP comment 'Update timestamp'
) comment 'User table' ENGINE=Innodb default charset=UTF8 auto_increment=1;
Copy the code
For enumeration values, you can specify configurations in the LC_enum_mapping table.
Start the
To start the application, run the Application#main() method directly.
To generate the sample
Branching feature
V0.0.1 – basic DAL implementation
V0.0.2 – add, delete, change and other functions
V0.0.3 – Implement paging query
V0.0.4 – EXCEL export implementation
V0.0.5 – Implement enumeration value mapping
Develop reading
Later Road MAP
-
Get the corresponding ID field according to @tableID
-
Batch delete
-
Filter id and time when adding/updating
-
Time type query optimization (Date control)
-
The import function
-
Dynamic menu + download center
-
EXCEL exports enumeration value processing
-
Unified handling of enumeration values
-
Dependency name generation is more elegant and becomes lowercase
-
Export function
-
Query function
The data source
-
Other database support
-
Other front-end language support
-
Other backend language support
Automatically generate
-
Gen – test – the plugin access
-
Swagger access
-
JAPIDocs access
visualization
-
The page is changed
-
Highly customized