For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
The following guides illustrate how to use some features concretely:
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
-
Install Mongodb(without compas)
-
Install Mongodb Compass
-
Create database called
BookStore
-
Create collection named
Book
-
You may Insert List, Set, Other Objects into the Document, and I have implemented that
-
Now you may pass following Raw JSON Data into Request Body of book/addBook API
{
"id": 1,
"name": "Java",
"isbnNumber": "ISBN-000001",
"authorInfo": {
"authorName": "Fahad Shahzad",
"address": "Sukkur IBA University",
"phone": "03017021045",
"gender": "MALE"
},
"bookTags": ["Best", "Advance"]
}