Home

Awesome

dawson-examples

examples and reference implementations using dawson

Usage

To run each example, after configuring AWS Credentials, run:

$ npm install
$ dawson deploy
$ dawson dev # starts the development server

The first deploy will take ~20 minutes, because the Amazon CloudFront Distribution needs to be created.
Subsequent deploys will take ~2 minutes.

Index

Example nameAWS Lambda RuntimeProject TypeCloudFront?Custom ResourcesDescriptionLink
0-basic-srp-pugNode.jsServer-rendered pagesyesSimple app that renders pug templates server-sideLink
1-basic-spaNode.jsSingle-page-appyesBasic Single-page-app that serves an index.html file which gets information from the APILink
2-basic-pythonPython 2.7Server-renderedyesServer-rendered pages in Python 2.7Link