Skip to content

exxcellent/microservice-currency-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency-Service

This service is one of the backend services used for a showcase for a microservice architecture. The other services are language-service and country-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=5007

Packaging and running the application

The application is packageable using mvn package. It produces the executable currency-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/currency-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-currency-service .

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published