Giter Site home page Giter Site logo

shangcheng's Introduction

SpringBoot Mall Maven 多模块

项目基于SpringBootDemo 项目, 升级至多模块项目。

构建方式

使用Intellij IDEA方式构建项目模块

Eclipse/Myeclipse 请逐个Import maven 项目方式加入

代码风格:

IDEA 请使用doc/java-code-style-IDEA.xml

eclipse 请使用doc/java-code-style-eclipse.xml

导入以上Java代码风格,提交代码请先格式化后再提交。

提交代码方式:

先Fork ,编写代码,再发起PullRequest合并

注:不熟悉SpringBoot项目构建,请先去使用SpringBoot单方式模块构建项目

运行

运行项目有两种方式:

  1. 使用mallApplication.java
  2. 使用tomcat

默认打包成war

注:打包上(测试 or 正式)环境前,请先确定当前环境。

多模块细分各模块职责。

商城ERP 系统

模块分析

  • mall 基础 提供jar包依赖管理并管理各子模块
  • mall-common 提供基础设施
  • mall-dao 数据持久层 依赖 entity 和 common
  • mall-entity 实体层
  • mall-generator 项目代码生成,一键生成DAO Xml Service
  • mall-service 业务层 依赖dao
  • mall-web 程序入口,并依赖service 统一集成单元测试,所有测试代码写入
  • mall-web-front-management 前台管理
  • mall-web-back-management 后台管理
  • mall-web-mobile 移动端(包含微信页面)
  • mall-web-api 接口层 依赖service

多模块 多web 端构建项目基建。

使用Lombok 插件简化 getter/setter 详细请查看: 使用 Lombok 自动生成 Getter and Setter

多环境切换日志文件配置 Spring Boot干货系列:(七)默认日志logback配置解析 | 掘金技术征文

shangcheng's People

Contributors

maoyl5268 avatar c8439 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.