To run this application, you need to have the following installed on your machine:
- Java 17
- Spring boot 3.0.2
Clone the repository.
git clone [email protected]:YONSEI-A-EYE/Server.git
Create a file called application-secret.yml in the src/main/resources directory of the project. This file should contain the following information:
# application-secret-yml
spring:
datasource:
url: jdbc:mysql://<host>:<port>/<database>
driver-class-name: com.mysql.cj.jdbc.Driver
username: <username>
password: <password>
jwt:
secret: <jwt-secret-key>
access-token-expire-time: <access token expire time>
refresh-token-expire-time: <access token expire time>
chatGpt:
api-key: <chat gpt api key>
We were using Bard API(https://www.bardapi.dev/app, https://www.ai2api.dev/) believing that it was the official one. However, we found that it was an unauthorized API. We realized this at the last minute, so we had no choice but to implement OpenAI API all of a sudden. If Google release official API, we want to switch to Bard API.