This project demonstrates a serverless application for handling integration events using AWS Lambda and DynamoDB. It provides functionality for creating orders and publishing integration events associated with those orders.
Before running the application, make sure you have the following prerequisites installed:
- Node.js (version X.X.X)
- AWS CLI (version X.X.X)
- Serverless Framework (version X.X.X)
-
Clone the repository:
git clone https://github.com/jerolan/serverless-example.git
-
Install the dependencies:
cd serverless-example npm install
-
Set up AWS credentials:
Configure your AWS credentials using the AWS CLI:
aws configure
To create an order and publish integration events, run the following command:
sls deploy
This will deploy the serverless application to your AWS account and provide you with the necessary endpoints to interact with the application.
To run the tests for the application, use the following command:
npm test
This will execute the test suite and provide you with the test results.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Feel free to customize the README.md according to your specific project details and requirements.