Simple Angular + ngrx + Spark + MongoDB powered newsfeed system
$ export NEWSFEED_DB=<<MongoDB URI>>
$ cd simple-newsfeed-backend
$ mvn package && java -jar target/simple_newsfeed_server-jar-with-dependencies.jar
Open your browser and navigate to "localhost:4567".
Provision MongoDB. (I recommend using docker to quickly fire up an instance. Alternatively, any local instance would work too.)
$ docker run --name newsfeeddb -p 27017:27017 mongo
Build angular application. (Angular CLI definitions (.angular-cli.json) will put the compiled application at the correct level for the backend server to access it along with other resources.)
$ cd simple-newsfeed-app && ng build && cd ..
Build backend and run server.
$ export NEWSFEED_DB=<<MongoDB URI>>
$ cd simple-newsfeed-backend && mvn package && java -jar target/simple_newsfeed_server-jar-with-dependencies.jar