Search posts, tags, users, and pages
Michael Liendo
Fullstack Cloud with TypeScript, React, and AWS CDK
In the previous post, we scaffolded our CDK project with context and additional props. In this post, we'll leverage constructs from the CDK to create DynamoDB tables, as well as a serverless function. In addition to creating the services themselves, ...
Vidit Shah
Software Engineer
const userDB = createUserTable(this, { appName: context.appName, env: context.environment, addUserFunc, })
addUserFunc seems to be redundant here
Felix Blackburn
In the first code, there is a typo: import {createTravelTable} from './database/tables.ts'
Should be: import {createTravelTable} from './database/tables'
Good eye and thanks for pointing that out! Just updated it, much appreciated and hope you enjoy the series!
Vidit Shah
Software Engineer
const userDB = createUserTable(this, { appName: context.appName, env: context.environment, addUserFunc, })
addUserFunc seems to be redundant here