Jersey REST service for serving up Little Printer publications on Google App Engine
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
LICENSE
README.md
pom.xml

README.md

little-printer-service

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:

  1. Download Apache Maven if you don't have it installed already. I'm using version 3.0.5.
  2. Get a Rotten Tomatoes API key. Edit src/main/resources/service.properties and paste in your API key.
  3. Run mvn appengine:devserver to 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.
  4. If you like, run mvn appengine:update to deploy to Google App Engine.

That's it!