prisma-labs / yoga2

A lightweight 'Ruby on Rails'-like framework for GraphQL
https://www.graphql.yoga
MIT License
347 stars 14 forks source link

Deployment Strategy #123

Open DevanB opened 5 years ago

DevanB commented 5 years ago

Is your feature request related to a problem? Please describe. Yes. Recently while scaffolding a new project, I tried deploying a yoga2 server, but ran into several error messages of missing files on the server.

Describe the solution you'd like I'd love to see more documentation on deploying a yoga2 server. Perhaps to Heroku or Now even. Currently there is no documentation or support other than a build command, which doesn't execute without errors in a remote environment.

Additional context I'd be glad to help document the process by sharing my results, but I've yet to get a server deployed successfully.

guledali commented 5 years ago

Please add this information on the docs(https://www.graphql.yoga/) regarding deployment.

Lately I have got used to using continuous-deployment with netlify for my frontend apps. I'm not sure what hosting providers offers that, but it would nice to have setup guide or something like that in the docs as well. I hope this is not to much to ask