Originate / recouple

Declarative and type-safe API bridging. Write full-stack applications with ease.
MIT License
4 stars 1 forks source link

E2E example #29

Closed sleexyz closed 6 years ago

sleexyz commented 6 years ago

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:

2017-11-29-11 59 09


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