Skip to content

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.

Notifications You must be signed in to change notification settings

braiso-22/springbootdemo

Repository files navigation

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/

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published