The Media Catalogue Microservice is structured as illustrated in the following diagram:
- Web Server Layer: This is the layer that pieces the Microservice together to ensure it runs as expected
- Routing Layer: This is responsible for routing the incoming request that is called on a specific URI to the correct controller class
- Controller Layer: This is responsible for translating the incoming request, controlling the invocation, and ensuring that the correct result is returned
- Database Layer: This is the tier that communicates with the database-in our case MongoDB