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
The API documentation is available at http://localhost:8080/swagger-ui.html.
OpenAI API key is required to run the application.
spring.ai.openai.api-key=${SPRING_AI_OPENAI_API_KEY}
curl -X POST "http://localhost:8080/api/messages" -H "Content-Type: application/json" -d '{"id": "123", "content": "This is a new message"}'
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.