This is a simple Node.js AWS Lambda project deployed using the Serverless Framework. It provides a basic function as a starting point for your serverless applications.
Before you begin, make sure you have the following prerequisites installed:
- Node.js (Node.js 18.x)
- Python (Python 3.11)
- Serverless Framework
- AWS CLI
-
Configure AWS CLI with your AWS credentials:
aws configure
-
Install Serverless Framework:
npm install -g serverless
-
Install project Serverless dependencies:
npm install
-
Deploy the project to AWS Lambda:
npm run deploy
- To invoke the deployed Lambda function, use the following command:
npm run invoke
- To remove the deployed resources from AWS, you can use the following command:
npm run remove