This is the demo code for my talk on serverless applications.
Detailed instructions on install/compile/deploy coming soon. If you attended the talk, it should be pretty straightforward.
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.
- In the
NoServers.Awsdirectory, updateaws-lambda-tools-defaults.jsonwith your information - In the
NoServers.DataAccess.Aws.Testdirectory updateappsettings.jsonwith your information - In the
NoServers.Awsdirectory, updateserverless.templatewith 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.Webdirectory, runnpm install - In the
NoServers.Webdirectory, runnpm run build - In the
NoServers.Web/scriptsdirectory, edit theauth0ClientConfigwith your information - Build
- In the
NoServers.Awsdirectory, rundotnet lambda deploy-serverless - Copy the contents of
NoServers.Web/wwwrootto the S3 bucket attached to your CloudFront distribution.