Skip to content

KMS-SmartCart/SmartCart-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SmartCart - Frontend



Smart CartΒ Β πŸ›’

온/μ˜€ν”„λΌμΈ 마트 μ΅œμ €κ°€ 비ꡐ μ„œλΉ„μŠ€
Explore the team Β»


Β πŸ“–Β λͺ©μ°¨
  1. Β Β πŸ” Introduction
  2. Β Β πŸ“Ή Demo
  3. Β Β πŸ’» Architecture
  4. Β Β πŸ’‘ Tech Stack
  5. Β Β πŸ—‚οΈ Database
  6. Β Β πŸ“— API
  7.   🀝 Git Convention
  8. Β Β πŸ“‚ Package Convention
  9. Β Β πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘§ Team

πŸ” Introduction

Description

λ¬Όκ°€κ°€ μΉ˜μ†ŸλŠ” μš”μ¦˜, μž₯보기가 λΆ€λ‹΄μŠ€λŸ½μ§„ μ•ŠμœΌμ‹ κ°€μš”?
μ˜€ν”„λΌμΈ λ§€μž₯의 "νŠΉκ°€" μƒν’ˆμ΄ 정말 μ΅œμ €κ°€μΈμ§€, μ†ŒλΉ„μžμ˜ μ˜λ¬Έμ„ ν•΄κ²°ν•˜κ³ μž ν•©λ‹ˆλ‹€.
μŠ€λ§ˆνŠΈμΉ΄νŠΈκ°€ μ˜€ν”„λΌμΈκ³Ό 온라인의 가격을 μ‹€μ‹œκ°„μœΌλ‘œ 비ꡐ해 ν˜„λͺ…ν•œ μ†ŒλΉ„λ₯Ό λ„μ™€λ“œλ¦½λ‹ˆλ‹€.

Main Feature

  • PWA 지원 :Β Β μ›Ή λ‚΄μ—μ„œ κ°„νŽΈν•˜κ²Œ 앱을 μ„€μΉ˜ν•  수 μžˆλ„λ‘ μ•ˆλ‚΄
  • μ†Œμ…œ 둜그인 :Β Β Google, Naver, Kakao κ³„μ •μœΌλ‘œ κ°„νŽΈν•˜κ²Œ 둜그인
  • 체크리슀트 :Β Β μž₯ λ³Ό ν•­λͺ©μ„ μ†μ‰½κ²Œ 관리
  • 슀마트 렌즈 :Β Β μ˜€ν”„λΌμΈ λ§€μž₯의 κ°€κ²©ν‘œ 촬영 ν›„, 온라인 μ΅œμ €κ°€μ™€ 비ꡐ 확인
    • 1단계 :Β Β ChatGPT Vision API - μ΄¬μ˜ν•œ κ°€κ²©ν‘œμ˜ 'μƒν’ˆλͺ…, μš©λŸ‰, 가격' μΆ”μΆœ
    • 2단계 :Β Β Naver Shopping API - ν•΄λ‹Ή μƒν’ˆμ˜ 온라인 μ΅œμ €κ°€ λͺ©λ‘ 3κ³³ 제곡
    • 3단계 :Β Β ChatGPT Text API - μ΅œμ €κ°€ λͺ©λ‘μ˜ λΆˆν•„μš”ν•œ λ‚΄μš©μ„ κΉ”λ”νžˆ 정리
  • μž₯λ°”κ΅¬λ‹ˆΒ :Β Β μ›ν•˜λŠ” μƒν’ˆμ„ μ„ νƒν•˜μ—¬ λ‹΄κ³ , 총 결제 κΈˆμ•‘ 및 μ ˆμ•½ κΈˆμ•‘μ„ 확인
  • λ‚΄ 정보 :  슀마트카트둜 μ•„λ‚€ λˆ„μ  μ ˆμ•½ κΈˆμ•‘ 확인

πŸ“Ή Demo

πŸ“€Β Β Demo VideoΒ :Β Β Play!

