Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
54ff2f8
Setting up GitHub Classroom Feedback
github-classroom[bot] Jan 7, 2025
5762a2f
chore: add GitHub issue and PR templates
Mujae Jan 13, 2025
f3daceb
first commit for retrieval
Mujae Jan 18, 2025
7180f8e
refactor: For Smoother Rag Experiments
Mujae Jan 22, 2025
0f6ede9
docs: add check-lint
Mujae Jan 23, 2025
4960d6b
feat: add set_seed
Mujae Jan 23, 2025
b1edcff
docs: edit configs
Mujae Jan 23, 2025
fe7ce63
Merge pull request #10 from boostcampaitech7/development/base_rag
Mujae Jan 23, 2025
66083f8
feat: Implement PDF to image conversion, bounding box extraction, and…
wonsjeong Jan 25, 2025
26917e6
fix: fix directory and configs
Mujae Jan 27, 2025
c012a07
feat: first commit for G-eval
Mujae Jan 27, 2025
1a7514d
feat: Apply DeepEval for evaluation
Mujae Jan 28, 2025
bd1896b
fix: add saving results code as json file
Mujae Jan 28, 2025
f3b97f0
feat: add retrieval geval code
Mujae Jan 30, 2025
5310fe2
style
Mujae Jan 30, 2025
331b267
Merge pull request #13 from boostcampaitech7/feature/pipeline_eval
elwhyjay Jan 30, 2025
de4ff08
pdf_parser.py 를 PDF_OCR folder 로 이동
elwhyjay Jan 30, 2025
d9a665b
chore: pdf 등 github에 업로드하지 않도록 수정
elwhyjay Jan 30, 2025
55144d5
docs: 사용법등 문서화를 위해 README.MD 추가
elwhyjay Jan 30, 2025
2396765
feat: init file 추가
elwhyjay Jan 30, 2025
334566e
feat: 인식된 구조들을 ocr하는 후처리과정 추가.
elwhyjay Jan 30, 2025
793007f
feat: config 파일 추가 주로 디렉토리 설정
elwhyjay Jan 30, 2025
16b225c
feat: api를 통해 ocr된 결과를 받아옴.
elwhyjay Jan 30, 2025
ca5ab97
chore: __pycache__ 추가
elwhyjay Jan 30, 2025
42fc37f
feat: ocr된결과를 처리하여 json,csv파일로 저장
elwhyjay Jan 30, 2025
661600c
docs: 필요한 패키지 설치를 위해 requirements.txt 추가
elwhyjay Jan 30, 2025
4f4ab2f
feat: table.json을 table.csv로 변환
elwhyjay Jan 30, 2025
62d52b4
docs
Mujae Jan 31, 2025
2b7a62e
feat: add reranking code
Mujae Jan 31, 2025
de20a66
Merge pull request #15 from boostcampaitech7/feature/pipeline_eval
Mujae Jan 31, 2025
d481276
fix: properly format ChatPromptTemplate
Mujae Jan 31, 2025
3d47edb
docs: 내용 업데이트
elwhyjay Jan 31, 2025
7089d39
Merge remote-tracking branch 'origin/retrieval' into main
elwhyjay Jan 31, 2025
aa3648c
chore: path 및 import 오류 수정
elwhyjay Feb 2, 2025
1a2244a
feat: __init__.py 추가
elwhyjay Feb 2, 2025
3d15d42
docs: requirements.txt 추가
elwhyjay Feb 2, 2025
458b252
feat: set initial React and router
imJeongmi Feb 3, 2025
5775d4b
feat: add fonts
imJeongmi Feb 3, 2025
20662d2
feat: add navigate
imJeongmi Feb 3, 2025
2e6dd44
feat: organize files
imJeongmi Feb 3, 2025
54bdc2c
feat: apply theme
imJeongmi Feb 3, 2025
5bebb50
feat: add textSpan atom
imJeongmi Feb 3, 2025
822bf28
feat: RAG 디렉토리를 app 디렉토리로 이동
elwhyjay Feb 4, 2025
702deb5
feat: RAG 디렉토리를 app 디렉토리로 이동
elwhyjay Feb 4, 2025
be5396f
feat: .env 파일 삭제
elwhyjay Feb 4, 2025
06b6d33
docs: fastapi requirements 추가
elwhyjay Feb 4, 2025
3b6f5ee
feat: RAG 디렉토리를 app 디렉토리로 이동
elwhyjay Feb 4, 2025
8842eb9
docs: README.md 수정
elwhyjay Feb 4, 2025
93fb64a
docs: .gitignore vectordb 디렉토리 추가
elwhyjay Feb 4, 2025
0fe60ce
feat: ocr json결과들을 vector db화 회사별로 저장
elwhyjay Feb 4, 2025
b99c656
feat: ocr json 결과들중 text,table description 작성후 스키마대로 저장
elwhyjay Feb 4, 2025
2bb39b7
docs: api readme 작성. 실행법 설치법 등
elwhyjay Feb 4, 2025
21e7c8f
feat: RAG 서비스 구현 및 검색/생성 파이프라인 통합
elwhyjay Feb 4, 2025
56025b7
feat: fastapi 서버 구동 main.py 작성
elwhyjay Feb 4, 2025
f37e84e
feat: 설정 관리를 위한 클래스 작성
elwhyjay Feb 4, 2025
eaa850d
feat: RAG 질의응답 API 엔드포인트 구현
elwhyjay Feb 4, 2025
6d85f30
feat: 로깅 관리를 위한 클래스 작성
elwhyjay Feb 4, 2025
44d13e8
feat: RAG pydantic 스키마 작성
elwhyjay Feb 4, 2025
bc6cee4
feat: fastapi 서버 readme.md app 폴더로 이동
elwhyjay Feb 4, 2025
8e0f4a8
feat: add atoms
imJeongmi Feb 4, 2025
c093be6
feat: change font
imJeongmi Feb 4, 2025
675629f
feat: add module
imJeongmi Feb 4, 2025
9140614
feat: remove css
imJeongmi Feb 4, 2025
4964436
feat: organize files
imJeongmi Feb 4, 2025
0adad9e
feat: change file name
imJeongmi Feb 4, 2025
020441d
feat: add widget modules
imJeongmi Feb 4, 2025
69d5f25
feat: add widget
imJeongmi Feb 4, 2025
782349e
feat: update QueryInput module
imJeongmi Feb 4, 2025
5758de7
feat: connect api to IndexWidget
imJeongmi Feb 4, 2025
f0e2a7d
feat: chroma db retrieval 구현
elwhyjay Feb 4, 2025
6a973a1
feat: 통합 vector db화 구현
elwhyjay Feb 4, 2025
87a9755
feat: chroma db 기능 반영
elwhyjay Feb 4, 2025
372f19c
feat: 통합 vector db 기능 수행코드 추가
elwhyjay Feb 4, 2025
bed2e07
feat: update IndexWidget
imJeongmi Feb 5, 2025
8402490
feat: 저장 path 오류 수정
elwhyjay Feb 5, 2025
815dacb
feat: 문서 retreving 후 ClovaX 사용해 답변 생성
elwhyjay Feb 5, 2025
eb2db01
feat: response 스키마 추가
elwhyjay Feb 5, 2025
6149e7a
feat: 회사이름추출해 검색하는 기능 추가
elwhyjay Feb 5, 2025
891961e
fix: path 오류 수정
elwhyjay Feb 5, 2025
ad0b838
feat: ClovaX api 클래스 생성
elwhyjay Feb 5, 2025
43fbb21
feat: .gitnore update
elwhyjay Feb 5, 2025
0d48010
feat: update atoms
imJeongmi Feb 5, 2025
a36f428
feat: update layout
imJeongmi Feb 5, 2025
747ed48
feat: 문서 update
elwhyjay Feb 5, 2025
4ebb89f
feat: update된 스키마 반영
elwhyjay Feb 5, 2025
9523ab7
fix: langchain clovaX 사용을 위한 환경변수 설정
elwhyjay Feb 5, 2025
edb9832
fix: path 오류 수정
elwhyjay Feb 5, 2025
dd82e77
feat: retrieving 환경설정 추가
elwhyjay Feb 5, 2025
730c135
feat: connect api to QueryInput module
imJeongmi Feb 5, 2025
291d1f8
feat: update QueryInput module
imJeongmi Feb 5, 2025
a538075
feat: add QueryOutput module
imJeongmi Feb 5, 2025
92b42e6
feat: connect api to ExchangeRateWidget
imJeongmi Feb 5, 2025
a4097e8
feat: update components
imJeongmi Feb 5, 2025
d54df56
fix: Modified G-eval related code, including asynchronous processing …
Mujae Feb 6, 2025
ee8b21a
feat: chat,documents 스키마 추가
elwhyjay Feb 6, 2025
e504785
feat: endpoint router 구현(chat, documents, query)
elwhyjay Feb 6, 2025
332f967
feat: chat endpoint 구현
elwhyjay Feb 6, 2025
603ef98
feat: documents endpoint 구현
elwhyjay Feb 6, 2025
45e56c5
feat: query endpoint 모듈화
elwhyjay Feb 6, 2025
a8d528c
feat: auth 구현(email, password 인증)
elwhyjay Feb 6, 2025
eb1fb20
feat: endpoint router 기능 반영
elwhyjay Feb 6, 2025
d30af05
feat: 파일명 변경으로 삭제(->query.py로 변경)
elwhyjay Feb 6, 2025
a8f6dfd
Merge branch 'main' of github.com:boostcampaitech7/level4-nlp-finalpr…
elwhyjay Feb 6, 2025
5fdd4cb
feat: add copy, reload function to QueryOutput module
imJeongmi Feb 6, 2025
8ef5643
feat: vectordb생성시 사명 추가
elwhyjay Feb 6, 2025
1d9ab5a
feat: embedding model 세분화
elwhyjay Feb 6, 2025
95a0cee
docs: curl 예시 update
elwhyjay Feb 6, 2025
6866834
feat: embedding model config 세분화 반영
elwhyjay Feb 6, 2025
c91532e
feat: 비동기함수로 generate 함수 수정
elwhyjay Feb 6, 2025
564c51c
feat: 비동기함수로 evaluate_batch함수 수정
elwhyjay Feb 6, 2025
c954192
feat: 회사명 paraphrasing 기능 추가
elwhyjay Feb 6, 2025
02a992e
feat: process_query return 형식 수정
elwhyjay Feb 6, 2025
5b8a979
feat: connect api to NewWidget modules
imJeongmi Feb 6, 2025
47285f7
feat: update layout
imJeongmi Feb 6, 2025
af599ea
feat: add NewsWidget
imJeongmi Feb 6, 2025
e4fafc1
docs: Add readme for RAG experiments
Mujae Feb 6, 2025
9cf1e69
feat: connect restful api
imJeongmi Feb 6, 2025
21b27bd
feat: add StockWidget module
imJeongmi Feb 6, 2025
5c901b9
feat: add api to query modules
imJeongmi Feb 6, 2025
e5464da
feat: 비동기로 검색 속도 향상, llm모델 config로 선택
elwhyjay Feb 7, 2025
72c9993
docs: embedding 모델 .gitignore 추가
elwhyjay Feb 7, 2025
1366ebe
chore: nothing change
elwhyjay Feb 7, 2025
fbacc7e
chore: nothing change
elwhyjay Feb 7, 2025
4183c90
feat: config 수정, batch 검색 추가
elwhyjay Feb 7, 2025
f0d9a92
feat: langchain OpenAI 모델 추가
elwhyjay Feb 7, 2025
0bfcf5d
feat: 병렬검색 추가, 쿼리 rewriting,decomposition 기능 추가
elwhyjay Feb 7, 2025
c01cc66
feat: query_rewriter, decomposition 기능 구현
elwhyjay Feb 7, 2025
4d043f7
Merge branch 'main' of github.com:boostcampaitech7/level4-nlp-finalpr…
elwhyjay Feb 7, 2025
fe61db2
style: isort, black 적용
elwhyjay Feb 7, 2025
fd4385a
feat: 미구현 파일 삭제
elwhyjay Feb 7, 2025
c381567
feat: update QueryInput width
imJeongmi Feb 7, 2025
cdcc7ca
feat: apply daisyUI
imJeongmi Feb 7, 2025
cf911dd
feat: add SelectModel module
imJeongmi Feb 7, 2025
5d28b70
fix: remove log
imJeongmi Feb 7, 2025
5ff5deb
feat: add file upload function
imJeongmi Feb 7, 2025
64df2cf
feat: update layout
imJeongmi Feb 7, 2025
46238c8
fix: grammar
imJeongmi Feb 7, 2025
d481bf6
feat: connect file upload & model select api
imJeongmi Feb 8, 2025
2f10f43
fix: company props
imJeongmi Feb 8, 2025
8f045ff
fix: request api twice
imJeongmi Feb 8, 2025
c12165a
feat: add chat function
imJeongmi Feb 8, 2025
e677b9b
fix: remove company api
imJeongmi Feb 8, 2025
920caaf
chore: remove unused files
imJeongmi Feb 8, 2025
b75e940
feat: add answer loading message
imJeongmi Feb 8, 2025
e40cfd2
fix: remove QueryInput buffer
imJeongmi Feb 8, 2025
f086aae
feat: add IconBox atom
imJeongmi Feb 8, 2025
cadce56
feat: add file upload message
imJeongmi Feb 8, 2025
ab4a742
fix: reload StockWidget
imJeongmi Feb 8, 2025
cc9fee4
feat: update layout
imJeongmi Feb 8, 2025
578313a
feat: html기반 table 을 csv로 변환
elwhyjay Feb 8, 2025
c742d89
chore: fe build file commit제외
elwhyjay Feb 8, 2025
3ebf74c
.gitmessage
elwhyjay Feb 8, 2025
7558570
pyproject.toml
elwhyjay Feb 8, 2025
8e10a0f
makefile
elwhyjay Feb 8, 2025
77f5b99
docs: README.md 수정.
elwhyjay Feb 8, 2025
0c8b875
feat: 채팅 기능 추가
elwhyjay Feb 8, 2025
7878a1c
configs.yaml 수정
elwhyjay Feb 8, 2025
7857d08
path 버그수정
elwhyjay Feb 8, 2025
e58a192
feat:FE endpoint 추가
elwhyjay Feb 8, 2025
8d63b2c
feat: chatting endpoint 변경
elwhyjay Feb 8, 2025
86f48b0
feat: 전송된 documents 저장
elwhyjay Feb 8, 2025
a07bbb6
feat: LLM 호출시 temperature 매개변수로 전달
elwhyjay Feb 8, 2025
30c8811
feat: rerank추가, rewriting 개선
elwhyjay Feb 8, 2025
41289d7
Nothing change
elwhyjay Feb 8, 2025
464c5c0
feat: prompt 개선 및 langchain 관련함수 수정
elwhyjay Feb 8, 2025
b86999d
feat: 유저별 vector db 생성기능 추가
elwhyjay Feb 8, 2025
093150d
refactor: 불필요한 기능제거
elwhyjay Feb 8, 2025
dc9eaa4
feat: 채팅을 위한 스키마추가
elwhyjay Feb 8, 2025
1d465ea
feat: 채팅 기능 추가, 모듈화 등
elwhyjay Feb 8, 2025
ab18ba9
feat: 업스테이지 api 호출 추가
elwhyjay Feb 8, 2025
1b99e7e
docs: 파이프라인 설명 보강
elwhyjay Feb 8, 2025
e9596b6
feat: 불필요한 commit파일 제거
elwhyjay Feb 9, 2025
2afc72d
style: isort,black 적용
elwhyjay Feb 9, 2025
01368d1
feat: 서비 worker대기시간 조정
elwhyjay Feb 9, 2025
7ffd95f
feat: text ocr 후처리 로직 추가
elwhyjay Feb 9, 2025
36a32f7
feat: pdf 업로드 엔드포인트 구현
elwhyjay Feb 9, 2025
0b3de70
feat: 엔드포인트에서 호출하는 서비스 로직 구현.
elwhyjay Feb 9, 2025
ae3f58b
style: isort 적용
elwhyjay Feb 9, 2025
b080d6e
style: isort,black 적용
elwhyjay Feb 9, 2025
7b2dc87
style: isort,black 적용
elwhyjay Feb 9, 2025
b7c0d7a
feat: 테이블 데이터는 upstage ocr 사용
elwhyjay Feb 9, 2025
a46e914
docs: 후처리 스크립트 실행방법 추가
elwhyjay Feb 9, 2025
35034cd
.gitignore 수정
elwhyjay Feb 9, 2025
f719dc6
chore: chatting template query와 구분해 추가
elwhyjay Feb 9, 2025
5d4d2cb
feat: rewritten query on-off 기능 추가
elwhyjay Feb 9, 2025
24fa407
feat: add company dictionary
imJeongmi Feb 9, 2025
c651b16
feat: add LoadingIcon to widgets
imJeongmi Feb 9, 2025
d47d6b7
fix: update file upload message
imJeongmi Feb 9, 2025
488885d
fix: navigate and message
imJeongmi Feb 9, 2025
52755c3
fix: update layout
imJeongmi Feb 9, 2025
47439fc
fix: ExchangeRateWidget logic
imJeongmi Feb 9, 2025
638912b
fix: update api
imJeongmi Feb 9, 2025
201b875
feat: add logo
imJeongmi Feb 9, 2025
ad85825
chore: langchain_community import변경
elwhyjay Feb 10, 2025
1bf98c9
feat: prometheus logging 제거
elwhyjay Feb 10, 2025
670cae6
feat: query,response log txt로 저장
elwhyjay Feb 10, 2025
9cbfc98
style: black, isort 적용
elwhyjay Feb 10, 2025
9cbc6be
feat: query return body 변수명 수정
elwhyjay Feb 10, 2025
22f20d1
fix: 파라미터 개수 오류 수정
elwhyjay Feb 10, 2025
1ed2ce9
fix: widgets logic
imJeongmi Feb 10, 2025
5b19f26
chore: remove unused icon
imJeongmi Feb 10, 2025
de97cae
Merge pull request #18 from boostcampaitech7/frontend
elwhyjay Feb 10, 2025
e761e78
feat: chatting endpoint 변경
elwhyjay Feb 10, 2025
8622ad6
feat: 채팅처리시 쿼리 캐싱
elwhyjay Feb 10, 2025
ea468f0
chore: 회사명 filtering log 추가
elwhyjay Feb 10, 2025
197bc2e
Merge branch 'main' of github.com:boostcampaitech7/level4-nlp-finalpr…
elwhyjay Feb 10, 2025
e90d803
fix: pdf pipeline path bug fix
elwhyjay Feb 11, 2025
a056928
chore: log 추가
elwhyjay Feb 12, 2025
b7d09c1
fix: path bug 수정
elwhyjay Feb 12, 2025
5f90bfb
style: black, isort 적용
elwhyjay Feb 12, 2025
1041969
docs: add initial README file
elwhyjay Feb 16, 2025
83786b5
docs: add README.md
starlike6617 Feb 16, 2025
e48db91
fix: update .gitignore to include images directory
starlike6617 Feb 16, 2025
e3ce705
feat: add profile images to the images directory
starlike6617 Feb 16, 2025
9c94b4e
docs: update README.md
starlike6617 Feb 16, 2025
30c2806
feat: Add fine-tuning module for Retriever Embedding Model
wonsjeong Feb 16, 2025
edaeb93
feat: add demo video and flowchart image
starlike6617 Feb 16, 2025
17b0e5b
docs: update README.md with project overview, dataset details, evalua…
starlike6617 Feb 16, 2025
4927eea
docs: embed demo video in README.md
starlike6617 Feb 16, 2025
03b4544
docs: update project title in README.md
starlike6617 Feb 16, 2025
54c3fdf
docs: update README.md with execution instructions and evaluation dat…
starlike6617 Feb 16, 2025
097afae
fix: numerical representation
imJeongmi Feb 16, 2025
0055ad8
docs: update FE README.md
imJeongmi Feb 16, 2025
9981a64
docs: restore README.md to previous version
starlike6617 Feb 16, 2025
b4db049
docs: add comment regarding video playback issue
starlike6617 Feb 16, 2025
94b2736
Update README.md
elwhyjay Feb 16, 2025
099aa0b
docs: update FE README.md
imJeongmi Feb 16, 2025
ddc2a60
Update README.md
elwhyjay Feb 16, 2025
df48e43
Update README.md
elwhyjay Feb 16, 2025
26e2b2f
Update README.md
elwhyjay Feb 16, 2025
f4a0b6f
docs: Update README.md
wonsjeong Feb 16, 2025
3a3a7a2
Update README.md
Mujae Feb 26, 2025
ca053ab
Create LICENSE
elwhyjay Mar 3, 2025
b73b1d5
fix: replace transformers.AdamW with torch.optim.AdamW
Mujae Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Configuration: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository

blank_issues_enabled: false
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/❓-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "❓ Question"
about: "Ask a question about this project \U0001F393"
title: ''
labels: ''
assignees: ''

---

## Checklist

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] I've searched the project's [`issues`]

## ❓ Question

<!-- What is your question -->

How can I [...]?

Is it possible to [...]?

## 📎 Additional context

<!-- Add any other context or screenshots about the feature request here. -->
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/🐛-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: "\U0001F41B Bug Report"
about: "If something isn't working \U0001F527"
title: ''
labels: ''
assignees: ''

---

## 🐛 Bug Report

<!-- A clear and concise description of what the bug is. -->

## 🔬 How To Reproduce

Steps to reproduce the behavior:

1. ...

### Environment

- OS: [e.g. Linux / Windows / macOS]
- Python version, get it with:

```bash
python --version
```

## 📎 Additional context

<!-- Add any other context about the problem here. -->
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/🚀-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: "\U0001F680 Feature Request"
about: "Suggest an idea for this project \U0001F3D6"
title: ''
labels: ''
assignees: ''

---

## 🚀 Feature Request

<!-- A clear and concise description of the feature proposal. -->

## 📎 Additional context

<!-- Add any other context or screenshots about the feature request here. -->
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Description

<!-- Add a more detailed description of the changes if needed. -->

## Related Issue

<!-- If your PR refers to a related issue, link it here. -->
32 changes: 32 additions & 0 deletions .github/workflows/check-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: check-lint

on: [pull_request]

jobs:
check-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Cache pip
uses: actions/cache@v2
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
- name: Check Lint (black, flake8, isort)
run: |
make quality
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.env
*.log
*.csv
*.parquet
.ipynb_checkpoints/
.deepeval
.deepeval_telemtry.txt


.DS_Store
*.json
*.csv
*.pdf
*.png
*.jpg
*.jpeg
*.gif
*.bmp
*.tiff
*.ico
*.webp
*.pdf

/vector_db
*.bin
*.sqlite3
__pycache__/

.hydra/
*.pickle

test.sh

outputs/
dist/
passage_encoder/
query_encoder/

!images/
!images/**/*
15 changes: 15 additions & 0 deletions .gitmessage
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Title: Summary, imperative, start upper case, don't end with a period
# No more than 50 chars. #### 50 chars is here: #

# Remember blank line between title and body.

# Body: Explain *what* and *why* (not *how*). Include task ID (Jira issue).
# Wrap at 72 chars. ################################## which is here: #

# feat : 기능 (새로운 기능)
# fix : 버그 (버그 수정)
# refactor: 리팩토링
# style : 스타일 (코드 형식, 세미콜론 추가: 비즈니스 로직에 변경 없음)
# docs : 문서 (문서 추가, 수정, 삭제)
# test : 테스트 (테스트 코드 추가, 수정, 삭제: 비즈니스 로직에 변경 없음)
# chore : 기타 변경사항 (빌드 스크립트 수정,패키지 매니저 수정사항 등)
25 changes: 25 additions & 0 deletions FE/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
.env
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
57 changes: 57 additions & 0 deletions FE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Front-End

