This service is a demonstration of moving from a monolithic code base to a more microservices based architecture.
This is paired up with the repo: http://github.com/r3adm3/multiservice
Compiling in Development
Clone the repo. Ensure .Net Core 2 is installed.
Test should be able to be run using a browser, and going to http://localhost:5000
Making a docker image
Included in the project is a Dockerfile which will create a docker image artifact, change into the source code directory and type:
docker build -t mysvc/monolith:v1 .
To run a container of this image:
docker container run --name test_monolith -p 18080:80 mysvc/monolith:v1
Test should be able to be run using a browser, and going to http://localhost:18080