Very simple grape + cors services for accepting user comments.
Set up and start postgres
rake db:create
rake db:migrate
rackup
curl http://localhost:9292/comments/asdasdasdsad
=> []
curl -X POST -H 'Content-Type: application/json' -d '{"comment":{"slug":"asdasdasdsad", "name":"David Jones","email":"[email protected]","body":"this is my message"}}' http://localhost:9292/comments/create
git clone git://github.com/markryall/feedme.git
export APP_NAME=<your_favourite_app_name>
heroku apps:create $APP_NAME
heroku addons:add heroku-postgresql:dev
heroku pg:promote HEROKU_POSTGRESQL_BRONZE_URL
git push heroku master
- nothing - this is just perfect the way it is