Skip to content

API RestFul Spring Boot 3 with Model Relation One-To-Many

Notifications You must be signed in to change notification settings

read424/spring-boot-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API RestFul Spring-Boot 3

GitHub Maven Central GitHub Release Date

Setup

Java Version

The current release supports Java 8+.

Add a dependency to project

If you're using Maven, then edit your project's "pom.xml" and add this to the <dependencies> section:

<dependency>
  <groupId>org.postgresql</groupId>
  <artifactId>postgresql</artifactId>
  <scope>runtime</scope>
</dependency>
<dependency>
  <groupId>org.projectlombok</groupId>
  <artifactId>lombok</artifactId>
  <optional>true</optional>
</dependency>

create container docker postgresql

We will create a container to run our postgresql database engine.

docker run --name some-postgres -e POSTGRES_PASSWORD=postgres  -e POSTGRES_USER=postgres -e POSTGRES_DB=db_countries -d postgres:alpine3.18

About

API RestFul Spring Boot 3 with Model Relation One-To-Many

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages