Skip to content

UDLD/spring-boot-jpa-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Jpa Demo

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

Getting Started

These instructions will guide you how to run the service.

Prerequisites

What things you need to install the software and how to install them

  • docker

Installing

install docker: https://docs.docker.com/engine/install/

Create base build && run image

make build-image # build maven-jdk8 image 

Build target jar

Local build

mvn clean package # build target jar

Docker build

make build # build target jar

Run backend service

make run # run backend service by docker

Coding style

We use "Google Java Style Guide" as coding style guide:

Installing the coding style settings in Intellij

  1. Download the intellij-java-google-style.xml file from the http://code.google.com/p/google-styleguide/ repo.
  2. go into Preferences -> Editor -> Code Style. Click on Manage and import the downloaded Style Setting file. Select GoogleStyle as new coding style.

Installing the coding style settings in Eclipse

  1. Download the eclipse-java-google-style.xml file from the http://code.google.com/p/google-styleguide/ repo.
  2. Under Window/Preferences select Java/Code Style/Formatter. Import the settings file by selecting Import.

Contributing

Please read 使用git进行代码提交、审查、合并流程 for details on our code of conduct, and the process for submitting pull requests to us.

Workflow

License

This project is copyright by Rivtower Co., Ltd. All rights reserved.

Acknowledgments

  • You should know how to use Maven.
  • You should know how to use Java.
  • You should know how to use Mysql.

About

(Java) project, used for build backend service quickly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published