This PR implements an E2E example application using safe-api.
We define a single endpoint, GET /hello, of which the backend handler simply return "world". The frontend is composed of a single button that when clicked, prints the response of GET /hello:
In addition, this PR introduces lerna and yarn workspaces to manage internal dependencies. We have to safe-api into a sub-folder since lerna packages and yarn workspaces must be child directories WRT to the root directory.
TODO
[x] get example working at runtime
[x] get flow to work again (reconsider yarn workspaces...)
This PR implements an E2E example application using safe-api.
We define a single endpoint,
GET /hello
, of which the backend handler simply return"world"
. The frontend is composed of a single button that when clicked, prints the response ofGET /hello
:In addition, this PR introduces lerna and yarn workspaces to manage internal dependencies. We have to safe-api into a sub-folder since lerna packages and yarn workspaces must be child directories WRT to the root directory.
TODO