Hi everybody,
Just wanted to share a boilerplate I’ve been working on. The idea is to have simple Create-React-App + Apollo + Express app that is ready to be deployed to Heroku (Heroku provides free hosting, that’s why I chose this service).
It took me quite a while to figure out how to put all the pieces together, so I thought it could be helpful for someone trying to get started with Apollo.
Here is the repo of the project: https://github.com/fede-rodes/crae-apollo-heroku
And here is the app: https://crae-apollo-heroku.herokuapp.com/
I suggest reading the following articles (thanks!) in order to understand the boilerplate:
- https://originmaster.com/running-create-react-app-and-express-crae-on-heroku-c39a39fe7851
- https://dev-blog.apollodata.com/full-stack-react-graphql-tutorial-582ac8d24e3b
- https://dev-blog.apollodata.com/react-graphql-tutorial-part-2-server-99d0528c7928
- https://dev-blog.apollodata.com/react-graphql-tutorial-mutations-764d7ec23c15