Public | Automated Build

Last pushed: a year ago
Short Description
spring microservices
Full Description

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
Docker Pull Command
Owner
ernespn
Source Repository