Coder Social home page Coder Social logo

springboot-demo's Introduction

Demo project for Spring Boot

集成

  • 基础框架
    • spring boot(1.5.8)
    • lombok
  • 安全框架
    • guard (待续)
  • 数据库连接池
    • druid
  • 数据库
    • mysql
  • 缓存
    • redis
  • 持久层工具
    • mybatis
  • ci/devops
    • docker
    • jenkins (待续)
    • k8s (待续)
  • 文档
    • swagger

使用说明

  • 使用db_schema初始化数据库
  • config/application-database.yml 配置数据库连接
  • config/application-redis.yml 配置redis连接(或者在Mapper文件中去除cache)
  • 驼峰转下划线:VO类使用 @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
  • swagger http://localhost:8080/swagger-ui.html 配置文件:com.example.demo.config.SwaggerConfig
  • druid监控 http://localhost:8080/druid/index.html 配置文件:config/application-druid.yml
  • docker 将打包好的jar跟Dockerfile放置同一目录,输入命令docker build

springboot-demo's People

Contributors

cjqcn avatar

Stargazers

 avatar  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.