A GraphQL "echo" example that uses Serverless v1.0. This is simply meant to be a convenient way to get up and running in order to explore using them in conjunction and nothing more at this point.
npm run deploy
will run the tests then deploy to AWS
npm test
will run the tests and npm run coverage
will give you the test coverage.
npm run invoke
will invoke the handler locally with event.json
npm run serve
will run a local simulation of API Gateway based on your serverless.yml
configuration on port 8000.
For more detailed usage check out the repository for Serverless Webpack for more information, specifically: