Questions Management – API Option Service – Create api-option-service project using Spring Tool Suite

Check out the full series of Questions Management tutorial here.

Following the API Question Service, the API Option Service is a service that we need to create to provide APIs related to the operation for the options of a question. In this tutorial, I review some of the basic steps to create a new Spring Boot project for API Option Service!

In the New Spring Starter Project window, after filling in the information for our project, the Location section also points to the api folder for the questions-management project:

Questions Management – API Option Service – Create api-option-service project using Spring Tool Suite

For the dependencies to use for the api-option-service project, similar to the API Category Service and API Question Service we will use the following dependencies:

Questions Management – API Option Service – Create api-option-service project using Spring Tool Suite

Result:

Questions Management – API Option Service – Create api-option-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.

In the project’s pom.xml file, I will delete the current <parent> and <properties> declarations to use the parent project of the questions-management project:

Then declare the project api-option-service is a module of the questions-management project as follows:

Add Comment