Skip to content

marconvcm/highlander-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highlander Server

Backend code to support highlander-app

Technologies

  • Docker
  • Kotlin 1.2
  • SpringBoot
  • H2 inMemory Database

How To Run

As Highlander server is a SpringBoot application you can find bellow both ways which was tested.

Using gradle

Make sure you have at minimum jdk8 installed in your system

./gradlew bootRun

Using docker

As highlander-server is an SpringBoot app we should generate jar file before build our docker image, to do that, use follow command

./gradlew bootRepackage

Then we can build our image using

docker build . -t highlander_server:1.0

So, now your have highlander_server image in your docker image catalog, so you can run it using

docker run -p 8080:8080 --name some_highlander highlander_server:1.0

Test

To check if your application is running you may use CURL to get health infomartion

 curl -s http://localhost:8080/healthcheck

About

Backend code to support highlander-app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages