Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
10b23c0
build: cypress, eslint, prettier 설치, 설정
SDWoo Nov 10, 2022
c0013b4
style: 마크업 및 스타일 구현
SDWoo Nov 10, 2022
c9d994f
feat(DocumentList): Toggle List 기능 구현
SDWoo Nov 11, 2022
1e4dfc7
feat: modal 창 구현
SDWoo Nov 13, 2022
266ffc6
feat: Editor 창 구현
SDWoo Nov 13, 2022
fe4bb65
feat: SideBar 구현
SDWoo Nov 13, 2022
96ce061
fix(SideBar): textList 구조 수정
SDWoo Nov 14, 2022
422c061
feat: api request 구현
SDWoo Nov 14, 2022
d3e3df4
feat(SideBar): Root Document 새로 만들기 기능 구현
SDWoo Nov 14, 2022
31aa54a
feat(Modal): 모달 닫기, 전체화면 버튼 기능 구현
SDWoo Nov 14, 2022
f804139
fix: App 컴포넌트 추가 및 구조 변경
SDWoo Nov 14, 2022
9dc68e7
style: Modal 스타일 추가 및 list-item hover 스타일 변경
SDWoo Nov 14, 2022
89c1330
feat(SideBar): 게시물 추가 기능 구현
SDWoo Nov 15, 2022
4e20254
feat: storage 추가
SDWoo Nov 15, 2022
2231070
refactor(SideBar): 자식 List 게시물 추가 기능 구현
SDWoo Nov 15, 2022
f50ad12
feat(SideBar): 게시물 삭제 기능 구현
SDWoo Nov 15, 2022
60cd45e
feat(SideBar): 게시물 클릭 시, 해당 게시물 정보 Editor에 구현
SDWoo Nov 15, 2022
1cd4af0
feat(Editor): document 수정 Api 연동
SDWoo Nov 15, 2022
8e4054d
feat: router 기능 구현
SDWoo Nov 15, 2022
5f83430
feat: 라이브러리 기능들(constant, router, storage, utils) 구현
SDWoo Nov 16, 2022
7a7d525
feat(SideBar): localStorage를 이용한 SideBar 유지 기능 구현
SDWoo Nov 19, 2022
b861e69
feat(Editor): 처음 화면 구현 완료
SDWoo Nov 20, 2022
b716bc0
feat(SideBar): 선택된 게시물 Bold 기능 구현
SDWoo Nov 20, 2022
2263289
refactor: 폴더 구조 및 리팩토링
SDWoo Nov 20, 2022
afc8bcc
refactor: 폴더 구조 리팩토링
SDWoo Nov 21, 2022
1d49c72
feat: Netlify 배포 설정
SDWoo Nov 21, 2022
faad7e3
Update README.md
SDWoo Apr 9, 2023
afb9f7a
Update README.md
SDWoo Apr 9, 2023
5d656cb
Update README.md
SDWoo Apr 9, 2023
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules
/cypress/downloads
/cypress/fixtures
/src/api/apiEndPoint.js
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
# 📌 4주차 프로젝트[Project1]
# Dongtion
<img width="1328" alt="image" src="https://user-images.githubusercontent.com/28768535/230762564-8372c564-2039-4758-a49b-44425cffead6.png">

## 필수 프로젝트
## VanllaJS로 Notion 구현해보기

### 개발 과정
1. 컴포넌트를 먼저 나누어 마크업 구조를 짜봤다.
<img width="625" alt="image" src="https://user-images.githubusercontent.com/28768535/230762105-6986ae2e-14bd-4c2a-8c42-6c547595eac0.png">
- Editor, SideBar, Modal 세개의 큰 컴포넌트가 나왔다.
- 먼저 마크업을 구현하고 세세한 마크업은 기능을 구현하면서 수정했다.

2. 각 컴포넌트에 어떤 상태가 필요한지 구하고, 상태에 따른 렌더링을 구현했다.
<img width="724" alt="image" src="https://user-images.githubusercontent.com/28768535/230762474-351b31f8-60f7-4e52-8053-fdc11e2716e8.png">

3. 각 컴포넌트의 기능을 구현했다.
<img width="625" alt="image" src="https://user-images.githubusercontent.com/28768535/230762443-f07a856a-03e1-4e4f-8eaa-b11b49e9247a.png">

4. 자잘한 오류나 에러들을 고치며 리팩토링을 진행했다.
<img width="625" alt="image" src="https://user-images.githubusercontent.com/28768535/230762430-a435f789-c205-4bf1-8362-fab1763c4fd0.png">

- 프로젝트 기한
- 프로젝트 수행 기간 : 2022년 11월 8일(화) ~ 2022년 11월 16일(수)
- 멘티 코드 리뷰 기간 : 2022년 11월 17일(목) ~ 2022년 11월 20일(일)
- 멘토 코드 리뷰 기간 : 2022년 11월 17일(목) ~ 2022년 11월 22일(화)
- 코드 리뷰 반영 기간 : 2022년 11월 23일(수) ~ 2022년 11월 25일(금)
- 내용
- **Day 17 [프로젝트] 노션 클로닝 요구사항** 확인 부탁드립니다.
1 change: 1 addition & 0 deletions _redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200
10 changes: 10 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
projectId: 'k19v3g',
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
},
}
})
1 change: 1 addition & 0 deletions cypress/e2e/spec.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
describe('test', () => {});
25 changes: 25 additions & 0 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
// For more comprehensive examples of custom
// commands please read more here:
// https://on.cypress.io/custom-commands
// ***********************************************
//
//
// -- This is a parent command --
// Cypress.Commands.add('login', (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
20 changes: 20 additions & 0 deletions cypress/support/e2e.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// ***********************************************************
// This example support/e2e.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/src/assets/css/style.css" />
<link
href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
rel="stylesheet"
/>
<title>Notion Cloning</title>
</head>
<body>
<main id="app"></main>
<script src="/src/main.js" type="module"></script>
</body>
</html>
Loading