Next.js로 구현된 중고차 검색 웹 애플리케이션입니다.
/src
/app
/components # 컴포넌트 디렉토리
AIReasoning.js # AI 추천 결과를 표시하는 컴포넌트
CarCard.js # 개별 차량 카드 컴포넌트
CarPlaceholder.js # 이미지 로딩 실패 시 표시되는 기본 이미지 컴포넌트
LoadingIndicator.js # 로딩 상태 표시 컴포넌트
NoResults.js # 검색 결과가 없을 때 표시되는 컴포넌트
OtherCarsSection.js # 다른 관련 차량 섹션 컴포넌트
RecommendationsSection.js # 추천 차량 섹션 컴포넌트
RecommendedCarCard.js # 추천 차량 카드 컴포넌트
SearchBar.js # 검색 입력 컴포넌트
SearchResultsGrid.js # 검색 결과 그리드 컴포넌트
/utils # 유틸리티 함수
helpers.js # 공통 유틸리티 함수 (디바운스, 색상 코드 등)
/api # API 관련 코드
page.js # 메인 페이지
layout.js # 레이아웃 컴포넌트
- AIReasoning: AI의 검색 판단 근거를 표시
- CarCard: 개별 차량 카드를 렌더링
- CarPlaceholder: 이미지 로딩 실패 시 표시되는 SVG 기반 차량 이미지
- LoadingIndicator: 검색 중 로딩 상태 표시
- NoResults: 검색 결과가 없을 때 표시되는 안내 메시지 및 대체 추천
- OtherCarsSection: 관련 차량 표시 섹션
- RecommendationsSection: 추천 차량 섹션
- RecommendedCarCard: 추천 차량 카드
- SearchBar: 검색 입력 컴포넌트
- SearchResultsGrid: 검색 결과를 그리드 형태로 표시
- debounce: 디바운스 처리 유틸리티 함수
- getColorCode: 차량 색상 텍스트를 색상 코드로 변환하는 함수
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.