This is a simple exercise to practice Spring Data MongoDB.
Assume that we're building an API set for a blogging platform. The blogging platform must support below features:
- Super admin can write articles and categorize articles under different categories and labeling tags for them
- Super admin can delete / update articles
- End user can post comment under each article
- Super user can manage comments: approve, delete it
- Practice with Spring Data MongoDB
- Practice data structure design with MongoDB
- All related model entities must be defined with good relationship
- All related APIs to satisfy above requirement must be implemented
- All related unit tests must be implemented
- Following the 3 tiers design architecture