{"action":"created","issue":{"url":"https://api.github.com/repos/listen1/listen1_chrome_extension/issues/48","repository_url":"https://api.github.com/repos/listen1/listen1_chrome_extension","labels_url":"https://api.github.com/repos/listen1/listen1_chrome_extension/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/listen1/listen1_chrome_extension/issues/48/comments","events_url":"https://api.github.com/repos/listen1/listen1_chrome_extension/issues/48/events","html_url":"https://github.com/listen1/listen1_chrome_extension/issues/48","id":157804327,"number":48,"title":"Restructuring/rewriting the app","user":{"login":"richdho","id":3889338,"avatar_url":"https://avatars.githubusercontent.com/u/3889338?v=3","gravatar_id":"","url":"https://api.github.com/users/richdho","html_url":"https://github.com/richdho","followers_url":"https://api.github.com/users/richdho/followers","following_url":"https://api.github.com/users/richdho/following{/other_user}","gists_url":"https://api.github.com/users/richdho/gists{/gist_id}","starred_url":"https://api.github.com/users/richdho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richdho/subscriptions","organizations_url":"https://api.github.com/users/richdho/orgs","repos_url":"https://api.github.com/users/richdho/repos","events_url":"https://api.github.com/users/richdho/events{/privacy}","received_events_url":"https://api.github.com/users/richdho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-01T01:21:26Z","updated_at":"2016-06-01T06:56:15Z","closed_at":null,"body":"As what I said in #43, the purpose of restructuring/rewriting the app is to bring developers/contributors a more friendly development environment. There are tons of ways of doing things in Javascript/Angular today, and here are some of my thoughts:\r\n\r\nThe quick way(add some dev tools):\r\n\r\n- Keep the code base as what it is. \r\n- Add Unit testing(karma)\r\n- Add Live reloading(watch the code change and reload the browser automatically)\r\n\r\n\r\n\r\nThe time-consuming way(rewriting, a new repo may be required)\r\n\r\n- Restart the project with a yoemen generator by following this [style guide](https://github.com/johnpapa/angular-styleguide/blob/master/a1/README.md)\r\n- Follow TDD principle (Test-driven)\r\n- Rewrite the code according to the style guide\r\n- Unit testing, live reloading and build process are included in the generator\r\n\r\nAny suggestions are welcome.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/listen1/listen1_chrome_extension/issues/comments/222908905","html_url":"https://github.com/listen1/listen1_chrome_extension/issues/48#issuecomment-222908905","issue_url":"https://api.github.com/repos/listen1/listen1_chrome_extension/issues/48","id":222908905,"user":{"login":"junhan-z","id":5921660,"avatar_url":"https://avatars.githubusercontent.com/u/5921660?v=3","gravatar_id":"","url":"https://api.github.com/users/junhan-z","html_url":"https://github.com/junhan-z","followers_url":"https://api.github.com/users/junhan-z/followers","following_url":"https://api.github.com/users/junhan-z/following{/other_user}","gists_url":"https://api.github.com/users/junhan-z/gists{/gist_id}","starred_url":"https://api.github.com/users/junhan-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junhan-z/subscriptions","organizations_url":"https://api.github.com/users/junhan-z/orgs","repos_url":"https://api.github.com/users/junhan-z/repos","events_url":"https://api.github.com/users/junhan-z/events{/privacy}","received_events_url":"https://api.github.com/users/junhan-z/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T06:56:15Z","updated_at":"2016-06-01T06:56:15Z","body":"Nice! Will send more following PRs to contribute."}}
{"actor":{"display_login":"junhan-z"}}