Look Ma, No Servers!
This is the demo code for my talk on serverless applications.
Getting Started
Detailed instructions on install/compile/deploy coming soon. If you attended the talk, it should be pretty straightforward.
Prerequisites
This demo requires two files to exit in the directory just above this one. Those are:
auth0.json
- Your auth0 configuration fileprivate.key
- Your auth0 signing certificate
The NoServers.Aws
project contains readme files that explain both of these files and how to create them.
Basic instructions
- In the
NoServers.Aws
directory, updateaws-lambda-tools-defaults.json
with your information - In the
NoServers.DataAccess.Aws.Test
directory updateappsettings.json
with your information - In the
NoServers.Aws
directory, updateserverless.template
with your information. Specifically, you need to update the domain name for your CloudFront distribution and the SSL certificate. - Create
../auth0.json
- Create
../private.key
- In the
NoServers.Web
directory, runnpm install
- In the
NoServers.Web
directory, runnpm run build
- In the
NoServers.Web/scripts
directory, edit theauth0ClientConfig
with your information - Build
- In the
NoServers.Aws
directory, rundotnet lambda deploy-serverless
- Copy the contents of
NoServers.Web/wwwroot
to the S3 bucket attached to your CloudFront distribution.