Build a Serverless API using AWS Lambda, CDK, and Neon
This guide teaches how to create a Serverless API using AWS Lambda, CDK (with TypeScript), and Neon. The API is a REST API with a single HTTP endpoint that returns a list of products from a Neon database. The prerequisites include basic knowledge of JavaScript/TypeScript as well as Node.js, an AWS account, and experience working with AWS. The guide covers the installation of CDK CLI, setting up a new CDK project, defining Lambda function, app stack, creating a Neon Postgres database, storing its connection string in AWS Secrets Manager, deploying the project, and cleaning up afterwards.
Company
Neon
Date published
Nov. 30, 2023
Author(s)
Mahmoud Abdelwahab
Word count
1723
Hacker News points
None found.
Language
English