Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 587 Bytes

File metadata and controls

21 lines (17 loc) · 587 Bytes

Start Java Backend

  1. Install Java 21+

  2. Provide your OpenAI API Key int the application.properties file:

    OPENAI_API_KEY=<your key>
  3. If you use YugabyteDB, then update database connectivity settings in the application.properties file to the following:

    spring.datasource.url = jdbc:postgresql://127.0.0.1:5433/yugabyte
    spring.datasource.username = yugabyte
    spring.datasource.password = yugabyte
  4. Start the Spring Boot backend:

    cd {project_dir}/backend/java
    mvn spring-boot:run