Context Path for my Spring Boot REST API

I already deployed my Spring Boot API into fly.io with hostname https://spring-boot-rest-api-postgresql.fly.dev

My API should be {IP}/api/books but it saying that 404.

What Can I do for that?

Repo Link: GitHub - hendisantika/spring-boot-rest-api-postgresql: Plain RESTful Web Service with Spring Boot. Using PostgreSQL database, Hibernate and basic authentication.

Thanks

Hi i am getting this error

WARNING The app is not listening on the expected address and will not be reachable by fly-proxy.
You can fix this by configuring your app to listen on the following addresses: - 0.0.0.0:8080

I have added the server.address and server.port on yml file, like this
server:
port: 8080
address: 0.0.0.0

Dockerfile looks like this

FROM maven:3.8.5-openjdk-8 AS build
COPY . .
RUN mvn clean package -DskipTests
FROM openjdk:8-jdk-slim
COPY --from=build /target/quiznation.jar quiz.jar
ENV PORT 8080
EXPOSE 8080
ENTRYPOINT [“java”,“-jar”,“quiz.jar”]