@SMTaha Attached below are our proposed architectures and class diagrams.
The layered architecture is designed around the constraints mentioned here:
https://restfulapi.net/rest-architectural-constraints/
Following is a brief description of the design:
Layer 1 Request handler: Accepts and handles the incoming request. Once the request is parsed it forwards it to the next layer for completing user query.
Layer 2 Logical layer: Fetches data from various APIs and stores the result.
Layer 3 Database: If some database request is recieved than layer 2 will forward it here
Note: These layers may or may not be on different servers.
- More over there is an alternate class diagram which is a standalone architecture in itself i.e it dosen't have the layers.
Layered Architecture

Class Diagram

@SMTaha Attached below are our proposed architectures and class diagrams.
The layered architecture is designed around the constraints mentioned here:
https://restfulapi.net/rest-architectural-constraints/
Following is a brief description of the design:
Layer 1 Request handler: Accepts and handles the incoming request. Once the request is parsed it forwards it to the next layer for completing user query.
Layer 2 Logical layer: Fetches data from various APIs and stores the result.
Layer 3 Database: If some database request is recieved than layer 2 will forward it here
Note: These layers may or may not be on different servers.
Layered Architecture
Class Diagram