React, GraphQL, Firestore implimentation

Hi guys!

So this is a fairly vague question, I really just want to gain some insight into how this can all fit together…

So I’ve built a small e-commerce web app utilising React and Redux. I built an express server to help handle the payments and it’s deployed to Heroku. All good.

Recently I’ve been playing with GraphQL and I think it’s great. As an exercise I’d like to remove Redux from my app and replace all data fetching and state management with GraphQL and Apollo. I’m happy I know how to do this on the front end, but that’s as far as it goes. I’d also like to use Google Cloud Functions to run the backend code but have never used them and don’t yet have any understanding of how to go about this.
Can I just move my existing express server into cloud functions? What about the GraphQL server? How do I deploy the App?

If anyone has any experience with this kind of setup, I’d be grateful to hear from you :grinning_face_with_smiling_eyes: