Skip to content

UdaykiranMarupati/spring-boot-starter-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Starter Practice Application

Getting started

Need gradle to build and run the application.

This project uses in memory database(h2) to test the Spring data features including specifications.

This project also uses spring data specifications features to execute custom queries with conditions.

Build:

.after cloning the project to local machine execute below commands to run the application.

$ cd /spring-boot-starter-project
$ ./gradlew clean build bootrun

this might take couple of minutes if the gradle is not already installed, it will download all the dependencies and then build the application. Once the application is build and started then application can be tested using the below URL:

http://localhost:8080/sum

CURL command to test the application from terminal.

CURL COMMAND : curl -X POST \
  http://localhost:8080/sum \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{
  "element1":10,
  "element2":20
}'

About

Springboot starter application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages