Skip to content
This repository has been archived by the owner on Jun 26, 2019. It is now read-only.

mvargeson/serverless-graphql-echo

Repository files navigation

Serverless GraphQL Echo Example

serverless

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.

Usage

Deploy

npm run deploy will run the tests then deploy to AWS

Test

npm test will run the tests and npm run coverage will give you the test coverage.

Run a function locally

npm run invoke will invoke the handler locally with event.json

Simulate API Gateway locally

npm run serve will run a local simulation of API Gateway based on your serverless.yml configuration on port 8000.

Additional Information

For more detailed usage check out the repository for Serverless Webpack for more information, specifically:

About

A GraphQL example using Serverless v1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published