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

DevFeed: [Build a Serverless API using AWS Lambda, CDK, and Neon](<https://devfeed.tech/articles/build-a-serverless-api-using-aws-lambda-cdk-and-neon-5787.md>)

Original publisher: [Read original article](<https://neon.com/blog/serverless-api-using-aws-lambda-cdk-and-neon>)

Author: Mahmoud Abdelwahab

Published: 2023-11-30T20:35:33Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [cloud-infrastructure](<https://devfeed.tech/tags/cloud-infrastructure.md>), [community](<https://devfeed.tech/tags/community.md>), [database](<https://devfeed.tech/tags/database.md>), [github](<https://devfeed.tech/tags/github.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [http](<https://devfeed.tech/tags/http.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

A tutorial for building a serverless REST API with AWS Lambda, CDK v2 in TypeScript, and a Neon Postgres database.

## Source excerpt

This guide will teach you how to build a serverless API using AWS Lambda, CDK (with TypeScript), and Neon. You will create a REST API with a single HTTP endpoint that returns a list of products from a Neon database. You can find the complete code for this guide on GitHub. Prerequ...