/strap

Universal React app w/ GraphQL boilerplate

Primary LanguageJavaScriptMIT LicenseMIT

strap

Greenkeeper badge Build Status Test Coverage Code Climate

Development

  • Create a .env file, using .sample-env as a template

Deployment

  • Configure Travis CI for your project
  • Create an environment variable named $PROD_ENV containing all of the relevant public environment variables for your project (found in .env). These will be bundled by Webpack during the CI process. It should be formatted as a single line, using \n to indicate line breaks, ex: NODE_ENV=development\nAPP_NAME=strap\nHOST=localhost\nPORT=3030...
  • Using now add secret, add all the relevant private environment variables from now.json, ex: now add secret strap_jwt_secret <token>