A create-react-app
+ redux
+ express
boilerplate, based on create-react-app-redux. taco demonstrates how to integrate create-react-app
and redux
with an express.js server to retrieve BTC and ETH prices from the gemini api.
Clone the repo (and nuke .git
and run git init
yourself to use this as a starting point) and run yarn
to install dependencies. The application has been "ejected".
You'll need two separate shells to start the app as is:
yarn start:proxy
to start the proxy server (API) on port 3009 (we're leverage webpack's proxy so we don't need to pay too much attention to this until you're ready to deploy).yarn start
starts the app on port 3000 with the standardcreate-react-app
hot reloading, etc.
create-react-app
sets up facebook's jest
, simply running yarn test
will run any tests in *.spec.js
files or create your own __tests__
directory and run with it from there.