I've written a few using http://graphql.org/graphql-js/. In a very simple implementation your handler just need to get the parameters from the event into the
graphql() function then send the output back to the browser correctly. For most of my implementations I've also handled authentication and setup a context there too.
Once you've implemented that you're just writing the schema/resolvers.
There are other options depending your preferred language including