I recently took the sample PDF Forms Service I built for Dreamforce 2014 and have made it available via GitHub and the Heroku Deploy button.
The Heroku Deploy button is pretty slick. It will automatically provision an App on Heroku for you with a click of the button!
So know you can not only look at my source code on GitHub, but you can also instantly spin up the Form Service Sample App on your own Heroku account! With just a click of a button!
Here is the Simple REST PDF Form Service Heroku Deploy Button! Go forth and build!
If you have question on how the actual Form Service works check out my session from
Dreamforce 2014 here: