Skip to content

DanielMichalski/spring-boot-rest-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot + REST + JPA

Build Status CodeQL License: MIT

This project aims to present how to create a Spring Boot + REST + JPA Application

Libraries

  • Spring Boot 2
  • Spring Data Repositories
  • JPA (Hibernate)
  • H2 Database

Requirements

How to run application

On Windows

## Build application using Maven Wrapper
mvnw.cmd clean install

## Run Spring boot application using Maven Wrapper with embedded H2 database
mvnw.cmd spring-boot:run

On MacOS/ Linux

## Build application using Maven Wrapper
./mvnw clean install

## Run Spring boot application using Maven Wrapper with embedded H2 database
./mvnw spring-boot:run

Example API URL

http://localhost:8080/users

Video

See on YouTube

Screens

alt text

alt text