How fushengqian/fuint works
Project type and purpose
• This is a full-stack, modular Java Spring Boot application (fuint-application) for in-store membership management and marketing, backed by MySQL, Redis, Quartz scheduling and exposed via REST.
• It comprises reusable framework (fuint-framework), data-access layer (fuint-repository), and utility library (fuint-utils). The front end (not in this repo) is built with Vue/Uniapp/Element UI for H5 and mini-programs.
File structure
• Top-level pom.xml defines a multi-module Maven project with these subprojects:
• fuint-application: the main Spring Boot service
• fuint-framework: base controller, error handling, export service
• fuint-repository: MyBatis Mapper interfaces, XMLs and domain models
• fuint-utils: common utilities and text/IO helpers
• In fuint-application/src/main/java:
• common: shared config (Redis, MyBatisPlus, Swagger, security), AOP aspects (logging, Redis caching), beans/DTOs/enums, util classes
• service / service.impl: business logic interfaces and implementations
• web modules: three controller packages (backendApi, clientApi, merchantApi)
• schedule: Quartz jobs for commission, coupon expiration, order cancellation, etc.
• resource files: application.properties, Redis cache config, EHCache, Sentry, static uploads, generation templates (Velocity)
• At root: configure/dev & prod folders for environment-specific properties, db/fuint-db.sql for schema, sbin scripts for deployment.
Key architecture points from README
• Backend stack: Spring Boot 2.5, MyBatis Plus, Spring Security, JWT, Redis, Quartz, MySQL 5.7+, Swagger UI
• Frontend stack: Django-style REST separation; Uniapp & Element UI (Vue2) for H5, WeChat mini-program
• External integrations: SMS gateway, payment gateways (AliPay, WeChat Pay, UnionPay), cloud printing service.