{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/badgeyay/issues/1810","repository_url":"https://api.github.com/repos/fossasia/badgeyay","labels_url":"https://api.github.com/repos/fossasia/badgeyay/issues/1810/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/badgeyay/issues/1810/comments","events_url":"https://api.github.com/repos/fossasia/badgeyay/issues/1810/events","html_url":"https://github.com/fossasia/badgeyay/issues/1810","id":370444427,"node_id":"MDU6SXNzdWUzNzA0NDQ0Mjc=","number":1810,"title":"use envparse or other utility like in open-event instead of harcoded variables.","user":{"login":"rupav","id":20624380,"node_id":"MDQ6VXNlcjIwNjI0Mzgw","avatar_url":"https://avatars0.githubusercontent.com/u/20624380?v=4","gravatar_id":"","url":"https://api.github.com/users/rupav","html_url":"https://github.com/rupav","followers_url":"https://api.github.com/users/rupav/followers","following_url":"https://api.github.com/users/rupav/following{/other_user}","gists_url":"https://api.github.com/users/rupav/gists{/gist_id}","starred_url":"https://api.github.com/users/rupav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rupav/subscriptions","organizations_url":"https://api.github.com/users/rupav/orgs","repos_url":"https://api.github.com/users/rupav/repos","events_url":"https://api.github.com/users/rupav/events{/privacy}","received_events_url":"https://api.github.com/users/rupav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-16T05:25:32Z","updated_at":"2018-10-18T06:31:01Z","closed_at":null,"author_association":"MEMBER","body":"**I'm submitting a ...**\r\n- [ ] bug report\r\n- [x] feature request\r\n\r\n**Current behaviour:**\r\n<!-- How the bug manifests. -->\r\nCurrently before sending a PR, I have to switch back to `ENV=PROD` from `LOCAL`, making it hard for the development process. This can be cumbersome, if other variables are too set this way for my local setup, and needs to be reverted back to original for sending the PR.\r\n\r\n**Expected behaviour:**\r\n<!-- Behaviour would be without the bug. -->\r\nThis can be avoided, if we use [envparse](https://github.com/rconradharris/envparse) to parse the environement variables. This way it will fetch the env variable that I have set locally on my PC, instead in the project. This is also a good practice as per one of the 12 principles of `12 factors app`.\r\n\r\n@yashLadha @gabru-md @ParthS007 your views on this?\r\n\r\n_I would like to work on this._"},"comment":{"url":"https://api.github.com/repos/fossasia/badgeyay/issues/comments/430890893","html_url":"https://github.com/fossasia/badgeyay/issues/1810#issuecomment-430890893","issue_url":"https://api.github.com/repos/fossasia/badgeyay/issues/1810","id":430890893,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDg5MDg5Mw==","user":{"login":"gabru-md","id":25414121,"node_id":"MDQ6VXNlcjI1NDE0MTIx","avatar_url":"https://avatars1.githubusercontent.com/u/25414121?v=4","gravatar_id":"","url":"https://api.github.com/users/gabru-md","html_url":"https://github.com/gabru-md","followers_url":"https://api.github.com/users/gabru-md/followers","following_url":"https://api.github.com/users/gabru-md/following{/other_user}","gists_url":"https://api.github.com/users/gabru-md/gists{/gist_id}","starred_url":"https://api.github.com/users/gabru-md/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabru-md/subscriptions","organizations_url":"https://api.github.com/users/gabru-md/orgs","repos_url":"https://api.github.com/users/gabru-md/repos","events_url":"https://api.github.com/users/gabru-md/events{/privacy}","received_events_url":"https://api.github.com/users/gabru-md/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T06:31:01Z","updated_at":"2018-10-18T06:31:01Z","author_association":"MEMBER","body":"@rupav the issue is a certain solid one. You can proceed with it and create a PR\r\ncheers!"}}
{"actor":{"display_login":"gabru-md"}}