- React 16
- Babel 7
- Webpack 4
- React Router 5
- Apollo 3 with hooks (use
getDataFromTree
for server side rendering) - React Helmet
- Loadable component
- Emotion 10 with styled
- SSR hot reload with HMR webpack
git clone [email protected]:zyhou/react-apollo-ssr.git
- cd react-apollo-ssr
- make install
- make start
- visit
http://localhost:3000
- bundle analyzer on
http://localhost:8888
GraphQl API, build with Apollo Server on 4000 port
REST API, build with micro on 3000 port