This app is based on code developed for Devoxx Code Story 2013 edition.
Original repo: https://github.com/CodeStory/code-story-geektic
Build with mvn package
Run with java -Xmx512M -cp target/classes:target/dependency/* main.MainGeekticServer
You will need a MongoDB server running on localhost.
Here is the list of features this sample demonstrate:
This sample uses the simple framework support of restx, and as such does not require a servlet container.
This sample uses the restx-jongo module and demonstrates storing data in MongoDB, using jongo API to access mongo. It also demonstrates the integration of mongo in spec tests, setting the collections in the given section.
Although RESTX is not designed as a web framework, this sample demonstrates how RESTX routes can be used to serve other content than JSON, in this case static content, as well as coffeescript and less resources compiled on the fly.
Also not related to RESTX, this sample demonstrates how to use fluentlenium / phantomJS / ghost driver together to test the pages accessing the RESTX base REST API. The web UI itself is implemented using AngularJS.