/plushcap/analysis/neon/neon-serverless-api-using-aws-lambda-cdk-and-neon

Build a Serverless API using AWS Lambda, CDK, and Neon

What's this blog post about?

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

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.