Skip to content

rvgurijala/simple-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#simple rest api by using spring boot

#run Maven package

$ mvn package

docker build

go to project folder
$ docker-compose build

docker up

go to project folder
$ docker-compose up

Application will start on port 9090

Sample endpoints:

GET: http://localhost:9090/api/v1/persons/1 -- get person
POST: http://localhost:9090/api/v1/persons -- create person
PUT: http://localhost:9090/api/v1/persons/1 -- update person
DELETE: http://localhost:9090/api/v1/persons/1 -- DELETE person

About

simple-rest-api by using spring boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published