#Single Page App using Polymer, Sinatra and Postgres
A template for a trivial single page app using Polymer core components for the front end (as outlined here: Polymer SPA ) Sinatra as the DSL and Postgres as the db.
##Note: Currently under heavy development...
##Installation
I'm still figuring out the best way to do this so everything's up in the air right now. Will come back to this readme with installation instructions when I figure it out.
You'll need:
- Ruby (2.0 or greater) installing Ruby
- Sinatra installing Sinatra
- Also a good idea to use the Thin webserver installing Thin
- Postgresql installing Postgres
- Polymer 0.5 installing Polymer
Note: will update to Polymer 0.8 when the components become avaliable.
Once everything's installed, run:
createdb polymer-sinatra-spa
To create your postgres database.
To test that it's working, run:
psql polymer-sinatra-spa
If you get a psql prompt it should be all good.