Skip to content

Simple Angular + ngrx + Spark + MongoDB powered newsfeed system

License

Notifications You must be signed in to change notification settings

cyberbeast/simple-newsfeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-newsfeed

Simple Angular + ngrx + Spark + MongoDB powered newsfeed system

Architecture Diagram

Screencast

Run Instructions

$ 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".

Build Instructions

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

About

Simple Angular + ngrx + Spark + MongoDB powered newsfeed system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages