https://github.com/ayonious/springboot-bootstrap
🍀 🏁 Simple Springboot Bootstrapping Project
https://github.com/ayonious/springboot-bootstrap
bootstrap java spring-boot
Last synced: 2 months ago
JSON representation
🍀 🏁 Simple Springboot Bootstrapping Project
- Host: GitHub
- URL: https://github.com/ayonious/springboot-bootstrap
- Owner: ayonious
- Created: 2019-11-19T07:30:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-04-22T05:42:24.000Z (2 months ago)
- Last Synced: 2026-04-22T07:36:07.089Z (2 months ago)
- Topics: bootstrap, java, spring-boot
- Language: Java
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring boot bootstrapper Project
[](https://github.com/ayonious/springboot-bootstrap/actions/workflows/build.yml)
[](https://codecov.io/gh/ayonious/springboot-bootstrap)
[](https://opensource.org/licenses/MIT)
Clone this project to create your running springboot Application.
Things that comes this with:
1. Sample Rest Endpoints
2. Unit Tests and Integration tests with 80%+ code coverage
3. All updated versions of Dependencies
4. Lombok Samples
5. Use of @Value and application.yaml file reading
## Test Coverage
The project maintains a high level of test coverage with:
- Unit tests for individual components
- Integration tests for end-to-end functionality
- Automated coverage reporting via JaCoCo and Codecov
## Build Status
The project uses GitHub Actions for continuous integration, running all tests and generating coverage reports on every push and pull request.
## Build and run from jar
```
mvn clean package
java -jar learn-spring/target/learn-spring.jar
```
## Run through maven command
```
mvn clean install
mvn spring-boot:run
```
## Test with curl command
```
curl -X POST -H "Content-Type: application/json" -d '{"isBody":"false","id1":"xyz","someStupidId":"123321"}' 'http://localhost:3194/v1/ayon/controller/multiply/12/update'
```
output:
```
updatedDatase with12BodyDto(isBody=false, id1=xyz, someStupidId=123321)somethinginRunningMode
```
## Other learning stuffs:
You have a collection of @beans that are initialized by @Autowired, values that are assigned to all the variables with @Autowired are initialized by those created @beans. To have @Value, @Beans to be seens by spring you need at least @Configutiaon/@SpringbootAppliccation/@RestController/.. on top of it