https://github.com/cable8mm/demo-for-spring-boot
https://github.com/cable8mm/demo-for-spring-boot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cable8mm/demo-for-spring-boot
- Owner: cable8mm
- License: mit
- Created: 2024-02-23T21:17:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-11-10T10:04:04.000Z (7 months ago)
- Last Synced: 2025-11-10T11:18:46.733Z (7 months ago)
- Language: HTML
- Size: 14.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# About
[](https://github.com/cable8mm/demo-for-spring-boot/actions/workflows/gradle-wrapper-validation.yml)
[](https://github.com/cable8mm/demo-for-spring-boot/actions/workflows/gradle-test.yml)
[](https://github.com/cable8mm/demo-for-spring-boot/actions/workflows/gradle.yml)






This repository has been developed for testing the last spring stack. We will find out the best practice.
## Installation
```sh
git https://github.com/cable8mm/demo-for-spring-boot.git
cd demo-for-spring-boot
./gradlew bootRun
```
And visit http://localhost:8080 or you would be better visit https://demo-for-spring-boot.test to refer [the article](https://www.palgle.com/2024/02/23/spring-boot-with-custom-domain/).
## Coding Style
Accourding to [spring java format](https://github.com/spring-io/spring-javaformat?tab=readme-ov-file#visual-studio-code), you must follow that.
> The Visual Studio Code extension provides custom formatter support for Microsoft Visual Studio Code. The extension using the [DocumentFormattingEditProvider](https://code.visualstudio.com/api/references/vscode-api#DocumentFormattingEditProvider) API. Once installed it may be activated by using the “Format Document” action available in the editor context menu or from the Command Palette.
>
> To install the extension select “Install from VSIX” in the extensions panel and choose the spring-javaformat-vscode-extension vsix file. You can download the latest version from [Maven Central](https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-vscode-extension/0.0.41/).
I saved the lastest version from Maven Central, so you would use it easily.
## Development
You would change vscode `Hot code replace` setting from `manual` to `auto` then you don't need restart when you have changed your codes.
You must run not release mode but debug mode, than you must run [below command](https://www.digitalsanctuary.com/java/springboot-devtools-auto-restart-and-live-reload.html).
```sh
gradle -t classes
```
## License
The Project Demo is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).