## 실행 방법

### 💽 &nbsp;패키지 설치
``` bash
npm install
```

### 🏃🏻 &nbsp;실행
``` bash
npm run dev
```

### ⚒️ &nbsp;빌드
``` bash
npm run build
```

## 🔢 &nbsp;Version
React `18.3.1` , react-router-dom `7.1.5` , mui `6.4.2` , axios `1.7.9`

## 📂 &nbsp;파일 구조
```
FE/
├── index.html
├── proxy-server.js
├── tailwind.config.js
├── vite.config.js
├── package-lock.json
├── package.json
├── README.MD
├── node_modules/
├── public/
| ├── favicon.ico
├── src/
│ ├── App.css
│ ├── index.css
│ ├── App.jsx
│ ├── main.jsx
│ ├── api/
│ │ ├── api.jsx
│ │ ├── query.jsx
│ ├── assets/
│ │ ├── icon/
│ ├── components/
│ │ ├── atom/
│ │ │ ├── ...
│ │ ├── module/
│ │ │ ├── ...
│ │ ├── page/
│ │ │ ├── chat.jsx
│ │ │ ├── home.jsx
│ ├── configs/
│ │ ├── router.jsx
│ │ ├── theme.jsx
```
12 changes: 12 additions & 0 deletions FE/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import pluginReact from "eslint-plugin-react";


/** @type {import('eslint').Linter.Config[]} */
export default [
{files: ["**/*.{js,mjs,cjs,jsx}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
pluginReact.configs.flat.recommended,
];
13 changes: 13 additions & 0 deletions FE/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="./src/public/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FRAG</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
6 changes: 6 additions & 0 deletions FE/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
33 changes: 33 additions & 0 deletions FE/proxy-server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import express from 'express';
import axios from 'axios';
import cors from 'cors';

const app = express();
const PORT = 3001;

const URL = 'https://api-v2.deepsearch.com/v1/articles/economy';
const apiKey = import.meta.env.VITE_NEWS_API_KEY;

app.use(cors());

app.get('/api/news', async (req, res) => {
const { keyword, date_from, date_to, page_size } = req.query;

try {
const response = await axios.get(URL, {
headers: {
Authorization: `Bearer ${apiKey}`,
},
params: { keyword, date_from, date_to, page_size},
});

res.json(response.data);
} catch (error) {
console.error('Error fetching news:', error);
res.status(500).json({ error: 'Failed to fetch news' });
}
});

app.listen(PORT, () => {
console.log(`Proxy server is running on http://localhost:${PORT}`);
});
9 changes: 9 additions & 0 deletions FE/src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.body-style {
background: #101010;
background-size: cover;
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
}
14 changes: 14 additions & 0 deletions FE/src/App.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react';
import RouterConfiguration from './configs/router';

import './App.css';

function App() {
return (
<div className='body-style'>
<RouterConfiguration />
</div>
);
}

export default App;
13 changes: 13 additions & 0 deletions FE/src/api/api.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import axios from 'axios'

const authorization = btoa('[email protected]:1234');

const api = axios.create({
baseURL: 'http://10.28.224.90:30685/api/',
headers: {
'Authorization': `Basic ${authorization}`,
'Content-Type': 'application/json',
}
});

export default api;
Loading
Loading