CDKNote is a serverless CRUD Notes API built using AWS CDK in TypeScript. It uses AWS Lambda for business logic, API Gateway for routing, and DynamoDB as a NoSQL backend.
- AWS CDK (TypeScript) – Infrastructure as Code
- AWS Lambda – Serverless compute for CRUD operations
- Amazon API Gateway – RESTful API endpoint management
- Amazon DynamoDB – Scalable NoSQL database
- TypeScript – Language for both infrastructure and function code
- Create a new note
- Read a single note or list all notes
- Update an existing note
- Delete a note
POST /notes– Create a noteGET /notes– List all notesGET /notes/{id}– Get a note by IDPUT /notes/{id}– Update a noteDELETE /notes/{id}– Delete a note
To deploy the project:
# Install dependencies
pnpm install
# Bootstrap your environment (only once)
cdk bootstrap
# Deploy the stack
cdk deploy