https://github.com/edeandrea/todo-spring-quarkus
A demo application that builds and runs as either Spring Boot or Quarkus!
https://github.com/edeandrea/todo-spring-quarkus
Last synced: 3 months ago
JSON representation
A demo application that builds and runs as either Spring Boot or Quarkus!
- Host: GitHub
- URL: https://github.com/edeandrea/todo-spring-quarkus
- Owner: edeandrea
- License: apache-2.0
- Created: 2020-11-05T23:14:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-27T13:46:10.000Z (about 3 years ago)
- Last Synced: 2025-04-12T06:08:13.514Z (3 months ago)
- Language: JavaScript
- Size: 398 KB
- Stars: 22
- Watchers: 1
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# todo-spring-quarkus
A demo application that builds and runs as either Spring Boot or Quarkus! Repo supporting the blog post at https://developers.redhat.com/blog/2021/02/09/spring-boot-on-quarkus-magic-or-madness/## Run on Red Hat Developer Sandbox
[Click here](https://workspaces.openshift.com/f?url=https://github.com/edeandrea/todo-spring-quarkus) to use the free [Red Hat Developer Sandbox](https://developers.redhat.com/developer-sandbox) to try it out on your own! The PostgreSQL database will be embedded as a sidecar container in the workspace!## Manual Setup
Run the PostgreSQL database:```
docker run -it --rm --name tododb -e POSTGRES_USER=todo -e POSTGRES_PASSWORD=todo -e POSTGRES_DB=tododb -p 5432:5432 postgres:14
```To run as Spring Boot:
```
./mvnw clean spring-boot:run
```To run as Quarkus:
```
./.mvnw clean spring-boot:run
```