Core ecommerce service: Add Feedback
nicolehaugen opened this issue · 5 comments
This portion of the micro service should allow the user to submit feedback. This service should be combined with the Order\Order Item functionality (covered in a separate work item) and uses MongoDB.net core.
Note that the Feedback should include the authenticated user's id so that we can track feedback by user.
Estimate: 2 days
How about we do this service using MySQL and leave the core e-commerce scenario as MondoDB? Additionally, can we plan to use Go instead? That is the polyglot combo that we've decided to go with for OpenDev
Why MySQL here and MongoDB for the e-commerce scenario? Is it just because we want Mongo used the more 'central' data storage role or is there something about the scenarios that makes these technologies line up better that way?
Exactly. I just want to lead with Mongo since it is the most prevelant database for Node devs.
So the takeaway here is:
1.) That MongoDB should be used with the most core part of the e-commerce scenario, which in our scenario would be the Order\Order Items portion of the app (and potentially more entities depending on how we divide the microservices).
2.) This "core" microservice should also be implemented with Go.
Assuming this is the decision, then I feel this influences how we decide to architect authentication (refer to comments in this issue). In the linked issue, we are discussing whether auth should be:
- Standalone microservice, or
- Integrated within each microservice that needs it; in our sample, we expect this may only be the Order\Order Items "core" service
However, I had thought we wanted to show auth implemented with Passport\Node.JS. If we want to implement the "core" with Go...and we still want to use Passport\Node.JS for auth, then we can't integrate the auth functionality into the "core" service itself. Instead, we'll need to have auth as a standalone service then as we originally planned.
Thoughts?
Consolidating this work into the order\order item microservice work.