Skip to content

SonAIengine/ai-car-search

Repository files navigation

중고차 검색 웹 애플리케이션

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               # 레이아웃 컴포넌트

컴포넌트 설명

  1. AIReasoning: AI의 검색 판단 근거를 표시
  2. CarCard: 개별 차량 카드를 렌더링
  3. CarPlaceholder: 이미지 로딩 실패 시 표시되는 SVG 기반 차량 이미지
  4. LoadingIndicator: 검색 중 로딩 상태 표시
  5. NoResults: 검색 결과가 없을 때 표시되는 안내 메시지 및 대체 추천
  6. OtherCarsSection: 관련 차량 표시 섹션
  7. RecommendationsSection: 추천 차량 섹션
  8. RecommendedCarCard: 추천 차량 카드
  9. SearchBar: 검색 입력 컴포넌트
  10. SearchResultsGrid: 검색 결과를 그리드 형태로 표시

유틸리티 함수

  1. debounce: 디바운스 처리 유틸리티 함수
  2. getColorCode: 차량 색상 텍스트를 색상 코드로 변환하는 함수

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open 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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.

About

AI-powered car search platform — find your perfect vehicle with natural language queries

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors