Skip to content

msimko81/microservices-backend

Repository files navigation

Backend application

Endpoints

There are three simple endpoints.

Info

curl --location --request GET 'localhost:8080/info'

List

curl --location --request GET 'localhost:8080/list'

Save

curl --location --request POST 'localhost:8080/save' \
--form 'name=miro'

Local build and run

Build using local installation of gradle

gradle build

Build using gradle wrapper

./gradlew build

Run application

java -jar build/libs/microservices-backend-0.0.1-SNAPSHOT.jar

Docker build and run

Build docker image with backend application using two stage docker build

DOCKER_BUILDKIT=1 docker build -t simko/microservices-backend .

Run backend application in docker container

docker run -it simko/microservices-backend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published