Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
}

```