claudiajs / example-projects

Simple example projects that show how to use ClaudiaJs
650 stars 235 forks source link

GraphQL integration with Lambda. Code in ES2015 #4

Closed aidanbon closed 8 years ago

aidanbon commented 8 years ago

A sample Claudia app illustrates:

gojko commented 8 years ago

thanks for this, looks very interesting. I know very little about GraphQL, so it would be good if you could try one more experiment with this, and if it works, submit an additional pull request. Instead of doing transpilation in create and update - set up the transpilation as a postinstall NPM script. This should automatically kick off after claudia runs npm install --production on a copy of the folder before uploading, so theoretically it should be enough to support transpilation.