An open API service indexing awesome lists of open source software.

https://github.com/pratik-khose/serverless-web-app-over-aws


https://github.com/pratik-khose/serverless-web-app-over-aws

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# Serverless Web Application Deployment on AWS

## ๐Ÿš€ Project Overview
This project demonstrates a fully serverless web application deployed on AWS, leveraging services such as AWS Lambda, API Gateway, Amazon S3, and DynamoDB to deliver a scalable and cost-effective solution.

### ๐Ÿ”— Useful Links
- [GitHub Repository](<[INSERT_GITHUB_LINK_HERE](https://github.com/Pratik-Khose/Serverless-Web-App-Over-AWS)>)
- [Project Documentation]()
- [![Watch the demo](https://img.youtube.com/vi/caG6TiKph3M/maxresdefault.jpg)](https://www.youtube.com/watch?v=caG6TiKph3M&t=291s)

---

## ๐Ÿ“‹ Features
- โœ… Fully serverless architecture using AWS Lambda and API Gateway
- โœ… Static website hosting via Amazon S3
- โœ… Data storage with Amazon DynamoDB
- โœ… Automated deployment using AWS SAM/CloudFormation
- โœ… CI/CD pipeline with AWS CodePipeline
- โœ… Secure authentication and authorization with AWS Cognito

---

## ๐Ÿ› ๏ธ Architecture Diagram
![Architecture Diagram]()

---

## โš™๏ธ Prerequisites
- AWS Account with necessary permissions
- Node.js and npm/yarn installed
- AWS CLI configured with your credentials
- AWS SAM CLI for deployment

---

## ๐Ÿ“ฆ Installation and Setup
1. **Clone the repository**
```bash
git clone
cd
```

2. **Install dependencies**
```bash
npm install
```

3. **Configure AWS resources**
- Create an S3 bucket for static website hosting
- Set up Lambda functions, API Gateway, and DynamoDB using AWS SAM/CloudFormation

4. **Deploy the application**
```bash
sam build
sam deploy --guided
```

5. **Access the application**
- Visit the API Gateway endpoint for the backend
- Access the static website hosted on S3

---

## ๐Ÿงช Testing
- For front-end testing, ensure S3 bucket permissions allow public read access.

---

## ๐Ÿ“ˆ Monitoring and Logging
- AWS CloudWatch is configured for detailed logs and metrics.
- Use CloudWatch dashboards for performance insights.

---

## ๐Ÿ›ก๏ธ Security Best Practices
- Use IAM roles with minimal permissions.
- Enable encryption for data in transit and at rest.
- Set up AWS WAF for added protection.

---

## ๐Ÿšจ Troubleshooting
- **S3 Access Denied?** Ensure bucket policies allow public read access.
- **Lambda Timeout?** Increase the function timeout in AWS Console.
- **API Gateway Errors?** Verify endpoint routes and permissions.

---

## ๐Ÿ™Œ Contributing
Contributions are welcome! Feel free to submit pull requests or open issues for improvements.

---