Setup Saayam MicroServices Java CodeBase - saayam-for-all/docs GitHub Wiki

Steps to Setup Saayam MicroServices Java CodeBase

  • Clone the respective microservice from Github.
  • Presence of pom.xml file indicates, it is a Maven Project.

Install Prerequisites

  • Install Java Development Kit (JDK) from Open JDK and check with cmd.
    • java -version
  • Install Maven from Apache Maven Install Dependencies
  • Command: mvn clean install
    • Check Version : mvn -version
  • If maven is not detected, after extracting Maven zip file, add maven’s bin directory to system environment PATH.

IDE

  • Use IntelliJ IDEA or Eclipse or VS Code.
    • In IntelliJ
    • Select "Open", then choose the folder containing pom.xml.
    • It will automatically detect and import the Maven dependencies.
    • If prompted, select "Import as Maven project".
  • In VS Code
    • Install "Java Extension Pack" from VS Code Marketplace.
    • Install "Maven for Java" extension (Optional but helps with Maven integration).

Build & run Project

    • mvn spring-boot:run