Questions Management – Core Question Service – Create core-question-service project using Spring Tool Suite

Check out the full series of Questions Management tutorial here.

The Core Question Service is one of the three core services of the first phase that we need to create. This service will help us to add, delete, and edit questions in our Questions Management application. In this tutorial, I will guide you how to create a Spring Boot project for this service.

You can refer to this tutorial to know how to create Spring Boot project! For core-question-service project, there are some points that I need to note to you as follows:

In the New Spring Starter Project window, after filling in our project information, the Location section should point to the core directory of the questions-management project:

In the selection of dependencies to use for the core-question-service project, similar to the core-category-service, we will use the following dependencies:

Questions Management – Core Question Service – Create core-question-service project using Spring Tool Suite

The result is as follows:

Questions Management – Core Question Service – Create core-question-service project using Spring Tool Suite

Next, I’ll revise this project a little bit so that it uses the parent project of the questions-management project.

The contents of the current core-questions-management pom.xml file are as follows:

I would delete the current <parent> and <properties> declarations for using the questions-management parent project as follows:

Then declare core-question-service project as a module of the questions-management project as follows:

Add Comment