mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-10 12:46:16 +00:00
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