Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cristiangreco/spring-boot-boilerplate
Starter project to develop REST APIs with Spring Boot and Gradle
https://github.com/cristiangreco/spring-boot-boilerplate
gradle heroku java spring-boot
Last synced: about 2 months ago
JSON representation
Starter project to develop REST APIs with Spring Boot and Gradle
- Host: GitHub
- URL: https://github.com/cristiangreco/spring-boot-boilerplate
- Owner: cristiangreco
- Created: 2017-05-28T13:33:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T06:04:28.000Z (almost 2 years ago)
- Last Synced: 2023-03-11T08:57:36.505Z (almost 2 years ago)
- Topics: gradle, heroku, java, spring-boot
- Language: Java
- Size: 434 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
# Spring Boot boilerplate
Quick start for Spring Boot and Gradle.
![CI](https://github.com/cristiangreco/spring-boot-boilerplate/workflows/CI/badge.svg)
## How to build
Build with Gradle wrapper:
```sh
$ ./gradlew clean build
```## How to run
Run with Gradle wrapper:
```sh
$ ./gradlew bootRun
```Or run it as an executable jar:
```sh
$ java -jar build/libs/spring-boot-boilerplate-0.1.0.jar
```## Testing with Curl
```sh
$ curl http://localhost:8080/hello
{"message":"Hello, World!"}
```