This project demonstrates a complete Serverless Architecture using Amazon DynamoDB, IAM, Lambda, API Gateway, and S3.
It performs simple employee data operations through REST API methods and hosts a frontend application on a public S3 bucket.
- Trusted Entity: Lambda
- Permissions: DynamoDB
- Attached to Lambda functions to allow secure database access.

- insertEmployeeData
- getEmployees
These functions handle adding new employee data and retrieving existing employee records.

- Methods: GET, POST
- CORS Enabled
- Integrates directly with Lambda
- Acts as the Front Door for accessing backend services

instantly data is updated in dynamoDB

RESTful API allows two computer systems to securely exchange information over the internet.
Most business applications use APIs to communicate with internal and third-party applications.
Client → API Gateway → Lambda → DynamoDB
- REST API
- Proxy Requests
- CRUD Operations
- Fully Managed API Layer
- Easy creation, publishing, monitoring, and securing APIs at scale
- Frontend: index.html, script.js (hosted in S3)
- Backend: Lambda Functions
- API Layer: API Gateway
- Database: DynamoDB
- Security: IAM Role with DynamoDB Permissions
- User accesses frontend hosted in S3
- Frontend sends GET/POST requests
- API Gateway receives request
- API Gateway triggers Lambda
- Lambda interacts with DynamoDB
- Response returns back to the user
- Fully Serverless
- No servers to maintain
- Scalable and cost-efficient
- Easy to deploy
- Clean and simple architecture





