Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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!"}
```