A Jersey REST service for serving up Little Printer publications on Google App Engine
The service offers a data model and framework for implementing publications on BERG Cloud's Little Printer. An example of how to implement a publication is included. The example uses the Rotten Tomatoes API to serve up a publication of movies that are opening this week in the subscriber's country. The service uses the Velocity template engine to render the publication.
You can easily deploy the service on Google App Engine using Maven. To try it out, just clone this repo and do the following:
- Download Apache Maven if you don't have it installed already. I'm using version 3.0.5.
- Get a Rotten Tomatoes API key. Edit
src/main/resources/service.propertiesand paste in your API key.
mvn appengine:devserverto run the server in local dev mode. In your browser, hit http://localhost:8080/opening-movies/edition?country=us to get a sample of the publication.
- If you like, run
mvn appengine:updateto deploy to Google App Engine.