My AWS Projects

Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.

Expense Tracker App

Quick overview of the AWS services used and the process of adding data from a form to DynamoDB: 1. AWS Lambda: AWS Lambda is a serverless computing service that allows you to run code without provisioning or managing servers. In this scenario, AWS Lambda is used to create a serverless function that handles HTTP requests and interacts with DynamoDB to add expense data. 2. Amazon API Gateway: Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs. It acts as a gateway for HTTP requests and routes them to the appropriate Lambda function. 3. Amazon DynamoDB: Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. In this case, DynamoDB is used to store expense data, and the Lambda function interacts with it to add, retrieve, or modify records. 4. AWS IAM (Identity and Access Management): IAM is used to define permissions and access control for AWS resources. It ensures that your Lambda function has the necessary permissions to interact with DynamoDB and other AWS services. 5. AWS SDK (Software Development Kit): The AWS SDK for JavaScript (Node.js) is used in the Lambda function to interact with AWS services programmatically. Overview of Adding Data from a Form to DynamoDB: Frontend (Web Application): You have a web form in your application where users can enter expense data such as amount, category, and description. JavaScript running on the client-side gathers this data and sends it as an HTTP POST request to an API endpoint. Amazon API Gateway: The API Gateway receives the POST request from the frontend and routes it to the associated Lambda function. AWS Lambda: The Lambda function is triggered by the API Gateway and executes in response to the incoming POST request. It parses the JSON data from the request body to extract the expense details. Amazon DynamoDB: The Lambda function creates a new record in the DynamoDB table to store the expense data. It uses the AWS SDK to interact with DynamoDB and perform a put operation to add the item. Response Back to Frontend: After successfully adding the expense data to DynamoDB, the Lambda function sends an HTTP response back to the API Gateway. The API Gateway responds to the frontend, indicating that the expense has been added successfully. Frontend Confirmation: The frontend can handle this response and show a confirmation message to the user, indicating that their expense has been recorded. In summary, AWS Lambda, API Gateway, and DynamoDB work together to provide a serverless and scalable backend for your web application. Users can submit expense data via the frontend, and it's securely stored in DynamoDB with the help of AWS services.