Coder Social home page Coder Social logo

mfmetro / warehouse-deliveryservice Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 50 KB

External service to be used in the CODE University Warehouse System project to report finished order fulfillments.

License: BSD 3-Clause "New" or "Revised" License

Shell 41.83% Batchfile 31.09% Java 27.09%

warehouse-deliveryservice's Introduction

Warehouse System - DeliveryService

External service to be used in the CODE University Warehouse System project for reporting order fulfillment. Communicates with warehouse-orderservice to check if an order actually exists.

Running the Service

In order to start up the DeliveryService, you need to checkout this repository, build the application, and build the docker image.

# checkout repository
$ git clone https://github.com/mfmetro/warehouse-deliveryservice.git

# build the application
$ cd warehouse-deliveryservice
$ mvn package

# build the Docker image
docker build . -t="metro/deliveryservice"

You are then able to start the metro/deliveryservice image.

# start the image
$ docker run -d -p 8082:8082 metro/deliveryservice

# use docker ps to find out your container's id
$ docker ps
CONTAINER ID        IMAGE                   COMMAND                  CREATED             STATUS              PORTS                     NAMES
1a06b1c64d3e        metro/deliveryservice   "/bin/sh -c 'java -jā€¦"   2 minutes ago       Up 2 minutes        0.0.0.0:8082->8082/tcp   eager_davinci

# show logs
$ docker logs 1a06

As soon as the container is running, you can access the Swagger UI for the DeliveryService via http://localhost:8082/swagger-ui.html in your browser.

# stop container
$ docker stop 1a06

warehouse-deliveryservice's People

Stargazers

Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.