/spring-mongo-data-training

Source code for the draft implementation of SuperBlog

Primary LanguageJava

SuperBlog project

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

Targets of this exercise

  • Practice with Spring Data MongoDB
  • Practice data structure design with MongoDB

Expectation on the output

  • 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

Bonus points

  • Following the 3 tiers design architecture