---
title: "Discussion on \"AWS CDK for Frontend Developers: Databases and Serverless Functions\" | Hashnode"
description: "Discussion on \"AWS CDK for Frontend Developers: Databases and Serverless Functions\". 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, ..."
url: "https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AWS CDK for Frontend Developers: Databases and Serverless Functions](https://blog.focusotter.com/aws-cdk-for-frontend-developers-databases-and-serverless-functions?utm_source=hashnode&utm_medium=feed)

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, ...

Mar 19, 2023 · 11 min read · blog.focusotter.com  
Updated Mar 28, 2023  
Read the article

-   [#serverless](https://hashnode.com/tag/serverless)
-   [#aws](https://hashnode.com/tag/aws)
-   [#startups](https://hashnode.com/tag/startups)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#full-stack](https://hashnode.com/tag/full-stack)

## Written by

[Michael Liendo](https://hashnode.com/@focusotter)

@focusotter · Midwest, US

  
[View profile](https://hashnode.com/@focusotter)

Fullstack Cloud with TypeScript, React, and AWS CDK

## Responses 2

Markdown supported · ⌘↵ to post

[Vidit Shah](https://hashnode.com/@vidit0210)

[Apr 3, 2023](https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb/comment/642b0ebe351232fa62945996)

const userDB = createUserTable(this, { appName: context.appName, env: context.environment, addUserFunc, })

addUserFunc seems to be redundant here

[Felix Blackburn](https://hashnode.com/@felixb101)

[Mar 28, 2023](https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb/comment/642252f81fde617d62bd8a46)

In the first code, there is a typo: import {createTravelTable} from './database/tables.ts'

Should be: import {createTravelTable} from './database/tables'

[Michael Liendo](https://hashnode.com/@focusotter)

[Mar 28, 2023](https://hashnode.com/posts/aws-cdk-for-frontend-developers-databases-and-serverless-functions/6416cf7c33a442295f5c64cb/comment/642252f81fde617d62bd8a46#reply-64225f9d1fde617d62bd8c11)

Good eye and thanks for pointing that out! Just updated it, much appreciated and hope you enjoy the series!
