Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
project
src
Dockerfile
README.md
build.sbt
sbt

README.md

Another News Feed Microservice in Scala

Like feed2, this microservice implements the news feed requirements in Scala. This time, using type classes and scalatra instead of the Cake Pattern and Finatra.

Overview

You can read more about this project here.

http://glennengstrand.info/software/architecture/scala/rewrite

The API and model packages of the server was generated by the swagger-codegen project. By using the OpenAPI-Spec project.

Building the Project

This is how you can build the project.

export TEST_MODE=true
sbt
compile
test
assembly
exit
docker build -t feed6:1.0 .

Running the Microservice

The best approach here is most likely using Kubernetes

cd ../k8s
kubectl create -f feed6-deployment.yaml