{"action":"created","issue":{"url":"https://api.github.com/repos/idrdex/star_api/issues/12","labels_url":"https://api.github.com/repos/idrdex/star_api/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/idrdex/star_api/issues/12/comments","events_url":"https://api.github.com/repos/idrdex/star_api/issues/12/events","html_url":"https://github.com/idrdex/star_api/issues/12","id":123586342,"number":12,"title":"Remove db_conf.py","user":{"login":"dhimmel","id":1117703,"avatar_url":"https://avatars.githubusercontent.com/u/1117703?v=3","gravatar_id":"","url":"https://api.github.com/users/dhimmel","html_url":"https://github.com/dhimmel","followers_url":"https://api.github.com/users/dhimmel/followers","following_url":"https://api.github.com/users/dhimmel/following{/other_user}","gists_url":"https://api.github.com/users/dhimmel/gists{/gist_id}","starred_url":"https://api.github.com/users/dhimmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhimmel/subscriptions","organizations_url":"https://api.github.com/users/dhimmel/orgs","repos_url":"https://api.github.com/users/dhimmel/repos","events_url":"https://api.github.com/users/dhimmel/events{/privacy}","received_events_url":"https://api.github.com/users/dhimmel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-23T01:42:13Z","updated_at":"2015-12-23T10:55:34Z","closed_at":null,"body":"Would it make more sense to have the user provide the database configuration rather than having it hardcoded as a module?\r\n\r\n@Suor, if so what is the best way to go about accomplishing this?"},"comment":{"url":"https://api.github.com/repos/idrdex/star_api/issues/comments/166862407","html_url":"https://github.com/idrdex/star_api/issues/12#issuecomment-166862407","issue_url":"https://api.github.com/repos/idrdex/star_api/issues/12","id":166862407,"user":{"login":"Suor","id":284103,"avatar_url":"https://avatars.githubusercontent.com/u/284103?v=3","gravatar_id":"","url":"https://api.github.com/users/Suor","html_url":"https://github.com/Suor","followers_url":"https://api.github.com/users/Suor/followers","following_url":"https://api.github.com/users/Suor/following{/other_user}","gists_url":"https://api.github.com/users/Suor/gists{/gist_id}","starred_url":"https://api.github.com/users/Suor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Suor/subscriptions","organizations_url":"https://api.github.com/users/Suor/orgs","repos_url":"https://api.github.com/users/Suor/repos","events_url":"https://api.github.com/users/Suor/events{/privacy}","received_events_url":"https://api.github.com/users/Suor/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T10:55:34Z","updated_at":"2015-12-23T10:55:34Z","body":"We are going to remove db access anyway and replace it with API. All read access to API could go without authorization, so anyone could just fetch data and make their calculations. To write to server one will need an active login.\r\n\r\nThe best practice for this case is authenticate anyone when he requires access and store token, then use this token for all the requests. "}}