the-road-to-graphql / fullstack-apollo-express-postgresql-boilerplate

💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
https://roadtoreact.com
MIT License
1.2k stars 261 forks source link

Enable SSR #9

Closed tysonmatanich closed 5 years ago

tysonmatanich commented 6 years ago

It would be great to include server side rendering.

rwieruch commented 6 years ago

I didn't do any SSR with Express and Apollo Server before. Is it difficult/complex? If it is, I would rather want to keep the project simple for educational purposes.

rozenmd commented 6 years ago

it's surprisingly easy with https://github.com/jaredpalmer/razzle - but not sure if it's compatible with CRA

rwieruch commented 6 years ago

I have to checkout Razzle at some point! Some people told me it is CRA but with SSR?

rozenmd commented 6 years ago

Pretty similar, yeah. Sara Vieira recently migrated her awesome-talks site to using it: https://medium.com/yld-engineering-blog/a-tale-of-react-server-side-rendering-cb95a441ca01

rozenmd commented 6 years ago

similar write-up from me here: https://maxrozen.com/2018/06/04/tips-for-making-server-side-rendering-in-react-easy

eliagoris commented 5 years ago

i'll check out if I can bring SSR to this repo, since the stack is similar to mine's, and i've included SSR so far: https://github.com/eduardofidera/rage =)

gregegan commented 4 years ago

Any progress on SSR?