Skip to content

Instantly share code, notes, and snippets.

@karakanb
Created February 20, 2020 23:26
Show Gist options
  • Save karakanb/4792e1f41bbddc481bc7d6c45a8cf56b to your computer and use it in GitHub Desktop.
Save karakanb/4792e1f41bbddc481bc7d6c45a8cf56b to your computer and use it in GitHub Desktop.
The Serverless Framework configuration file that is used for Devo backend.
service: devo-backend
provider:
name: aws
runtime: nodejs10.x
functions:
github:
handler: handler.github
events:
- http:
path: github
method: get
cors: true
hackernews:
handler: handler.hackernews
events:
- http:
path: hackernews
method: get
cors: true
producthunt:
handler: handler.producthunt
events:
- http:
path: producthunt
method: get
cors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment