HomeLibrary Seed Project
This repository is the starting point for much of the work in the book Angular for Rails Developers.
The app doesn't do anything but it's a solid starting point. All the test pass and the code is clean.
If you load the app in your browser, you'll simply see "app works!". If you want the Angular app to actually retrieve data from Rails, you can follow something like my Angular 2 HTTP Example post, although of course using this HomeLibrary project instead of AuthorWizard.
$ git clone email@example.com:jasonswett/home-library-seed.git $ bundle install $ rails db:setup $ cd client $ npm install
Running the project
$ rails server
$ cd client $ npm start
http://localhost:4200/ in the browser.
Running the tests
All tests should be passing.
$ cd client $ ng test
$ heroku buildpacks:add https://github.com/jasonswett/heroku-buildpack-nodejs $ heroku buildpacks:add heroku/ruby $ git push heroku master