Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imprvhub/aws-samcli-dynamodb-template
a serverless solution template built using AWS SAM, Lambda, DynamoDB, and S3. This application is designed to efficiently process and analyze text data in a scalable manner.
https://github.com/imprvhub/aws-samcli-dynamodb-template
aws aws-lambda aws-s3 aws-sam-cli dynamodb python3
Last synced: 12 days ago
JSON representation
a serverless solution template built using AWS SAM, Lambda, DynamoDB, and S3. This application is designed to efficiently process and analyze text data in a scalable manner.
- Host: GitHub
- URL: https://github.com/imprvhub/aws-samcli-dynamodb-template
- Owner: imprvhub
- License: mit
- Created: 2024-11-01T19:56:53.000Z (14 days ago)
- Default Branch: main
- Last Pushed: 2024-11-01T20:16:07.000Z (14 days ago)
- Last Synced: 2024-11-01T21:17:30.148Z (13 days ago)
- Topics: aws, aws-lambda, aws-s3, aws-sam-cli, dynamodb, python3
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## AWS-SamCLI-DynamoDB-Template
## Overview
This is a serverless solution template built using AWS SAM, Lambda, DynamoDB, and S3. This application is designed to efficiently process and analyze text data in a scalable manner.## Prerequisites
To set up the application, ensure you have the following installed and configured:- **AWS CLI**: Command Line Interface for managing AWS services.
- **SAM CLI**: AWS Serverless Application Model Command Line Interface for building and deploying serverless applications.
- **Python 3.12**: The programming language used for the Lambda functions.
- **AWS Account**: An active AWS account is required to deploy the application.## Installation Steps
Follow these steps to set up the application locally:1. **Clone the Repository**
```bash
git clone
cd
```2. **Create a Virtual Environment**
```bash
python -m venv venv
source venv/bin/activate
On Windows use `venv\Scripts\activate`
```
3. **Install Dependencies**
```bash
pip install -r requirements.txt
```
4. **Configure Environment Variables**
Create a .env file in the root of your project and define the necessary environment variables.
5. **Set Up AWS Credentials**
```bash
aws configure set aws_access_key_id your_access_key
aws configure set aws_secret_access_key your_secret_key
aws configure set region your_region
```## Deployment
```bash
sam deploy --guided
```
This command will guide you through the deployment process, prompting you for necessary parameters such as stack name, AWS region, and confirmation to create IAM roles.## Testing
Run the following commands to execute tests:-Integration Tests:
To run integration tests, execute:```bash
pytest -v tests/integration/test_lambda_integration.py
```## Contributing
Contributions are welcome! Please submit a pull request or open an issue for any suggestions or improvements.
## License
This project is licensed under the [MIT](/LICENSE) License.