new detroitledger.org frontend
based on mtiger2k/react-redux-graphql-passport-starter and bnchdrff/react-redux-graphql-passport-starter
yarn install --frozen-lockfileThe env var REACT_APP_API_URL points to the production server by default.
The env var REACT_APP_GOOGLE_CLIENT_ID uses our prod google client id by default.
yarn startyarn build
yarn start-productionyarn testFor Heroku deploy, set this config:
NPM_CONFIG_PRODUCTION=false
YARN_PRODUCTION=false
https://gnl-graphql.herokuapp.com
Use react-apollo and apollo-client to fetch data via graphql api.