Giter VIP home page Giter VIP logo

robot's Introduction

frame

工具:idea

环境:fedora27+jdk1.8

框架基础:SpringBoot2.0.1、Jpa、hibernate5.2、Gradle4+、Mysql5+Mongo(可无)

页面渲染:thymeleaf

json插件: fastJson

日志:log4j2

连接池:druid

api : swagger

缓存 : redis

文件上传 : webuploader

目录结构:

    1-- base    所有基类包,及基类封装的类包
    2-- action  控制器层类包
    3-- dto     查询对象传输层类包
    4-- to      数据传输层类包
    5-- entity  实体类类包
    6-- rep     jpa接口映射类包
    7-- ser     业务层类包
    8-- types   枚举类型类包
    9 --vo 值对象包
    10--common   通用包
            9.1-- aspect    切面处理类包                     
            9.2-- custom    自定义类包
                  9.2.1 -- annotation:自定义注解包
                  9.2.2 -- exception : 自定义异常包
                  9.2.3 -- result : 自定义返回数据类包
                  9.2.4 -- types : 共用枚举类型类包
            9.3-- config    配置类包
            9.4-- handler   处理器类包
            9.5-- utils     通用调工具类包
            9.6-- interceptor     拦截器处理类包
            9.7-- constant     常量类包
    11 --AppRoot 启动类
     
    12--resources
        11.1-- static                 静态文件,js,css等
        11.2-- templates              页面
        11.3-- application.properties 主配置文件
        11.4-- config.properties      配置文件
        11.5-- log4j2.xml            日志主配置文件
        11.6-- doc                   简单文档说明

test :
beetl:自动生成类模板工具,请参考里面的demo使用, Bean.txt :为类模板,生成类及包,运行Build.java的main方法即可

详见 doc/frame

打包: gradle build -xtest

运行 : java -jar frame-0.0.1.jar

日志文件目录:/storage/logs(假如应用没有权限创建, 手动执行:sudo mkdir /storage;chmod 777 -R /storage)

linux 下环境安装(mysql,mongo,redis)见博客(docker): https://blog.csdn.net/xinaml/article/details/72922039

robot's People

Contributors

qreen avatar xinaml avatar

Watchers

 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.