Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 668 Bytes

readme.md

File metadata and controls

22 lines (13 loc) · 668 Bytes

@serverless-guy/lambda example

This is a simple app using @serverless-guy/lambda library.

Installation

  • clone this repository
  • cd to the project repo and run npm i
  • run serverless deploy --stage <stage_name>

Setting Maintenance mode

Maintenance mode can be controlled inside env.yml by assigning "YES" or "NO" value to maintenance_mode key.

Developer's Note:

Please note that, in the example, it is using jsonplaceholder as API, some data may or will not be saved if you're to use POST endpoint.

Issues:

  • unable to run lambda locally due to misconfiguration
  • some libraries/modules may not work on unit test