Once : μΉ΄λ λ€λ³΄μ μλ₯Ό μν κ²°μ μ μ΅λ ν μΈ μΉ΄λ μΆμ² AI μ±λ΄ μλΉμ€
- Java 17
- Spring Boot 3
- MySQL 8.0.35
- Docker
- OpenAI
- CODEF API
-
Clone project
$ git clone https://github.com/EWHA-LUX/ONCE-BE.git
-
Set environment variable
2-1. Addsrc/main/resources/firebase/once-firebase-adminsdk.json
ββDownload firebase-admin sdk json βΊ Click here!
2-2. Addsrc/main/resources/application.properties
# Database SPRING_DATABASE_URL=(YOUR_RDS_ENDPOINT) SPRING_DATASOURCE_PASSWORD=(YOU_RDS_PASSWORD) # JWT JWT_SECRET_KEY=(YOUR_JWT_KEY) # S3 AWS_S3_ACCESSKEY=(YOUR_S3_ACCESSKEY) AWS_S3_SECRETKEY=(YOUR_S3_SECRETKEY) AWS_S3_BUCKET=(YOUR_S3_BUCKET_NAME) AWS_S3_REGION=(YOUR_S3_REGION) # GPT OPENAI_MODEL=(YOUR_GPT_MODEL_ID) OPENAI_KEY=(YOUR_OPENAI_API_KEY) # AES AES_ENCRYPTION_KEY=(YOUR_AES_KEY) # CODEF CLIENT_ID=(YOUR_CODEF_CLIENT_ID) SECERET_KEY=(YOUR_CODEF_SECERET_KEY) ACCESS_TOKEN=(YOUR_CODEF_ACCESS_TOKEN) # Google Maps GOOGLE_CLOUD_API_KEY=(YOUR_GOOGLE_API_KEY)
-
Run
OnceApplication.java
νΌμ³ 보기
Feature | URI |
---|---|
π€ νμκ°μ | POST /user/signup |
π€ μμ΄λ μ€λ³΅ νμΈ | GET /user/duplicate?loginId=μμ΄λ |
π€ μλλ‘κ·ΈμΈ | POST /user/auto |
π€ λ‘κ·ΈμΈ | POST /user/login |
π€ κΈ°κΈ° ν ν° μ μ₯ | POST /user/token |
π€ νμ νν΄ | DELETE /user/quit |
π€ λΉλ°λ²νΈ νμΈ | POST /user/edit/pw |
π€ λΉλ°λ²νΈ λ³κ²½ | PATCH /user/edit/pw |
π€ μμ΄λ μ°ΎκΈ° | POST /user/find/id |
π€ λΉλ°λ²νΈ μ°ΎκΈ° | POST /user/find/pw |
π€ λ΄ μ 보 μμ νκΈ° νμ΄μ§ | GET /user/edit |
π€ νμ μ 보 μμ | PATCH /user/edit |
π€ νλ‘ν μ΄λ―Έμ§ μμ (λ±λ‘) | PATCH /user/edit/profile |
π€ μΉ΄λ λ±λ‘ 1λ¨κ³ (μΉ΄λμ¬λ‘ μΉ΄λ κ²μ) | GET /user/card/search?code=0301,0302 |
π€ μΉ΄λ λ±λ‘ 2λ¨κ³ (μΉ΄λ μ΄λ¦ κ²μ) | GET /user/card/searchname?name=κ΅Ώλ°μ΄&code=0301,0302 |
π€ μΉ΄λ λ±λ‘ 3λ¨κ³ (μΉ΄λ λ±λ‘) | POST /user/card |
π μ±λ΄ μΉ΄λ μΆμ² | GET /home?keyword=GS25&paymentAmount=10000 |
π ν νλ©΄ κΈ°λ³Έ μ 보 | GET /home/basic |
π κ²°μ μ¬λΆ λ³κ²½ | PATCH /home/{chat_id} |
π μλ¦Ό 리μ€νΈ μ‘°ν | GET /home/announcement |
π μλ¦Ό μμΈ μ‘°ν | GET /home/announcement/{announceId} |
π μ¬μ©μ κ·Όμ² λ¨κ³¨κ°κ² μ‘°ν | GET /home/gps |
π μλ¦Ό μμ± μμ² | POST /home/announcement |
π³ CODEF 보μ μΉ΄λ μ‘°ν | GET/card/list |
π³ CODEF μΉ΄λμ¬ μ°κ²° νν© | GET/card/connect |
π³ CODEF μ£ΌμΉ΄λ λ±λ‘ | POST /card/main |
π³ CODEF μ£ΌμΉ΄λ μ€μ μ‘°ν | GET /card/main/performance |
π³ λ§μ΄μλ μ‘°ν | GET /card |
π³ μ£ΌμΉ΄λ μλ μΉ΄λ μ€μ μ λ ₯ | POST /card/performance |
π³ μλ³ννμ‘°ν | GET /card/benefit?month=8 |
π³ λͺ©ν νν κΈμ‘ μ λ ₯ | POST /card/benefitgoal |
π λ§μ΄νμ΄μ§ μ‘°ν | GET /mypage |
π μ±λ΄ λν μ‘°ν | GET /mypage/chathistory?month=2024-01 |
π μΉ΄λ λͺ©λ‘ μ‘°ν | GET /mypage/maincard |
π μ£ΌμΉ΄λ ν΄μ | PATCH /mypage/maincard/{ownedCardId} |
π λ±λ‘ μΉ΄λ μμ | DELETE /mypage/maincard/{ownedCardId} |
Jimin Yu | Haewon Lee | Chaerin Heo |
---|---|---|