Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnnymarquez/coffees-crud-spring
Example REST coffees CRUD microservice developed with Java, Spring Framework, JPA and H2.
https://github.com/johnnymarquez/coffees-crud-spring
h2 java jpa spring-boot
Last synced: about 2 months ago
JSON representation
Example REST coffees CRUD microservice developed with Java, Spring Framework, JPA and H2.
- Host: GitHub
- URL: https://github.com/johnnymarquez/coffees-crud-spring
- Owner: johnnymarquez
- Created: 2022-12-31T13:22:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-31T13:23:38.000Z (about 2 years ago)
- Last Synced: 2024-03-16T02:25:58.562Z (10 months ago)
- Topics: h2, java, jpa, spring-boot
- Language: Java
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoffeesCRUDSpring
Example REST coffees CRUD microservice developed with Java, Spring Framework, JPA and H2.Template developed from [SpringBootUpAndRunning](https://github.com/mkheck/SpringBootUpAndRunning)
# Getting Started
## Windows
### Compile Code
./mvnw.cmd clean compile -e### Test Code
./mvnw.cmd clean test -e### Jar Code
./mvnw.cmd clean package -e### Run Jar
Local: ./mvnw.cmd spring-boot:run
Background: nohup bash mvnw.cmd spring-boot:run &### Open Application
http://localhost:8080/coffees## Linux
### Compile Code
./mvnw clean compile -e### Test Code
./mvnw clean test -e### Jar Code
./mvnw clean package -e### Run Jar
Local: ./mvnw spring-boot:run
Background: nohup bash mvnw spring-boot:run &
### Open Application
http://localhost:8080/coffees# Docker
### Docker Build
docker build -t demo .
### Docker run
docker run -d -p 8080:8080 demo### This Project can be integrated with [CI/CD example pipeline](https://github.com/johnnymarquez/CICD-Pipeline-Jenkins).