An example of a RESTful service packaged in a Docker container
- Clone the repo or download the zip file to a workstation with Docker installed on it.
- Navigate to the root of the project
- Run:
./buildandstart.sh
or use the Alternative Build - With a web browser go to http://localhost:8080/swagger-ui.html#/
- Use the swagger ui to learn the API of the employee service
- With a web browser or REST client go to http://localhost:8080/v1/employees/
- At the login prompt user = 'admin', password = 'secret'
- Use the API as described
- When done run
./stop.sh
to shutdown the service. - After making changes to the code or configuration then rebuild and restart the service:
./rebuild.sh
- Install Java 8
- Install Maven 2
- navigate to the
kenmployee
subdirectorycd kenployee
java -jar target/kenployee-1.0-SNAPSHOT.jar
5.follow steps 4-8 under User Guide