Code Monkey home page Code Monkey logo

kenployees's Introduction

Kenployees

An example of a RESTful service packaged in a Docker container

User Guide

  1. Clone the repo or download the zip file to a workstation with Docker installed on it.
  2. Navigate to the root of the project
  3. Run: ./buildandstart.sh or use the Alternative Build
  4. With a web browser go to http://localhost:8080/swagger-ui.html#/
  5. Use the swagger ui to learn the API of the employee service
  6. With a web browser or REST client go to http://localhost:8080/v1/employees/
  7. At the login prompt user = 'admin', password = 'secret'
  8. Use the API as described
  9. When done run ./stop.sh to shutdown the service.
  10. After making changes to the code or configuration then rebuild and restart the service: ./rebuild.sh

Alternative Build

  1. Install Java 8
  2. Install Maven 2
  3. navigate to the kenmployee subdirectory cd kenployee
  4. java -jar target/kenployee-1.0-SNAPSHOT.jar 5.follow steps 4-8 under User Guide

kenployees's People

Contributors

ajschmidt avatar

Watchers

James Cloos avatar  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.