JDK / Maven or Gradle / MySQL or PgSQL / Redis
Zero credentials · Add directly in pom.xml or settings.xml
com.mcst:easyfk-dependencies · Compose with zero version conflicts
Launch easybuild-admin-api & frontend, or scaffold with the generator
How to Use EasyFK
Integrate & Launch in 4 Steps
Skip tedious infrastructure wiring and credential requests. Simply add the EasyFK repository to your pom.xml or settings.xml, import the unified com.mcst:easyfk-dependencies BOM, and compose 40+ production-grade components on demand—or spin up your next system in seconds with our open-source starter and code generator.
STEP 01 · ENVIRONMENT PREPARATION
Development Environment Prerequisites
Before integrating EasyFK or launching the open-source projects, make sure the following tools are installed locally.
JDK Runtime
Backend compile & runtime environment aligned with the Spring Boot 3 ecosystem
Maven or Gradle
Backend build tool; both fully support EasyFK unified BOM governance
MySQL or PostgreSQL
Application database (SQL scripts include UTF-8 schema and initial RBAC seed data)
Redis & Node.js
Redis powers caching and distributed state; Node.js runs the Next.js admin console
STEP 02 · MAVEN & GRADLE REPOSITORY
Configure Maven / Gradle Repository
No credentials required. Add the EasyFK repository URL directly in your project pom.xml, global settings.xml, or build.gradle to pull core framework and business module JARs (all business module sources are also 100% open source on GitHub).
<repositories>
<repository>
<id>easybuild</id>
<url>https://maven.cnb.cool/jackorg/easybuild/-/packages/</url>
</repository>
</repositories>No QR scan or token application needed. Add the repository URL below to your project pom.xml, global settings.xml, or build.gradle:
https://maven.cnb.cool/jackorg/easybuild/-/packages/pom.xml so every teammate shares the config without editing local settings~/.m2/settings.xml to share across multiple local projectssettings.xml configures a public mirror (such as Aliyun), make sure mirrorOf includes the !easybuild exclusion (e.g. central,jcenter,!easybuild) so the mirror does not intercept EasyFK repository requests.STEP 03 · UNIFIED BOM INTEGRATION
Import EasyFK BOM & Components
Manage your entire version baseline via com.mcst:easyfk-dependencies. Downstream projects only declare the modules they need—auto-configuration kicks in on import.
<properties>
<easyfk.version>3.5.16</easyfk.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- 1. Import the unified EasyFK BOM platform -->
<dependency>
<groupId>com.mcst</groupId>
<artifactId>easyfk-dependencies</artifactId>
<version>${easyfk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- 2. Add the core starter module (version managed by BOM) -->
<dependency>
<groupId>com.mcst</groupId>
<artifactId>easyfk-core</artifactId>
</dependency>
</dependencies>STEP 04 · LAUNCH YOUR PROJECT
Two Paths to Launch Your First EasyBuild Project
Scaffold a brand-new project from scratch with the code generator, or clone the open-source full-stack demo to run the complete loop locally.
One-Click Project Generation
Once your Maven/Gradle repository is configured, skip manual directory and build-file setup—generate a standardized project in seconds via the IDEA plugin or CLI:
Install EasyFK Generator from the JetBrains Marketplace, then use File → New → EasyFK Project or press Ctrl + Alt + Z to pick tables and generate.
mkdir my-project && cd my-project
efg init # Create generator.yml template
efg # Generate full project skeleton & layered codeMount the open-source easyfk-skill into your AI coding assistant so it implements complex domain logic strictly following EasyFK conventions.
Launch EasyBuild Admin in 3 Steps
Create a database named eb_demo and run the initialization SQL under doc/sql/ in the backend repo (includes full schema, default admin, and RBAC menus):
-- MySQL: create database (then run mysql_*.sql under doc/sql/)
CREATE DATABASE eb_demo DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
-- Or PostgreSQL: create database (then run postgresql_*.sql under doc/sql/)
CREATE DATABASE eb_demo;Update your DB password in config/application-dev.yml (or application-pgDev.yml for PostgreSQL), then run com.easybuild.admin.bms.ServerApp in IDEA or start from the terminal:
git clone https://github.com/easybuild-jack/easybuild-admin-api.git
cd easybuild-admin-api
mvn clean package -DskipTests && java -jar target/easybuild-admin-api.jar
# Verify API docs once running: http://localhost:5001/doc.htmlVerify NEXT_PUBLIC_API_URL=http://localhost:5001 in .env.development and launch the frontend:
npx easybuild-admin my-admin # or clone the easybuild-admin-front repo
cd my-admin && yarn dev
# Open http://localhost:4000 in your browser to sign inSetup & Launch FAQ
Q1: Maven fails to resolve com.mcst artifacts?
Check that your ~/.m2/settings.xml mirror's mirrorOf includes the !easybuild exclusion (e.g. central,jcenter,!easybuild). Without it, public mirrors like Aliyun intercept every request and block artifacts from the EasyFK repository.
Q2: Does importing easyfk-dependencies BOM pull all 40+ components into my project?
No. A BOM only declares compatibility-verified version constraints without adding actual JARs. Only the modules you explicitly declare in dependencies (such as easyfk-core or orm-mybatis) are included, keeping your build lean.
Q3: Database connection errors on startup, or switching to PostgreSQL?
Verify that the eb_demo database exists and the init SQL under doc/sql/ has been executed. When switching to PostgreSQL, in addition to selecting application-pgDev.yml in application.yml, replace db-mysql with db-postgresql in pom.xml or build.gradle.
Q4: No menus appear after logging into the frontend, or API calls return 404?
EasyBuild Admin menus are dynamically served by the backend based on RBAC permissions. Confirm the backend is running on port 5001, the init SQL finished cleanly, and NEXT_PUBLIC_API_URL in .env.development points to http://localhost:5001.
Run Into Any Integration Issues? Reach Out Directly
Whether you are an individual developer exploring the open-source ecosystem or a team adopting the EasyFK core foundation, we provide direct, responsive engineering support.