Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.04 KB

readme.md

File metadata and controls

54 lines (34 loc) · 1.04 KB

Spring Boot Demo

This is a project in kotlin with spring boot with only one feature "Students".

It has the basics of all spring boot projects with JPA.

Controller, Service, Repository, Entity

I separated them by interfaces to maintain the domain decoupled.

API Entrypoints

Swagger

I added the swagger dependency so you can test the endpoints from the explorer in a easy way

Postman

I created a postman collection with examples in the root folder of the project, so you can import it and execute all of them.

The entry points are these:

How to start the project

With docker

  • Build it with
./gradlew bootJar
  • Execute the docker compose
docker compose up -d

The old way

  • Install postgresql
  • Create a db called student
  • Hit run on your favourite IDE

Ready to go!! 😎

The project should be running in http://localhost:8080/