Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a8735a6
chore: 환경 설정
intae92 Mar 22, 2022
9bfd57c
docs: 요구사항 정리
intae92 Mar 22, 2022
ab85237
feat: VendingMachine 클래스 생성
intae92 Mar 22, 2022
29d2ec1
feat: 잔동 충전 기능 구현
intae92 Mar 22, 2022
bb8519f
test: 자판기 상품 추가 테스트
intae92 Mar 22, 2022
39dd476
feat: 상품추가 유효성 검증 기능 구현
intae92 Mar 22, 2022
5b7fb2a
test: 상품추가 유효성 검증 테스트 코드
intae92 Mar 22, 2022
f07ca74
test: 잔돈 충전 기능 테스트
intae92 Mar 22, 2022
87ee77a
feat: 마크업 설계 작성
intae92 Mar 22, 2022
d4a17f6
style: 마크업 css 스타일 적용
intae92 Mar 22, 2022
9556d58
feat: 라우터 적용(url), ProductManage View 클래스 설계
intae92 Mar 22, 2022
faca75d
feat: ChangeAdd 라우터에 연결
intae92 Mar 22, 2022
2d42296
feat: 상품추가 이벤트 바인딩
intae92 Mar 23, 2022
22fe134
refactor: interface 분리
intae92 Mar 23, 2022
c4bdca1
chore: prettier 라인별 글자 수 수정
intae92 Mar 23, 2022
8249257
feat: getProducts 추가
intae92 Mar 23, 2022
7366550
refactor: 컴포넌트 요소 분리
intae92 Mar 23, 2022
c669ddd
feat: 상품 추가 목록 렌더링 구현
intae92 Mar 23, 2022
6e11a65
style: product modify css 수정
intae92 Mar 23, 2022
070fbf0
feat: product 정보 수정 기능 구현
intae92 Mar 23, 2022
7313f5a
feat: 상품 삭제 기능 구현
intae92 Mar 23, 2022
7621b41
docs: 기능목록 구현 상황 업데이트
intae92 Mar 23, 2022
1ccb5f0
style: 라인 글자 수 설정
intae92 Mar 23, 2022
254962b
feat: 잔돈 충전 페이지 구현
intae92 Mar 23, 2022
022c496
test: 잔돈 충전 테스트 작성
intae92 Mar 23, 2022
b3874d9
docs: 요구사항 문서 갱신
intae92 Mar 23, 2022
1e1e591
chore: git pages deploy setting
intae92 Mar 23, 2022
1d89c0c
fix: pathname url 누락 이슈 해결
intae92 Mar 23, 2022
a5f10d6
chore: 로그 제거
intae92 Mar 23, 2022
c913b89
style: css color 변수화
intae92 Mar 23, 2022
7107d96
refactor: 함수 네이밍 변경, 매직넘버 제거
intae92 Mar 23, 2022
53c0614
refactor: 축약형 표기로 변경
usageness Mar 26, 2022
c0410eb
chore: 테스트의 설명을 대상 동작과 일치하도록 변경
usageness Mar 26, 2022
63e3be6
style: web font 추가, 0 단위의 px 삭제
usageness Mar 26, 2022
37a0e69
refactor: routes 를 클래스 구조로 변경
usageness Mar 26, 2022
d586ee5
ChangeAdd page 컴포넌트 역할 재분담
usageness Mar 27, 2022
47a8b5f
refactor: 상품 관리 페이지 컴포넌트 역할 재분배
usageness Mar 27, 2022
ab3e22d
chore: type-only export 추가
usageness Mar 27, 2022
e440957
refactor: 외부에 노출되지 않는 메서드들을 private으로 변경
usageness Mar 27, 2022
8c3b159
chore: 지속적으로 할당되는 배열을 상단에서 변수로 미리 선언
usageness Mar 27, 2022
bb987d2
refactor: 중복된 상품명 확인 로직 분리
usageness Mar 27, 2022
cc2fcaf
refactor: 중복된 상품명 확인 로직 분리
usageness Mar 27, 2022
f8dfbd5
chore: 잔돈 추가 페이지 이름 변경
usageness Mar 27, 2022
6923902
refactor: url 상수화
usageness Mar 27, 2022
c7db9a3
chore: fix conflict
usageness Mar 27, 2022
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
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Dependency directories
node_modules/
node_modules/

dist
13 changes: 13 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "avoid",
"vueIndentScriptAndStyle": false,
"endOfLine": "auto"
}
22 changes: 15 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
<!DOCTYPE html>
<html lang="ko">

<head>
<head>
<meta charset="UTF-8" />
<title>자판기</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 메타태그는 무얼 나타내나요?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

모바일에서 보이는 크기와 배율을 설정할 수 있는 태그네요! 몰랐던 키워드인데 찾아보면서 알게됐습니다 😅

</head>
</head>

<body>
<body>
<div id="app">
<header>
<h1>🍿 자판기 🍿</h1>
</div>
</body>
<nav>
<button type="button" id="product-manage-button">상품 관리</button>
<button type="button" id="change-add-button">잔돈 충전</button>
<button type="button" id="product-purchase-button">상품 구매</button>
</nav>
</header>
<section class="input-section"></section>

</html>
<section class="contents-container"></section>
</div>
</body>
</html>
Loading