This is an implementation of the Skills Mapper application using the Serverless Framework.
It is meant as a test ground for trying out functionality.
Deploy a Service
serverless deploy -v
Deploy a Function
serverless deploy function -f functionName
Deploy Client
serverless client deploy -v
serverless invoke local --function functionName
with data
serverless invoke local --function getProfile --path ../example/getProfile.json
https://github.com/horike37/serverless-step-functions
Uses ESLint with standard style guide to check ES6 syntax.
Using Serverless 1.21.1 as 1.22.0+ has a breaking bug
npm install -g [email protected]
Now using Serverless 1.24.1 which appears to have resolved the issue
https://medium.com/vandium-software/unit-testing-aws-lambda-functions-in-node-js-7ad6c8f5000
I was getting fed up with deploying Serverless over a slow connection so created an EC2 instance to deploy from. See aws-scripts. This is better done using Travis-CI.