Skip to content

Server Side Rendering + Create-React-App + Apollo GraphQL Client

License

Notifications You must be signed in to change notification settings

eugle/ssr-cra-graphql

 
 

Repository files navigation

Server Side Rendering + Create-React-App + Apollo GraphQL Client

This is the starting kit for using creat-react-app and apollo-react together on server-side.

How to use

  • yarn install for installing dependencies

Backend preparing

Currently we use the endpoint created at Codesandbox. It goes down if it's not in use, that means you have to run it again by opening that sandbox if you want to start the project.

Developing

  • yarn start:dev for running the development server (without SSR support)

Production

  • yarn build for preparing a production version of the application
  • yarn start for running the production server (with SSR support)

Heroku

This package support deploying on Heroku, so just deploy it as described in docs

About

Server Side Rendering + Create-React-App + Apollo GraphQL Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.6%
  • HTML 11.0%
  • CSS 3.4%