Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.

Latest commit

 

History

History
14 lines (13 loc) · 1006 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 1006 Bytes

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