https://github.com/soumyadip007/spring-boot-with-rest-json-hibernate-jpa-springdatajpa
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
https://github.com/soumyadip007/spring-boot-with-rest-json-hibernate-jpa-springdatajpa
hibernate jackson-json-processor jdbc jpa-hibernate mysql rest-api spring-boot-starter spring-data-jpa spring-properties
Last synced: 3 months ago
JSON representation
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
- Host: GitHub
- URL: https://github.com/soumyadip007/spring-boot-with-rest-json-hibernate-jpa-springdatajpa
- Owner: soumyadip007
- License: epl-2.0
- Created: 2019-05-30T09:31:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-23T17:52:46.000Z (almost 6 years ago)
- Last Synced: 2025-01-06T00:13:14.957Z (5 months ago)
- Topics: hibernate, jackson-json-processor, jdbc, jpa-hibernate, mysql, rest-api, spring-boot-starter, spring-data-jpa, spring-properties
- Language: Java
- Homepage:
- Size: 112 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring-Boot-with-Rest-Json-Hibernate-JPA-SpringDataJPA
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.[](https://travis-ci.org/codecentric/springboot-sample-app)
[](https://coveralls.io/github/codecentric/springboot-sample-app?branch=master)
[](http://www.apache.org/licenses/LICENSE-2.0.html)Minimal [Spring Boot](http://projects.spring.io/spring-boot/) sample app.
## Requirements
For building and running the application you need:
- [JDK 1.8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- [Maven 3](https://maven.apache.org)## Running the application locally
There are several ways to run a Spring Boot application on your local machine. One way is to execute the `main` method in the `de.codecentric.springbootsample.Application` class from your IDE.
Alternatively you can use the [Spring Boot Maven plugin](https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-maven-plugin.html) like so:
```shell
mvn spring-boot:run
```## Deploying the application to OpenShift
The easiest way to deploy the sample application to OpenShift is to use the [OpenShift CLI](https://docs.openshift.org/latest/cli_reference/index.html):
```shell
oc new-app codecentric/springboot-maven3-centos~https://github.com/codecentric/springboot-sample-app
```This will create:
* An ImageStream called "springboot-maven3-centos"
* An ImageStream called "springboot-sample-app"
* A BuildConfig called "springboot-sample-app"
* DeploymentConfig called "springboot-sample-app"
* Service called "springboot-sample-app"If you want to access the app from outside your OpenShift installation, you have to expose the springboot-sample-app service:
```shell
oc expose springboot-sample-app --hostname=www.example.com
```## Copyright
Released under the Apache License 2.0. See the [LICENSE](https://github.com/codecentric/springboot-sample-app/blob/master/LICENSE) file.