Create a Powerful Low‑Code Platform in 5 Minutes with Alibaba LowCodeEngine
This article introduces Alibaba's open‑source LowCodeEngine, outlines its key features, and provides a step‑by‑step tutorial for quickly building a low‑code development platform that generates React front‑end code, configures components, connects data sources, and exports the resulting code.
LowCodeEngine Overview
LowCodeEngine is Alibaba's open‑source, enterprise‑grade low‑code technology stack designed for extensibility. Since its release in early 2023 it has attracted over 4.7K stars on GitHub.
Key characteristics include a highly extensible engine, minimal core, strong ecosystem, out‑of‑the‑box deployment, a complete material system, powerful configurator, rich plugins, a visual editor with a full toolchain, and TypeScript‑based generation of React front‑end code.
Setting Up the Low‑Code Platform
Follow these steps to create a low‑code development platform in about five minutes:
Download the LowCodeEngine demo from
https://github.com/alibaba/lowcode-demo.
Extract the archive and ensure
Node.jsand
npmare installed.
Because some npm registries are inaccessible, install
cnpmvia
<code>npm install -g cnpm --registry=https://registry.npmmirror.com</code>.
Use
cnpm installinside the extracted directory to install dependencies.
Start the project with
npm start. The application runs on port
5556and can be accessed at
http://localhost:5556.
Using the Low‑Code Platform
To demonstrate the platform, we recreate a brand‑management feature from an existing e‑commerce project.
Target Effect
The goal is to implement a simple brand list using low‑code components.
Component Library
Select the
Query Filtercomponent from the component library and drag it onto the editor.
Configure the component using the right‑hand
Configurator.
Open the component’s
Editpanel to adjust appearance and input hints.
Drag a
Advanced Tablecomponent into the editor.
Configure the table’s data columns by mapping JSON fields to the
Data Columnsettings.
Data Source
Use the
Data Sourcefeature to call an API and populate the table. Set the request parameters and customize the success‑handler for
data.list.
In the
Advanced Tablecomponent, set the
Table Data Sourceto an expression referencing the previously defined data‑source ID.
Adjust each column’s
Data Fieldto match the corresponding property in the returned JSON.
Preview and Code Export
Click the
Previewbutton to view the generated page.
Click the
Export Codebutton to download the React source code produced by the low‑code engine.
Additional Features
The
Source Code Panelallows custom functions to be added directly.
The
Outline Viewprovides a hierarchical view of the entire page structure.
Conclusion
LowCodeEngine offers a powerful, out‑of‑the‑box low‑code solution that generates React front‑end code. While it accelerates UI development, understanding the generated code remains essential for building complex business systems.
References
Project repository:
https://github.com/alibaba/lowcode-engineOfficial site:
https://lowcode-engine.cn/Usage guide:
https://www.yuque.com/lce/usagemacrozheng
Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.