Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 998 Bytes

File metadata and controls

42 lines (32 loc) · 998 Bytes

Services made with Spring

calculator

really simple calculator using spring REST and Docker

Requirements

  • Java 8
  • Maven 3.3.9
  • STS (optional)

Usage

STS:

Docker :

  • Docker build -rm -t imagename .
  • Docker run -p 8081:8081 imagename
  • visit http://{docker-machine ip}:8081/add/2/3

Todo service

Requirements

  • Same than the calculator
  • mongodb

Usage

STS:

Mongo DB

  • Build a mongo container: docker build db/
  • Run the container: docker run -p 27017:27017 --name mongo_dev_instance -d mongo
  • Change the host and port to point to that container in application.properties