Skip to content

exxcellent/microservice-country-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Country-Service

This service is one of the backend services used for a showcase for a microservice architecture. The other services are language-service and currency-service. The showcase is part of a guest lecture at the University Stuttgart. The documents to the lecture can be found here.

This project uses Quarkus, the Supersonic Subatomic Java Framework.

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

mvn package quarkus:dev -Ddebug=5005

Packaging and running the application

The application is packageable using mvn package. It produces the executable country-service-1.0.0-SNAPSHOT-runner.jar file in /target directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/lib directory.

The application is now runnable using java -jar target/country-service-1.0.0-SNAPSHOT-runner.jar.

Creating a docker image

The application can be provided as docker image by building the image with docker build --no-cache -t exxcellent/cps-country-service .

The application can then be started with the command docker run -i --rm -p 8080:8080 exxcellent/cps-country-service and is available on localhost:8080.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published