Demeter Service is a Spring Boot application written in Kotlin and Java, built with Maven.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Java 17
- Maven
- IntelliJ IDEA 2024.1 or any preferred IDE
- Clone the repository
git clone https://github.com/seanmayer/demeter-service.git
- Navigate into the cloned repository
cd demeter-service
- Install the dependencies
mvn install
- Run the application
mvn spring-boot:run
To run the tests, use the following command:
mvn test
OpenAI API key is required to run the application.
spring.ai.openai.api-key=${SPRING_AI_OPENAI_API_KEY}
curl --location 'http://localhost:8080/api/openai?prompt=Tell%20me%20a%20joke' \
--header 'Content-Type: application/json'
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.