{"action":"closed","issue":{"url":"https://api.github.com/repos/distilagency/starward/issues/90","repository_url":"https://api.github.com/repos/distilagency/starward","labels_url":"https://api.github.com/repos/distilagency/starward/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/distilagency/starward/issues/90/comments","events_url":"https://api.github.com/repos/distilagency/starward/issues/90/events","html_url":"https://github.com/distilagency/starward/issues/90","id":269865346,"node_id":"MDU6SXNzdWUyNjk4NjUzNDY=","number":90,"title":"Split Starward into Proxy and Front end","user":{"login":"falconmick","id":713449,"node_id":"MDQ6VXNlcjcxMzQ0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/713449?v=4","gravatar_id":"","url":"https://api.github.com/users/falconmick","html_url":"https://github.com/falconmick","followers_url":"https://api.github.com/users/falconmick/followers","following_url":"https://api.github.com/users/falconmick/following{/other_user}","gists_url":"https://api.github.com/users/falconmick/gists{/gist_id}","starred_url":"https://api.github.com/users/falconmick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falconmick/subscriptions","organizations_url":"https://api.github.com/users/falconmick/orgs","repos_url":"https://api.github.com/users/falconmick/repos","events_url":"https://api.github.com/users/falconmick/events{/privacy}","received_events_url":"https://api.github.com/users/falconmick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T07:51:33Z","updated_at":"2018-08-20T00:59:08Z","closed_at":"2018-08-20T00:59:08Z","author_association":"COLLABORATOR","body":"With the upcoming GraphQL changes, the ability to query the exact data you need is now a thing.\r\n\r\nIf we were to split the Proxy part of Starward into an express app (i.e. you include all of it via initProxy(app) inside of server/index.js) we could still have the benifits of hosting the SSR and Proxy in the same services with the added benifit to be able to split them apart.\r\n\r\nBenefits:\r\n1. Better scaling.\r\n2. Ability to use Starward purely for an App\r\n\r\nThe second benefit is in my opinion the real show winner, imagine if you were building an app and needed to have some pages/forms that were dynamically generated by Wordpress!\r\n\r\nTo achieve this we would probably need to create the following project setups:\r\n\r\ndistilagency/starward -> two folders, 1st being the proxy and the second being react front end\r\ndistilagency/starward_proxy -> Apollo GraphQL WP Proxy\r\ndistilagency/starward_react -> Starward SSR GraphQL React Front end\r\ndistilagency/starward_react_native -> React Native boilderplate with Apollo GraphQL configured\r\ndistilagency/starward_wp -> Our WP backend\r\n\r\nThoughts @samlogan?"}}
{"actor":{"display_login":"samlogan"}}