Sope Ecommerce Platform
WEB
AI
SYSTEM
🏗️ Architecture
Sope is built on a microservices and modular architecture that ensures scalability, reliability, and flexibility:

Backend
- Main service: Spring Boot (Java)
Provides core e-commerce functionalities such as:- User management
- Product catalog
- Orders and payments
- Cart and wishlist management
- Admin management
- AI Services: FastAPI (Python)
Handles all AI and machine learning workloads:- Recommendation algorithms
- Smart review aggregation
- Dangerous product detection
- Chatbot and NLP tasks
Frontend
- Client: Next.js
- Responsive web interface for users
- Product search and filtering
- Personalized recommendations and smart reviews
- Real-time chat with WebSocket
- Livestream shopping support via LiveKit
- Admin panel: React.js
- Dashboard for monitoring users, products, orders
- AI insights and analytics
- Content moderation tools
Database & Caching
- PostgreSQL: Main relational database for storing structured data (users, orders, transactions).
- MongoDB: Stores semi-structured data like product metadata, reviews, and AI-generated insights.
- Redis: Caching layer for high-performance data retrieval and session management.
Search & Analytics
- Elasticsearch:
- Full-text search for products
- Search similar products using BLIP image caption-based search
- Fast and scalable query performance for millions of products
Real-Time Communication
- WebSocket: Real-time messaging between users and support agents
- LiveKit: Supports live video shopping sessions
Deployment
- Docker: All services containerized for portability and reproducibility
- AWS EC2: Hosting of backend, frontend, and microservices
- AWS S3: Storage for AI models, images, and large datasets
🤖 Intelligent Features
Sope integrates multiple AI-driven and smart features to enhance user experience and platform safety:
Recommendation Systems
- User-based Collaborative Filtering (User CF): Suggest products based on similar users’ preferences
- Content-based Filtering: Recommend products similar to those a user has liked or purchased
- Itemset Frequency Analysis: Detect frequently bought-together products
Product Search & Similarity
- Search Similar Product: Uses BLIP image captions to find visually or semantically similar items
- Sentiment Analysis: Analyze product reviews to classify feedback as positive, negative, or neutral
- Smart Review Aggregation: Combines all reviews to generate an objective overall score
Safety & Moderation
- Dangerous Product Detection: YOLO object detection identifies hazardous products in images
- Content Moderation: Automated check for banned words or inappropriate content in product names and descriptions
User Interaction
- Chatbot Agent: AI assistant helps users navigate, answer FAQs, and provide support
- Face Authentication: Uses FaceMesh + InsightFace to verify user identity for secure login and payment
🛠️ Technology Stack
| Layer | Technology / Tool |
| Backend | Spring Boot, FastAPI |
| Frontend | Next.js (Client), React.js (Admin) |
| Database | PostgreSQL, MongoDB |
| Caching | Redis |
| Search | Elasticsearch |
| Real-time Messaging | WebSocket |
| Livestream | LiveKit |
| AI & ML | Python, YOLO, BLIP, NLP (Sentiment Analysis, Chatbot), FaceMesh + InsightFace |
| Containerization | Docker |
| Cloud Deployment | AWS EC2 (services), AWS S3 (models, images, assets) |
🌟 Key Differentiators
- Smart Recommendations: Personalized product suggestions using multiple AI algorithms
- Safety-first: Automated detection of dangerous products and content moderation
- Real-time Interactions: Chat, livestream shopping, and instant notifications
- Objective Reviews: Smart review system consolidates all reviews for unbiased ratings
- AI-powered Authentication: Face recognition for secure user verification
- Flexible Architecture: Microservices-based design with Docker and cloud deployment
- Live Demo
Sope is not just an e-commerce platform — it is a smart, outstanding, persionalize, effective shopping ecosystem that leverages AI, real-time communication, and intelligent insights to deliver a personalized and seamless user experience.
Created at: 11/23/2025








