Skip to content

Instantly share code, notes, and snippets.

@msfidelis
Created July 3, 2018 21:35
Show Gist options
  • Save msfidelis/c7be17cb3d628fab975a4f3cca740bb8 to your computer and use it in GitHub Desktop.
Save msfidelis/c7be17cb3d628fab975a4f3cca740bb8 to your computer and use it in GitHub Desktop.
service: express-serverless-app
provider:
name: aws
runtime: nodejs8.10
stage: v1
region: us-east-1
timeout: 30
memorySize: 512
package:
excludeDevDependencies: true
exclude:
- .git/**
- .vscode/**
functions:
app:
handler: handler.run
events:
- http:
path: /
method: ANY
cors: true
- http:
path: /{proxy+}
method: ANY
cors: true
plugins:
- serverless-offline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment