An experimental set of applications to create an end to end typed API.
The JSONPlaceholder API was used in place of a database for simplicity.
npm install
npm start
This will launch the server at localhost:3000
grpcc provides an easy to use CLI for interacting the the server.
#Connect Command
grpcc -a localhost:3000 -p ./placeholder.proto -i
#Example Interaction
client.getPost({postID: "1"}, printReply)
npm install
npm start
This will launch the server at localhost:4000
. Visit http://localhost:4000/graphql for the GraphiQL interface.