Skip to content

YONSEI-A-EYE/Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A-eye Server

Prerequisites

To run this application, you need to have the following installed on your machine:

  • Java 17
  • Spring boot 3.0.2

Getting Started

1. Git Clone

Clone the repository.

git clone [email protected]:YONSEI-A-EYE/Server.git

2. Setting 'application-secret.yml' file

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>

3. build and run application


ISSUE

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.

Releases

No releases published

Packages

No packages published

Languages