Skip to content

Hina-Atif/aws-python-http-api-project

Repository files navigation

aws-python-http-api-project

AWS Python HTTP API Project using Serverless Framework for scalable, cloud-native serverless applications

Owner: Hina Atif

Project Description

This project demonstrates a Serverless Python HTTP API deployed on AWS using AWS Lambda and API Gateway.
It provides a lightweight, scalable, and cost-efficient backend solution for handling HTTP requests without requiring server management.

Key Benefits:

  • Serverless architecture reduces infrastructure management overhead
  • Cost-efficient: pay only for actual usage
  • Highly scalable and reliable
  • Easy to deploy and maintain
  • Built-in monitoring via AWS CloudWatch

🖼️ Project Gallery

🏗️ Development & Deployment

Documentation of the project lifecycle from CLI initialization to successful cloud deployment.

01-project-init 02-python-logic 03-deploy-success png 04-aws-lambda-list png 05-cloudformation-stack png 06-cloudwatch-logs png 07-api-gateway-trigger png 08-web-response 09-web-response2 WhatsApp Image 2025-12-22 at 8 27 36 PM

Tech Stack & Tools

  • Programming Language: Python 3.12
  • Serverless Framework: Deployment configuration and automation
  • AWS Lambda: Serverless compute
  • AWS API Gateway (HTTP API): Routing and HTTP endpoint management
  • AWS CloudFormation: Managed deployment stacks
  • AWS CloudWatch: Logs and monitoring of Lambda functions
  • Git & GitHub: Version control and project hosting

Project Structure

aws-python-http-api-project/ ├── handler.py # Lambda function logic ├── serverless.yml # Serverless Framework configuration ├── unzip_requirements.py # Script for packaging dependencies ├── README.md # Project documentation


How to Use

  1. Clone the repository:
git clone https://github.com/Hina-Atif/aws-python-http-api-project.git

Deploy the API using Serverless Framework (if desired):

sls deploy (serverless deploy)

You can access the API endpoints as deployed on AWS (check Serverless output for URLs).

🚀 Deployment Screenshots

| CloudFormation Stack                                             | Lambda Functions                                        |
| ---------------------------------------------------------------- | ------------------------------------------------------- |
| ![CloudFormation Stack](screenshots/05-cloudformation-stack.png) | ![Lambda Functions](screenshots/04-aws-lambda-list.png) |



API Gateway & Monitoring
| API Triggers                                           | CloudWatch Logs                                        |
| ------------------------------------------------------ | ------------------------------------------------------ |
| ![API Gateway](screenshots/07-api-gateway-trigger.png) | ![CloudWatch Logs](screenshots/06-cloudwatch-logs.png) |




Live API Verification
| Desktop Output                                    | Mobile Output                                      |
| ------------------------------------------------- | -------------------------------------------------- |
| ![Desktop Test](screenshots/08-web-response.jpeg) | ![Mobile Test](screenshots/09-mobile-response.png) |





About

AWS Python HTTP API Project using Serverless Framework for scalable, cloud-native serverless applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors