9ea1f981aa
Summary: This way, our frontend can talk to a backend that can read from the filesystem (among other things). Paired with @decentralion. Test Plan: ``` $ yarn backend $ SOURCECRED_DIRECTORY=/tmp/srccrd yarn start $ # verify that the browser looks good $ mkdir /tmp/srccrd $ echo hello >/tmp/srccrd/world $ curl localhost:3000/api/v1/data/world hello $ curl localhost:4000/api/v1/data/world hello ``` wchargin-branch: webpack-proxy |
||
---|---|---|
.. | ||
jest | ||
babel.js | ||
env.js | ||
paths.js | ||
polyfills.js | ||
travis.js | ||
webpack.config.backend.js | ||
webpack.config.dev.js | ||
webpack.config.prod.js | ||
webpackDevServer.config.js |