Table of Contents

Spring Boot

Project Creation

To create our first Spring Boot project, we will use Spring Initializr

We will define the following fields

  • Project: Maven
  • Language: Java
  • Spring Boot Version: 3.4.4
  • Project Metadata
    • Group: com.technicastudio
    • Artifact: product-service
    • Name: product-service
    • Description: Product API
    • Package name: com.technicastudio.productservice
  • Packaging: Jar
  • Java Version: 17

As you can see, there is an example below that might help you:

MongoDB

Official website: mongodb.com

Collection Creation

A collection is a grouping of MongoDB documents. Documents within a collection can have different fields. A collection is the equivalent of a table in a relational database system.

Once we have installed MongoDB Compass we will proceed to create the first Collection.

Let’s connect to Mongo server: