Giter Club home page Giter Club logo

acmen-helper's Introduction

acmen-helper

还在为繁琐的配置工作和重复的基础Coding而烦恼吗?Acmen-helper一键搞定 。Easy Coding,Enjoy life!

最新更新


支持生成一个多模块的项目,为生成微服务项目做准备

  • xxx-dao 为数据库持久层
  • xxx-service为业务逻辑层
  • xxx-web为mvc层
  • xxx-core为核心依赖及配置(其他模块都要依赖这一个模块)

项目演示

  • 生成的项目结构

生成的项目结构 生成的项目结构-多模块

快速开始

# 暂时只支持linux和mac系统,不支持Windows系统
# 这个项目需要安装springboot-cli才可以使用
# 本项目是一个springboot项目,启动需要先进入项目目录
git clone https://github.com/MarkGao11520/acmen-helper.git
cd acmen-helper
# 然后打包项目
mvn clean package
# 运行
java -jar target/acmen-helper-0.0.1-SNAPSHOT.jar --server.port=10086 --acmen.generatePath="指定一个生成项目的临时目录"
# 然后登陆浏览器http://localhost:9090输入数据库信息点击查询->选择数据库表->填写项目基本信息->点击下载->稍等几秒即可获得一个springboot项目,
导入IDEA可以直接运行,然后在这基础上开发即可

# 项目默认生成的是SOA单体架构的项目结构,如果需要生成多模块的项目结构,请修改application.yml
# 文件的acmen.projectGeneratorClass 属性为com.acmen.acmenhelper.generate.spiltmodule.SpiltModuleProjectGenerator
# 由于多模块项目耗时时间长,可能要3-10分钟,还请老铁们耐心等待

背景:

当前每次启动一个新的项目工程,都需要进行复杂而又繁琐的配置工作已经重复的基本代码coding,效率低下。

目标:

通过在web端简单配置数据库连接信息,就可以生成一个基于Spring Boot & MyBatis的种子项目,该项目已经集成了基本的配置信息和相关基本操作的RestfulAPI接口。 其中,配置信息包括:统一API结果封装,统一异常处理,简单签名认证,mybatis和数据源配置;API接口包括针对数据源的所有基本操作。使我们摆脱繁琐无趣的重复工作,专注于业务代码的编写,减少加班

未来

纵向扩展

1.用户自定义多维查询 2.自定义module名称 3.暴露自定义项目生成脚本 4.微服务化-可以生成多模块的项目骨架

横向扩展

1.集成登录模块(web,app端的社交登录,短信登录,验证码登录,密码登录) 2.集成RBAC权限模块

核心架构

image.png

acmen-helper's People

Contributors

markgao11520 avatar

Watchers

James Cloos 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.