PWA 지원 μ†Œμ…œ 둜그인 체크리슀트
PWA μ›Ήμ•± μ„€μΉ˜ ꡬ글, 넀이버, 카카였 계정 μž₯ λ³Ό ν•­λͺ© 관리
슀마트 렌즈 μž₯λ°”κ΅¬λ‹ˆ λ‚΄ 정보
κ°€κ²©ν‘œ 촬영 & μ΅œμ €κ°€ 비ꡐ 결제 κΈˆμ•‘ & μ ˆμ•½ κΈˆμ•‘ ν”„λ‘œν•„ 관리 & λˆ„μ  μ ˆμ•½ κΈˆμ•‘

πŸ’» Architecture

System

smartcart_architecture drawio

Network

smartcart_network_architecture drawio


πŸ’‘ Tech Stack

Frontend Backend SecurityΒ Β &Β Β DB Deployment Other










- Frontend : React, JavaScript
- Backend : Spring Boot, Java | Security, JWT, OAuth2 | MySQL
- External API : ChatGPT, Naver Shopping
- Deployment : AWS Amplify, AWS Elastic Beanstalk, Docker, Github Actions
- Documentation : Notion, Swagger

πŸ—‚οΈ Database

smartcart_database

πŸ“— API

smartcart_swagger_api

🀝 Git Convention

Branch

  • λ°˜λ“œμ‹œ "develop"μ—μ„œ λ»—μ–΄λ‚˜μ™€ develop으둜 "merge" λ˜μ–΄μ•Όν•œλ‹€.
  • main : μΆœμ‹œ 배포 CI/CD용 branch (λ―Έμ‚¬μš©)
  • develop : 개발 배포 CI/CD용 branch
  • feature : κΈ°λŠ₯ κ΅¬ν˜„μš© branch
  • Issue_μ’…λ₯˜/#Issue_번호 : branch 생성

Issue

✨ Feat πŸ› Fix ♻️ Refactor βœ… Test
πŸ“ File πŸ“ Docs πŸ”§ Chore βš™οΈ Setting

μ’…λ₯˜ λ‚΄μš©
✨ Feat κΈ°λŠ₯ κ΅¬ν˜„
πŸ› Fix 버그 μˆ˜μ •
♻️ Refactor μ½”λ“œ λ¦¬νŒ©ν† λ§
βœ… Test ν…ŒμŠ€νŠΈ 업무
πŸ“ File 파일 이동 λ˜λŠ” μ‚­μ œ, 파일λͺ… λ³€κ²½
πŸ“ Docs md, yml λ“±μ˜ λ¬Έμ„œ μž‘μ—…
πŸ”§ Chore μ΄μ™Έμ˜ μ• λ§€ν•˜κ±°λ‚˜ μžμž˜ν•œ μˆ˜μ •
βš™οΈ Setting λΉŒλ“œ 및 νŒ¨ν‚€μ§€ λ“± ν”„λ‘œμ νŠΈ μ„€μ •
< Issue Title >
[Issue_μ’…λ₯˜] κ΅¬ν˜„_μ£Όμš”λ‚΄μš©
ex-1) [Feat] 둜그인 νŽ˜μ΄μ§€ UI κ΅¬ν˜„
ex-2) [Feat] 둜그인 νŽ˜μ΄μ§€ κΈ°λŠ₯ κ΅¬ν˜„
ex-3) [Fix] 둜그인 μ—°λ™λ‘œμ§ 였λ₯˜ μˆ˜μ •

Commit

