Check for Unique Documents in MongoDB with Spring Boot
Previously in Building a Blog: Adding Functionality to the Backend Whilst figuring out how exceptions work, I wanted to make sure that the blog posts are always unique. But how do we do that? That’s why I’ll show you how to check for unique documents in MongoDB with Spring Boot. @Indexed Annotation At first, I…
Getting Started with MongoDB – Building a Blog
Previously in Building a Blog: Choosing a Database: SQL or NoSQL? Last time, I decided to use MongoDB for building my blog. As I have never worked with MongDB before, I still have to figure out how to get everything to work. So, the only thing left to do now is getting started with MongoDB.…
Choosing a Database: SQL or NoSQL? – Building a Blog
Previously in Building a Blog: Building a Blog – Let’s Get Started! With our first set of requirements defined, it is time to take a look at the very first one regarding the database. All the metadata of a blog post needs to be stored somewhere in some fashion. Therefore, choosing a database is something…