learie / angular-rails-spa-demo

Demo of AngularJS SPA web app using JSON API served by Ruby on Rails back end.

Home Page:https://calories-app.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The demo application is deployed at http://calories-app.herokuapp.com

Stack

  • Ruby on Rails for REST API
  • AngularJS client
  • PostgreSQL
  • Tests with rspec, capybara and selenium

Development setup

rake db:create
rake db:migrate
rails server

Tests

API request specs

rake spec:requests

Integration tests

rake spec:features

Deployment to Heroku

Setup

heroku create
heroku run rake db:migrate

Deployment

git push heroku master

About

Demo of AngularJS SPA web app using JSON API served by Ruby on Rails back end.

https://calories-app.herokuapp.com


Languages

Language:Ruby 66.6%Language:HTML 27.2%Language:CoffeeScript 5.0%Language:JavaScript 0.9%Language:CSS 0.4%