{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/comments/70721439","id":70721439,"diff_hunk":"@@ -1,25 +1,57 @@\n-# User Authentication\n-In our Angular app, Check out to the custom-directive-solution branch to get started\n+# :fire: WDI Radio :fire:\n \n-We need to also do some configuring to the wdi_radio_api back-end to allow token based auth through devise.\n-To get started, clone down or switch over to the latest version of wdi_radio_api, then checkout to the devise-token-authentication branch\n-Make sure to bundle instal, rake db:setup, and then start your server on localhost:3000\n+> View deployed solution [here](https://wdi-radio.firebaseapp.com/)\n \n-Back in angular app, checkout to a new branch and start to implement user auth\n+Please fork this repo. By 9:00am Friday, submit your work as a **pull request**.\n \n-Make sure to load appropriate CDNs in index.html\n+## User Stories\n \n-Create a directory for users\n+- As a user, when I go to the app's root url, we should see a welcome page.\n+- As a user, when I visit \"/songs\", I should be able to see all of the songs in my database.\n+- **Bonus**: As a user, when we click on a song it starts playing. The world is a better place\n \n-In app, JS load the ng-token-auth dependency to you module\n+## Setup\n \n-Write a config component and appropriate AuthFunction to use $authProvider in order to configure the proper api url\n+> What follows are not explicit steps. Just guidelines to approach building out this Angular application.\n \n-Inside the RouterFunction, define routes and appropriate actions for the states: signup, signin, and logout.\n+### Angular Setup\n \n-Create a Sessions controller\n+- Create a main directory for your `wdi_radio` application.\n+- Create an `index.html` in your application's main directory.\n+- Make sure to load in any appropriate libraries\n+- Create a skeleton for your content and include all dependencies.\n+- Create the main `app.js` file and create the module for this angular app.\n+- Create a module that defines songs.\n \n-Create an auth_nav custom directive and html template files.\n+### Firebase Setup\n \n+- Create a new project in the [Firebase console](https://console.firebase.google.com/)\n+- When prompted, make sure to choose the right most option: \"Add Firebase to your web app\".\n+- After selecting the option, you should see a notification with a code snippet that contains your application's configuration credentials.\n+- Make sure to include that snippet in your app's main `index.html` before any of your `js` files\n \n-Make sure to link them in the main view as an element.\n+### Initialize a Router\n+\n+- Configure your app's routing in the `app.js`.\n+- Add a state for the routes `/` and `/songs`.\n+- Create templates for these routes.\n+\n+### Define a Controller\n+\n+- Create a controller file and define a controller to handle songs.\n+- Access the data from firebase and save it as a property on the controller\n+\n+### Build Views\n+\n+- Use data attached to your view model to display a list of all songs\n+\n+### Bonus\n+\n+- Full CRUD for Songs","path":"readme.md","position":64,"original_position":64,"commit_id":"2f9943fd2f711b120d282eca6029ab41f3a8d763","original_commit_id":"2f9943fd2f711b120d282eca6029ab41f3a8d763","user":{"login":"jshawl","id":3824954,"avatar_url":"https://avatars.githubusercontent.com/u/3824954?v=3","gravatar_id":"","url":"https://api.github.com/users/jshawl","html_url":"https://github.com/jshawl","followers_url":"https://api.github.com/users/jshawl/followers","following_url":"https://api.github.com/users/jshawl/following{/other_user}","gists_url":"https://api.github.com/users/jshawl/gists{/gist_id}","starred_url":"https://api.github.com/users/jshawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshawl/subscriptions","organizations_url":"https://api.github.com/users/jshawl/orgs","repos_url":"https://api.github.com/users/jshawl/repos","events_url":"https://api.github.com/users/jshawl/events{/privacy}","received_events_url":"https://api.github.com/users/jshawl/received_events","type":"User","site_admin":false},"body":"deploy","created_at":"2016-07-13T22:38:39Z","updated_at":"2016-07-13T22:38:39Z","html_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab/pull/90#discussion_r70721439","pull_request_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/comments/70721439"},"html":{"href":"https://github.com/ga-wdi-exercises/wdi_radio_lab/pull/90#discussion_r70721439"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90","id":77053294,"html_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab/pull/90","diff_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab/pull/90.diff","patch_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab/pull/90.patch","issue_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/90","number":90,"state":"open","locked":false,"title":"Firebase","user":{"login":"nolds9","id":10698044,"avatar_url":"https://avatars.githubusercontent.com/u/10698044?v=3","gravatar_id":"","url":"https://api.github.com/users/nolds9","html_url":"https://github.com/nolds9","followers_url":"https://api.github.com/users/nolds9/followers","following_url":"https://api.github.com/users/nolds9/following{/other_user}","gists_url":"https://api.github.com/users/nolds9/gists{/gist_id}","starred_url":"https://api.github.com/users/nolds9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolds9/subscriptions","organizations_url":"https://api.github.com/users/nolds9/orgs","repos_url":"https://api.github.com/users/nolds9/repos","events_url":"https://api.github.com/users/nolds9/events{/privacy}","received_events_url":"https://api.github.com/users/nolds9/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-12T02:39:56Z","updated_at":"2016-07-13T22:38:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7f340bb15b888447859c4a750c904dad4a2aae1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/90/comments","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/statuses/2f9943fd2f711b120d282eca6029ab41f3a8d763","head":{"label":"ga-wdi-exercises:firebase","ref":"firebase","sha":"2f9943fd2f711b120d282eca6029ab41f3a8d763","user":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":47831187,"name":"wdi_radio_lab","full_name":"ga-wdi-exercises/wdi_radio_lab","owner":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab","description":"[rails,angular]","fork":false,"url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab","forks_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/forks","keys_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/teams","hooks_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/events","assignees_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/tags","blobs_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/subscription","commits_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/merges","archive_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/downloads","issues_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/deployments","created_at":"2015-12-11T14:32:38Z","updated_at":"2016-03-30T19:11:26Z","pushed_at":"2016-07-13T22:06:10Z","git_url":"git://github.com/ga-wdi-exercises/wdi_radio_lab.git","ssh_url":"git@github.com:ga-wdi-exercises/wdi_radio_lab.git","clone_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab.git","svn_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab","homepage":"https://ga-wdi-exercises.github.io/wdi_radio_lab","size":6529,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":87,"mirror_url":null,"open_issues_count":2,"forks":87,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"ga-wdi-exercises:solution","ref":"solution","sha":"72e5ffd1dc59a552309e0fa97c5bcd45646834ce","user":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"repo":{"id":47831187,"name":"wdi_radio_lab","full_name":"ga-wdi-exercises/wdi_radio_lab","owner":{"login":"ga-wdi-exercises","id":16946328,"avatar_url":"https://avatars.githubusercontent.com/u/16946328?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-exercises","html_url":"https://github.com/ga-wdi-exercises","followers_url":"https://api.github.com/users/ga-wdi-exercises/followers","following_url":"https://api.github.com/users/ga-wdi-exercises/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-exercises/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-exercises/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-exercises/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-exercises/orgs","repos_url":"https://api.github.com/users/ga-wdi-exercises/repos","events_url":"https://api.github.com/users/ga-wdi-exercises/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-exercises/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab","description":"[rails,angular]","fork":false,"url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab","forks_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/forks","keys_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/teams","hooks_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/events","assignees_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/tags","blobs_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/subscription","commits_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/merges","archive_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/downloads","issues_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/releases{/id}","deployments_url":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/deployments","created_at":"2015-12-11T14:32:38Z","updated_at":"2016-03-30T19:11:26Z","pushed_at":"2016-07-13T22:06:10Z","git_url":"git://github.com/ga-wdi-exercises/wdi_radio_lab.git","ssh_url":"git@github.com:ga-wdi-exercises/wdi_radio_lab.git","clone_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab.git","svn_url":"https://github.com/ga-wdi-exercises/wdi_radio_lab","homepage":"https://ga-wdi-exercises.github.io/wdi_radio_lab","size":6529,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":87,"mirror_url":null,"open_issues_count":2,"forks":87,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90"},"html":{"href":"https://github.com/ga-wdi-exercises/wdi_radio_lab/pull/90"},"issue":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/90"},"comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-exercises/wdi_radio_lab/statuses/2f9943fd2f711b120d282eca6029ab41f3a8d763"}}}}
{"actor":{"display_login":"jshawl"}}