Skip to content

Local Development

Serverless Offline

Install the Plugin

npm init 
npm install --save-dev serverless offline

Add Plugin to serverless.yml

service: sls-node-test
frameworkVersion: '3'

plugins:
  - serverless-offline

Run the service locally - will fire up a server on port 3000

sls offline
Back to top