amcquistan / nebcode-cdk

Demo for Nebraska.Code() talk on CDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event Processing and Web Socket API with AWS CDK Demo Application

This is a demo application that I used to present to Nebraska.Code() conference on AWS Cloud Development Kit (CDK) with slides available in this repo as well.

Architecture Diagram

YouTube Presentation

I also recorded an introductory talk covering AWS CDK along with a detailed walk-thru of this demo application and posted to YouTube

Prereqs to Deploying

Install yarn

npm install -g yarn

Install CDK

npm install -g aws-cdk

Bootstrap your AWS account to use CDK

cdk bootstrap aws://ACCOUNT-NUMBER-1/REGION-1

Deploying the Demo Application

  1. Build the frontend application
cd lib/dashboard-app
yarn && yarn build
  1. Build the CDK project

run this from the project root (same directory as the cdk.json file)

yarn && yarn build
  1. Synthesize the CDK project

run this from the project root (same directory as the cdk.json file)

yarn synth
  1. Deploy the CDK project
yarn deploy
  1. Destroy the project
yarn destroy

About

Demo for Nebraska.Code() talk on CDK

License:MIT License


Languages

Language:TypeScript 74.5%Language:JavaScript 14.2%Language:HTML 6.0%Language:Shell 3.4%Language:CSS 1.5%Language:Dockerfile 0.4%