This project serves as the API Gateway for EveryBuy, providing routing and filtering for backend microservices including authentication, user management, advertisement, chat services.
graph TD
A[Client] --> B[API Gateway]
B --> C{Auth Service}
B --> D{User Service}
B --> E{Advertisement Service}
B --> F{Chat Service}
C -->|/auth/**| G[Auth Service]
D -->|/user/**| H[User Service]
E -->|/product/**| I[Advertisement Service]
F -->|/chat/**| J[Chat Service]
style A fill:#667eea,color:white
style B fill:#764ba2,color:white
style C fill:#f093fb,color:black
style D fill:#f5576c,color:white
style E fill:#4facfe,color:white
style F fill:#00f2fe,color:black
style G fill:#f093fb,color:black
style H fill:#f5576c,color:white
style I fill:#4facfe,color:white
style J fill:#00f2fe,color:black
http://api-everybuy.onrender.com
https://app.swaggerhub.com/apis-docs/OlesiaSmahlii/EveryBuy/1.0#/
The API Gateway currently routes requests to the following services:
-
auth-service:
- Routes requests with path
/auth/** - Features: JWT token generation; User authentication
- Routes requests with path
-
user-service:
- Routes requests with path
/user/** - Features: User profile management
- Routes requests with path
-
advertisement-service:
- Routes requests with path
/product/** - Features: Product listings
- Routes requests with path
-
chat-service:
- Routes requests with path
/chat/** - Features: Messaging
- Routes requests with path