{"action":"created","issue":{"url":"https://api.github.com/repos/storybooks/storybook/issues/3107","repository_url":"https://api.github.com/repos/storybooks/storybook","labels_url":"https://api.github.com/repos/storybooks/storybook/issues/3107/labels{/name}","comments_url":"https://api.github.com/repos/storybooks/storybook/issues/3107/comments","events_url":"https://api.github.com/repos/storybooks/storybook/issues/3107/events","html_url":"https://github.com/storybooks/storybook/issues/3107","id":300622408,"number":3107,"title":"[Question] Is it possible to dynamically generate stories from data fetched from DB","user":{"login":"aviramga","id":4211506,"avatar_url":"https://avatars2.githubusercontent.com/u/4211506?v=4","gravatar_id":"","url":"https://api.github.com/users/aviramga","html_url":"https://github.com/aviramga","followers_url":"https://api.github.com/users/aviramga/followers","following_url":"https://api.github.com/users/aviramga/following{/other_user}","gists_url":"https://api.github.com/users/aviramga/gists{/gist_id}","starred_url":"https://api.github.com/users/aviramga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviramga/subscriptions","organizations_url":"https://api.github.com/users/aviramga/orgs","repos_url":"https://api.github.com/users/aviramga/repos","events_url":"https://api.github.com/users/aviramga/events{/privacy}","received_events_url":"https://api.github.com/users/aviramga/received_events","type":"User","site_admin":false},"labels":[{"id":343576456,"url":"https://api.github.com/repos/storybooks/storybook/labels/feature%20request","name":"feature request","color":"9B58D8","default":false},{"id":343576459,"url":"https://api.github.com/repos/storybooks/storybook/labels/question%20/%20support","name":"question / support","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-27T13:08:11Z","updated_at":"2018-03-03T21:51:47Z","closed_at":null,"author_association":"NONE","body":"### Question\r\nI have set of config files that define pages that are stored remotely in a db. I would like to generate a story for each config when running my tests. \r\nIs it possible to fetch the data remotely and then run the tests according to the data fetched from the DB? The amount of stories will be dynamic according to the amount of entries stored in the DB \r\n\r\n### Please specify which version of Storybook and optionally any affected addons that you're running\r\n\r\n- @storybook/react lastest\r\n"},"comment":{"url":"https://api.github.com/repos/storybooks/storybook/issues/comments/370182689","html_url":"https://github.com/storybooks/storybook/issues/3107#issuecomment-370182689","issue_url":"https://api.github.com/repos/storybooks/storybook/issues/3107","id":370182689,"user":{"login":"aviramga","id":4211506,"avatar_url":"https://avatars2.githubusercontent.com/u/4211506?v=4","gravatar_id":"","url":"https://api.github.com/users/aviramga","html_url":"https://github.com/aviramga","followers_url":"https://api.github.com/users/aviramga/followers","following_url":"https://api.github.com/users/aviramga/following{/other_user}","gists_url":"https://api.github.com/users/aviramga/gists{/gist_id}","starred_url":"https://api.github.com/users/aviramga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviramga/subscriptions","organizations_url":"https://api.github.com/users/aviramga/orgs","repos_url":"https://api.github.com/users/aviramga/repos","events_url":"https://api.github.com/users/aviramga/events{/privacy}","received_events_url":"https://api.github.com/users/aviramga/received_events","type":"User","site_admin":false},"created_at":"2018-03-03T21:51:47Z","updated_at":"2018-03-03T21:51:47Z","author_association":"NONE","body":"Thanks @Hypnosphi ! managed to get this working with start-storybook! \r\nIs there a way to make this magic happen with build-storybook as well?"}}
{"actor":{"display_login":"aviramga"}}