Skip to content

alohamonius/AWS_Portfolio1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-Time DEX Data Aggregator Platform

terraform aws kubernetes typescript react graphprotocol

System Architecture (generated)

System Architecture Real-Time DEX

🏗 Architecture Overview

Frontend Layer

  • Next.js client application deployed on EKS
  • Real-time WebSocket integration
  • Containerized deployment strategy
  • Responsive data visualization components

API Layer

  • WebSocket API Gateway for real-time communication
  • Connection handler Lambda
  • Heartbeat handler Lambda
  • Custom protocol for real-time updates

Processing Layer

  • DynamoDB Stream handler for real-time updates
  • DEX Miner Service for blockchain data collection
  • Event-driven architecture
  • Multi-chain support (ETH, BSC, Polygon)

Data Layer

  • DynamoDB tables for data storage
  • WebSocket connections table
  • Real-time data synchronization
  • Optimized query patterns

🚀 Key Features

  • Real-Time Processing: Built on AWS Lambda and DynamoDB Streams
  • Multi-Chain Support: ETH, BSC, Polygon networks
  • Scalable Architecture: EKS with auto-scaling capabilities
  • Infrastructure as Code: Terraform modules for AWS resources
  • Secure Design: Private VPC architecture with strict IAM policies

💻 Tech Stack

graph TD
    A[Frontend] --> B[Infrastructure]
    A --> C[Backend Services]
    B --> D[AWS Services]
    C --> D
    
    subgraph Frontend
        F1[Next.js]
        F2[React]
        F3[TypeScript]
    end
    
    subgraph "Backend Services"
        B1[WebSocket API]
        B2[Lambda Functions]
        B3[DynamoDB]
        B4[The Graph Protocol]
    end
    
    subgraph "AWS Services"
        A1[EKS]
        A2[ECR]
        A3[VPC]
        A4[API Gateway]
    end
Loading

📊 Project Structure

project/
├── aws/                    # Infrastructure as Code
│   ├── env/               # Environment-specific configurations
│   │   ├── dev/           # Development environment
│   │   └── prod/          # Production environment
│   └── modules/           # Reusable Terraform modules
├── k8s/                   # Kubernetes manifests
│   ├── base/              # Base configurations
│   ├── front/             # Frontend deployments
│   └── miner/             # Miner service deployments
├── miner-service/         # Blockchain data collector
└── ws-client/             # Next.js frontend application

🔧 Quick Start

Prerequisites
  • AWS CLI configured
  • Terraform ≥ 1.0.0
  • Node.js ≥ 16
  • Docker
  • kubectl
Installation Steps
  1. Clone the repository
git clone https://github.com/yourusername/project-name.git
cd project-name
  1. Deploy infrastructure
cd aws/env/dev
terraform init && terraform apply
  1. Deploy applications
kubectl apply -f k8s/base/
kubectl apply -f k8s/front/
kubectl apply -f k8s/miner/

🤝 Connect with Me

Twitter LinkedIn

📝 License

This project is MIT licensed.


Made with ❤️ by Oleksii Bichuk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published