Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brucemelo/students-javalin

Java 21 + Javalin 6 + Hibernate 7
https://github.com/brucemelo/students-javalin

gradle hibernate java javalin

Last synced: 7 days ago
JSON representation

Java 21 + Javalin 6 + Hibernate 7

Awesome Lists containing this project

README

        

# Java 21 - Javalin 6 - Hibernate 7

## Requirements

- Java 21
- Docker (running)

## Tech stack

- Java 21
- Javalin 6
- Hibernate 7
- PostgreSQL
- Docker

## Test

```
###
POST http://localhost:8080/students
Content-Type: application/json

{
"name": "student1"
}

###
GET http://localhost:8080/students

###
POST http://localhost:8080/courses
Content-Type: application/json

{
"name": "course1"
}

###
GET http://localhost:8080/courses

###
POST http://localhost:8080/register
Content-Type: application/json

{
"idStudent": 1,
"idCourse": 1
}

```