< Commit Message >
[#Issue_번호] Issue_μ’…λ₯˜: κ΅¬ν˜„_λ‚΄μš©
ex-1) [#32] Feat: 둜그인 μ•ˆλ‚΄λͺ¨λ‹¬ UI κ΅¬ν˜„
ex-2) [#33] Feat: 둜그인 κΈ°λŠ₯ μ„œλ²„ 연동
ex-3) [#34] Fix: 둜그인 연동 API Path μˆ˜μ •

Pull Request

  • Pull Request만 날리고, μ€‘μš” ApproveλŠ” reviewerκ°€ ν•œλ‹€.
  • PR에 λŒ€ν•΄ μ΅œμ†Œ 1λͺ… μ΄μƒμ˜ 승인이 μžˆμ–΄μ•Ό Mergeκ°€ κ°€λŠ₯ν•˜λ‹€.
< PR Title >
[#Issue_번호] Issue_μ’…λ₯˜: μ΄μŠˆλ‚΄μš©
ex) [#32] Feat: 둜그인 νŽ˜μ΄μ§€ UI κ΅¬ν˜„

πŸ“‚ Package Convention

Structure

β”œβ”€β”€ .github : Issue 및 PR ν…œν”Œλ¦Ώ
β”œβ”€β”€ public : PWA ꡬ성 파일
└── src
    β”œβ”€β”€ apis : Axios 인터셉터
    β”œβ”€β”€ assets : 이미지 파일
    β”œβ”€β”€ components
    β”‚Β Β  β”œβ”€β”€ Modal : λͺ¨λ‹¬
    β”‚Β Β  └── Navigation : λ„€λΉ„λ°”
    β”œβ”€β”€ pages
    β”‚Β Β  β”œβ”€β”€ Product : μƒν’ˆ νŽ˜μ΄μ§€
    β”‚Β Β  └── User : μ‚¬μš©μž νŽ˜μ΄μ§€
    └── utils
Β Detailed StructureΒ :Β Open!
β”œβ”€β”€ .github
β”‚   β”œβ”€β”€ ISSUE_TEMPLATE
β”‚   β”‚   β”œβ”€β”€ custom.md
β”‚   β”‚   β”œβ”€β”€ feature.md
β”‚   β”‚   β”œβ”€β”€ fix.md
β”‚   β”‚   └── refactor.md
β”‚   └── PULL_REQUEST_TEMPLATE.md
β”œβ”€β”€ package.json
β”œβ”€β”€ public
β”‚Β Β  β”œβ”€β”€ carticon128.png
β”‚Β Β  β”œβ”€β”€ carticon192.png
β”‚Β Β  β”œβ”€β”€ carticon512.png
β”‚Β Β  β”œβ”€β”€ favicon.ico
β”‚Β Β  β”œβ”€β”€ index.html
β”‚Β Β  β”œβ”€β”€ linkthumbnail.png
β”‚Β Β  β”œβ”€β”€ manifest.json
β”‚Β Β  └── service-worker.js
└── src
    β”œβ”€β”€ App.css
    β”œβ”€β”€ App.js
    β”œβ”€β”€ index.css
    β”œβ”€β”€ index.js
    β”œβ”€β”€ apis
    β”‚Β Β  └── Api.jsx
    β”œβ”€β”€ assets
    β”‚Β Β  └── images
    β”‚Β Β      β”œβ”€β”€ google.png
    β”‚Β Β      β”œβ”€β”€ kakao.png
    β”‚Β Β      β”œβ”€β”€ mainicon.png
    β”‚Β Β      β”œβ”€β”€ naver.png
    β”‚Β Β      └── smartcartlogo.png
    β”œβ”€β”€ components
    β”‚Β Β  β”œβ”€β”€ Modal
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ConfirmModal.jsx
    β”‚Β Β  β”‚Β Β  └── DeleteUserModal.jsx
    β”‚Β Β  └── Navigation
    β”‚Β Β      └── BottomNav.jsx
    β”œβ”€β”€ pages
    β”‚Β Β  β”œβ”€β”€ Product
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ CameraPage.jsx
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ CartPage.jsx
    β”‚Β Β  β”‚Β Β  β”œβ”€β”€ ItemInfoPage.jsx
    β”‚Β Β  β”‚Β Β  └── LowestItemPage.jsx
    β”‚Β Β  └── User
    β”‚Β Β      β”œβ”€β”€ LoginPage.jsx
    β”‚Β Β      β”œβ”€β”€ MainPage.jsx
    β”‚Β Β      └── MyPage.jsx
    └── utils
        └── CheckToken.js

πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘§ Team

μ‚¬ν˜„μ§„ 김희원 λͺ©κ²½λ―Ό
FullStack Developer,
DevOps Engineer
Frontend Developer,
Designer
Frontend Developer,
Designer

About

SmartCart-frontend / React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •