Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brucemelo/students-quarkus-kotlin
Quarkus 3.9 + Kotlin + Hibernate ORM
https://github.com/brucemelo/students-quarkus-kotlin
hibernate java jpa kotlin postgresql quarkus
Last synced: 14 days ago
JSON representation
Quarkus 3.9 + Kotlin + Hibernate ORM
- Host: GitHub
- URL: https://github.com/brucemelo/students-quarkus-kotlin
- Owner: brucemelo
- License: mit
- Created: 2024-04-18T01:45:44.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-23T00:29:46.000Z (9 months ago)
- Last Synced: 2024-11-16T13:15:40.168Z (3 months ago)
- Topics: hibernate, java, jpa, kotlin, postgresql, quarkus
- Language: Kotlin
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java 21 - Quarkus 3.9 - Kotlin - Hibernate
## Requirements
- Java 21
- Docker (running)## Tech stack
- Kotlin
- Quarkus 3.9
- Hibernate
- PostgreSQL
- Docker## Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```shell script
./gradlew quarkusDev
```> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
## Test
```
###
POST http://localhost:8080/api/students
Content-Type: application/json{
"name": "student1"
}###
GET http://localhost:8080/api/students###
POST http://localhost:8080/api/courses
Content-Type: application/json{
"name": "course1"
}###
GET http://localhost:8080/api/courses###
POST http://localhost:8080/api/register-students
Content-Type: application/json{
"idStudent": 1,
"idCourse": 1
}```