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

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.

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

![image](https://github.com/user-attachments/assets/c924bf8c-9e3f-4345-af46-98c29f7375b3)

### Login
![image](https://github.com/user-attachments/assets/a27164d3-0522-4a45-b1e4-814174ca1f02)

### Home

![image](https://github.com/user-attachments/assets/d6d86a7c-2649-4fbf-a32c-803debbc6546)

## πŸ› οΈ 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.