Skip to content

khu-bigdata-project-team-5/client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

86 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

INFoU Client

λͺ©μ°¨

Introduction

ν•΄λ‹Ή ν”„λ‘œμ νŠΈλŠ” INFoUμ—μ„œ μ œκ³΅ν•˜λŠ” 데이터λ₯Ό 기반으둜 κ°•μ˜ μΆ”μ²œ μ„œλΉ„μŠ€λ₯Ό μ œκ³΅ν•˜λŠ” Client ν”„λ‘œμ νŠΈμž…λ‹ˆλ‹€.

μ£Όμš”κΈ°λŠ₯은 λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.

  • κ°•μ˜μ˜ ν‚€μ›Œλ“œ μ°ΎκΈ°
  • κ°•μ˜μ˜ ν‚€μ›Œλ“œλ₯Ό 기반으둜 λ‹€λ₯Έ κ°•μ˜ μΆ”μ²œ
  • ν‚€μ›Œλ“œλ³„ κ°•μ˜ 컀리큘럼 생성
  • λ‹€λ₯Έ μœ μ €μ˜ 컀리큘럼 쑰회
  • κ°•μ˜μ˜ κ°•μ˜λ ₯, κ°•μ˜μžλ£Œ, μ‹€μŠ΅, 평점, λ‚œμ΄λ„μ™€ κ°•μ˜ν‰μ˜ 긍정/λΆ€μ • 뢄석 κ²°κ³Όλ₯Ό 제곡

Requirements

  • Node.js v20 이상
  • npm v10 이상

Node.js와 npm에 λŒ€ν•œ 버전은 λ‹€μŒμ˜ λͺ…λ Ήμ–΄λ‘œ 확인할 수 μžˆμŠ΅λ‹ˆλ‹€.

$ node -v
v22.2.0

$ npm -v
10.7.0

Installation

λ ˆν¬μ§€ν† λ¦¬ 클둠 및 μ˜μ‘΄μ„±μ„ μ„€μΉ˜ν•©λ‹ˆλ‹€.

$ git clone
$ npm install

λ°±μ—”λ“œ μ„œλ²„ μ£Όμ†Œ 섀정을 μœ„ν•΄ /src/services/apiService.js νŒŒμΌμ„ μ—΄μ–΄μ„œ baseURL을 μˆ˜μ •ν•©λ‹ˆλ‹€.

const baseUrl = /* λ°±μ—”λ“œ μ„œλ²„ μ£Όμ†Œ */;

const apiService = {...};

Tools

React.js

React.jsλŠ” νŽ˜μ΄μŠ€λΆμ—μ„œ κ°œλ°œν•œ UI 라이브러리둜, μ‚¬μš©μž μΈν„°νŽ˜μ΄μŠ€λ₯Ό λ§Œλ“€κΈ° μœ„ν•œ λΌμ΄λΈŒλŸ¬λ¦¬μž…λ‹ˆλ‹€.

Styled-components

Styled-componentsλŠ” CSS-in-JS 라이브러리둜, JavaScript 파일 λ‚΄μ—μ„œ CSSλ₯Ό μž‘μ„±ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

Architecture

src/components

μ»΄ν¬λ„ŒνŠΈλ“€μ„ λͺ¨μ•„놓은 λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

src/pages

νŽ˜μ΄μ§€λ“€μ„ λͺ¨μ•„놓은 λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

src/services

λ°±μ—”λ“œ μ„œλ²„, λͺ©μ—… 데이터와 ν†΅μ‹ ν•˜κΈ° μœ„ν•œ μ„œλΉ„μŠ€λ“€μ„ λͺ¨μ•„놓은 λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

λͺ©μ μ— 따라 apiService.js, mockService.js둜 λ‚˜λ‰˜μ–΄μ Έ μžˆμŠ΅λ‹ˆλ‹€.

src/api

API λ§ˆλ‹€ μ •μ˜λœ μ—”λ“œν¬μΈνŠΈλ₯Ό λͺ¨μ•„놓은 λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

src/hooks

Custom Hooks Pattern을 μ‚¬μš©ν•˜μ—¬, μ»΄ν¬λ„ŒνŠΈ λ‘œμ§μ„ μž¬μ‚¬μš©ν•˜κΈ° μœ„ν•œ λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

useFetch.jsλŠ” 데이터λ₯Ό κ°€μ Έμ˜€λŠ” λ‘œμ§μ„ μž¬μ‚¬μš©ν•˜κΈ° μœ„ν•œ μ»€μŠ€ν…€ ν›…μž…λ‹ˆλ‹€.

src/data

enum, μƒμˆ˜, λͺ¨λΈ 등을 λͺ¨μ•„놓은 λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

src/mocks

λͺ©μ—… 데이터λ₯Ό λͺ¨μ•„놓은 λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

src/assets

이미지, μ•„μ΄μ½˜ λ“±μ˜ 정적 νŒŒμΌμ„ λͺ¨μ•„놓은 λ””λ ‰ν† λ¦¬μž…λ‹ˆλ‹€.

Demo

Page

ν”„λ‘ νŠΈμ—”λ“œμ˜ 데λͺ¨ νŽ˜μ΄μ§€λŠ” INFoU Web Siteμ—μ„œ 확인할 수 μžˆμŠ΅λ‹ˆλ‹€.

Video

INFoU Client Demo

Contribution

Pull Request

  • λ ˆν¬μ§€ν† μ§€λ₯Ό ν¬ν¬ν•©λ‹ˆλ‹€.
$ git fork https://github.com/khu-bigdata-project-team-5/client.git
  • ν¬ν¬ν•œ λ ˆν¬μ§€ν† λ¦¬λ₯Ό ν΄λ‘ ν•©λ‹ˆλ‹€.
$ git clone https://github.com/your-username/client.git
  • 브랜치λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
$ git checkout -b feature/your-feature
  • 변경사항을 μ»€λ°‹ν•©λ‹ˆλ‹€.
$ git commit -m "Add your feature"
  • 변경사항을 ν‘Έμ‹œν•©λ‹ˆλ‹€.
$ git push origin feature/your-feature
  • Pull Requestλ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.

Issue & Bug Report

Issues νƒ­μ—μ„œ μƒˆλ‘œμš΄ 이슈λ₯Ό λ“±λ‘ν•©λ‹ˆλ‹€.

μΆ”κ°€ κΈ°λŠ₯ κ΅¬ν˜„μ— λŒ€ν•œ μ΄μŠˆλŠ” 슀크린 κ΅¬ν˜„ 이슈둜, 버그 μ œλ³΄λ‚˜ νŠΈλŸ¬λΈ” μŠˆνŒ…μ— κ΄€ν•œ μ΄μŠˆλŠ” νŠΈλŸ¬λΈ” μŠˆνŒ… 이슈둜 μƒμ„±ν•©λ‹ˆλ‹€.

issue-1

각 이슈 νƒ€μž…μ— λ§žλŠ” ν…œν”Œλ¦Ώμ„ 따라 μž‘μ„±ν•©λ‹ˆλ‹€. issue-2

About

πŸ“± INFoU client repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published