https://github.com/aamirshehzad33/aws-ai-stack
AWS AI Stack is a ready-to-use, full-stack boilerplate for building serverless AI applications on AWS. This project provides a solid AWS foundation, allowing developers to integrate AI models via AWS Bedrock while ensuring data privacy and separation from model providers.
https://github.com/aamirshehzad33/aws-ai-stack
api-gateway aws-lambda awsbedrock awsdynamodb awseventbridge vanilla-react
Last synced: 8 days ago
JSON representation
AWS AI Stack is a ready-to-use, full-stack boilerplate for building serverless AI applications on AWS. This project provides a solid AWS foundation, allowing developers to integrate AI models via AWS Bedrock while ensuring data privacy and separation from model providers.
- Host: GitHub
- URL: https://github.com/aamirshehzad33/aws-ai-stack
- Owner: aamirshehzad33
- Created: 2025-03-28T17:19:07.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-28T17:41:24.000Z (about 2 months ago)
- Last Synced: 2025-03-28T18:28:41.837Z (about 2 months ago)
- Topics: api-gateway, aws-lambda, awsbedrock, awsdynamodb, awseventbridge, vanilla-react
- Language: JavaScript
- Homepage:
- Size: 191 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AWS AI Stack - Serverless AI Application Boilerplate
AWS AI Stack is a ready-to-use, full-stack boilerplate for building serverless AI applications on AWS. This project provides a solid AWS foundation, allowing developers to integrate AI models via AWS Bedrock while ensuring data privacy and separation from model providers.
## π Features
### ποΈ Full-Stack Architecture
### Backend:
API Gateway V2
AWS Lambda (Serverless functions)
AWS EventBridge (Event-driven architecture)
AWS DynamoDB (NoSQL Database)
AWS Bedrock (AI models)
### Frontend:
Vanilla React application
### π€ AI Chat & Streaming Responses
Fully serverless AI chatbot architecture
Streaming responses for real-time AI interactions on AWS Lambda
Integrates multiple AI models via AWS Bedrock (Claude 3.5 Sonnet, Llama 3.1, Mistral Large 2, etc.)
Ensures data privacyβyour app data never leaves AWS
### π° 100% Serverless
Auto-scaling without paying for idle time
Pay-per-use model (additional costs may apply for DynamoDB and AWS Bedrock-trained models)
### π Custom Domain Names
API Gateway services configured with serverless-domain-manager plugin
Lambda services configured with CloudFront Distributions
π‘ API & Event-Driven Architecture
Express.js API for custom business logic
Shared EventBridge for publishing & subscribing to events
Worker service for processing events asynchronously
### π Built-In Authentication
API Gateway authorizer for secured endpoints
User login & registration using Lambda (Express.js) + DynamoDB
JWT token authentication for session management
### ποΈ Multi-Environment Support
Shared configuration for all services
Separated configurations for different environments (dev, prod, etc.)
### π¦ Domain-Oriented Architecture
Modular components for easy customization (remove AI Chat, authentication, etc., if not needed)
### π CI/CD with GitHub Actions
Deploy services to production via GitHub Actions
Deploy PR environments and auto-remove services after merge
## ScreenShots
### SignUp

### Login
### Home

## π οΈ Installation & Setup
### Clone the Repository
git clone https://github.com/your-username/aws-ai-stack.git
cd aws-ai-stack### Install Dependencies
npm install
### Configure AWS Credentials
### Ensure you have the AWS CLI installed and configured:
aws configure
### Deploy to AWS
npx serverless deploy
### Start the Frontend
cd frontend
npm start## π License
This project is open-source and available under the MIT License.