You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
orchestrator-service: It gathers all APIs from others product-service, search-service, checkout-service. It will be mainly used as endpoints for users or frontend services. This service is also a producer to receive mesage and send checkout data message to Message MQ. The checkout-service as consumer, it will read messages from Rabbit MQ, they are persisted into MongoDB.
search-service: It provides search and sort functionality for products.
product-service: Service relates to add and delete products.
checkout-service: It is relevant to payment and checkout.
service-registry: It is central service and help to keep track of other services such as register or unregister once we start or stop service.
Make sure we start services service-registry, search-service, product-service, checkout-service, we can stop service orchestrator-service in this case. Also start MongoDB and Message MQ.
We have 2 test suits in tests/payments.test.js and tests/product.test.js
# start all services before run jest testcd orchestrator-service
run npm test