Skip to content

TableTopLtd/tt-menus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TableTop Menus microservice

Build Status

Prerequisites

docker run -d --name tt-menus-db -e POSTGRES_USER=dbuser -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=menu -p 5433:5432 postgres:latest

When developing

Run

mvn clean package

from repo root directory.

To run application local jar, run:

java -jar api/target/*.jar

Microservice finds database through ip

To test the service you should go to

http://localhost:8081/v1/menus

To see a list of all menus.

http://localhost:8081/v1/menus/1

To see the first one, etc.

Build docker image

docker build . -t tt-menus:X

[Optional] Define your own X

Run application in Docker

docker run -p 8081:8081 tt-menus:X

About

TableTop menus microservice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages