This project is a Spring boot (Java) project, used for build backend service quickly.
- Support table generate automated if table not created
- Support database password encryption by Jasypt
- Support scheduled task
- Support manual trigger task
- Support unified interface pre-processing
- Support docker build and run
- Support access permission set by jwt
- Support nacos config center
- Support redis
- Support mysql slave
- Support add dubbo provider
- Support elk service
- Support send and consume message of RabbitMQ
- Support junit test
These instructions will guide you how to run the service.
What things you need to install the software and how to install them
- docker
install docker: https://docs.docker.com/engine/install/
make build-image # build maven-jdk8 image
mvn clean package # build target jar
make build # build target jar
make run # run backend service by docker
We use "Google Java Style Guide" as coding style guide:
- Official: https://google.github.io/styleguide/javaguide.html
- Chinese version: https://jervyshi.gitbooks.io/google-java-styleguide-zh/content/
- Download the intellij-java-google-style.xml file from the http://code.google.com/p/google-styleguide/ repo.
- go into Preferences -> Editor -> Code Style. Click on Manage and import the downloaded Style Setting file. Select GoogleStyle as new coding style.
- Download the eclipse-java-google-style.xml file from the http://code.google.com/p/google-styleguide/ repo.
- Under Window/Preferences select Java/Code Style/Formatter. Import the settings file by selecting Import.
Please read 使用git进行代码提交、审查、合并流程 for details on our code of conduct, and the process for submitting pull requests to us.
This project is copyright by Rivtower Co., Ltd. All rights reserved.
- You should know how to use Maven.
- You should know how to use Java.
- You should know how to use Mysql.