In order to deploy the example, you need to run the following command:
$ serverless deploy
or
$ npm run deploy-prod
$ serverless deploy function --function functionName
or
$ npm run deploy-function functionName
You can invoke your function locally by using the following command:
$ serverless offline start
or
$ npm run dev
Repository inspired from serverless-boilerplate-express-typescript