new detroitledger.org frontend
based on mtiger2k/react-redux-graphql-passport-starter and bnchdrff/react-redux-graphql-passport-starter
yarn install --frozen-lockfile
The 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 start
yarn build
yarn start-production
yarn test
For 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.