I'm building this app to gain a better understanding of AngularJS (v1). I started by following J. Cole Morrison's guide for configuring Angular within a Rails app. Then I copied over some very basic Angular code from a previous project to list posts and enable voting.
- refactor the pre-existing front-end logic into Angular services and directives
- practice setting up Rails API endpoints
- learn how to integrate external API's with Angular
- practice Angular user auth
- practice Bootstrap and general front-end
- Clone the repo to your computer.
- Run
bundler install
from your terminal. - Run
rake db:create & rake db:migrate
. - (optional) Run
rake db:seed
if you want to populate with sample data. - Run
rails server
. - Go to
http://localhost:3000/
in your browser.
- Ruby
- Rails
- postgres
- npm (? think this is handled by gem but need to test)