Skip to content

Commit

Permalink
Merge pull request #33 from Kangdyu/dev
Browse files Browse the repository at this point in the history
release: 1.0.0 ๐Ÿš€
  • Loading branch information
Kangdyu authored May 21, 2022
2 parents 35a41db + e5d69fe commit 075b60c
Show file tree
Hide file tree
Showing 39 changed files with 18,318 additions and 99 deletions.
77 changes: 70 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,80 @@
# i-ppendix

SKKU iCampus helper
## ์†Œ๊ฐœ

## Development
ํ˜„์žฌ ์„ฑ๊ท ๊ด€๋Œ€ํ•™๊ต์˜ ์•„์ด์บ ํผ์Šค๋ฅผ ์ด์šฉํ•˜๋‹ค๋ณด๋ฉด ๋ถˆํŽธํ•œ ์ ์ด ๋งŽ์ด ๋Š๊ปด์ง„๋‹ค. ์•„์ด์บ ํผ์Šค์˜ ๊ธฐ๋ณธํ™”๋ฉด์ธ ๋Œ€์‹œ๋ณด๋“œ ํŽ˜์ด์ง€์— ์ˆ˜๊ฐ•์ค‘์ธ ๊ณผ๋ชฉ์ด ์นด๋“œ ํ˜•์‹์œผ๋กœ ์กด์žฌํ•˜๊ธฐ๋งŒ ํ•  ๋ฟ, ๊ทธ ์ด์™ธ์— ๋ณ„๋‹ค๋ฅธ ์ •๋ณด๋ฅผ ์ œ๊ณตํ•˜์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค. ์˜ค๋ฅธ์ชฝ์— ์กฐ๊ทธ๋งฃ๊ฒŒ ํ•  ์ผ์ด ๋‚˜์˜ค๊ธฐ๋Š” ํ•˜์ง€๋งŒ, ๋งˆ๊ฐ์ผ ์ˆœ์„œ๊ฐ€ ์•„๋‹ˆ๋ผ ๋“ฑ๋ก๋œ ์ˆœ์„œ๋กœ ์ •๋ ฌ์ด ๋˜์–ด์žˆ์„ ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ ๊ณต์ง€์‚ฌํ•ญ์ด๋‚˜ ์ฐธ๊ณ ์˜์ƒ์ด ํ˜ผ์žฌ๋˜์–ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋ถˆํŽธํ•˜๊ธฐ๋Š” ๋งคํ•œ๊ฐ€์ง€๋‹ค. ๋”ฐ๋ผ์„œ ์šฐ๋ฆฌ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ํŠน์ง•์„ ๊ฐ€์ง„ ์ƒˆ๋กœ์šด ์›น ํŽ˜์ด์ง€๋ฅผ ๊ฐœ๋ฐœํ•˜์˜€๋‹ค.

1. ํŒจํ‚ค์ง€ ์„ค์น˜ ๋ฐ ๋นŒ๋“œ
- ๋ชจ๋“  ๊ณผ๋ชฉ์˜ ์•„์ง ๋“ฃ์ง€ ์•Š์€ ์ˆ˜์—…๊ณผ ๊ณผ์ œ๋ฅผ ๋งˆ๊ฐ์ผ ์ˆœ์œผ๋กœ ์ •๋ ฌ
- ๋งˆ๊ฐ์ผ ๊ธฐ์ค€ ์‹œ๊ฐ„์ด ์–ผ๋งˆ๋‚˜ ๋‚จ์•˜๋Š”์ง€ ํ‘œ์‹œ
- ์ •๋ ฌ๋œ ํ•ญ๋ชฉ ํด๋ฆญ ์‹œ ํ•ด๋‹น ๊ฐ•์˜๋‚˜ ๊ณผ์ œ ํŽ˜์ด์ง€๋กœ ์—ฐ๊ฒฐ
- ์˜จ๋ผ์ธ ์ˆ˜์—… ๋งํฌ ๋“ฑ ๋งค์ฃผ ์—ด๋žŒํ•ด์•ผ ํ•˜๋Š” ๊ณต์ง€์‚ฌํ•ญ์„ ์ฆ๊ฒจ์ฐพ๊ธฐ์— ๋“ฑ๋ก
- ๊ฐ„๋‹จํ•œ ๋ฉ”๋ชจ ๊ธฐ๋Šฅ

์šฐ๋ฆฌ๊ฐ€ ์ค‘์š”ํ•˜๋‹ค๊ณ  ์—ฌ๊ธฐ๋Š” ํ•ญ๋ชฉ๋“ค์„ ๋น ๋ฅด๊ฒŒ ์‚ดํŽด๋ณด๊ณ , ์›ํ•˜๋Š” ํŽ˜์ด์ง€๋กœ ๋ฐ”๋กœ ์ด๋™ํ•  ์ˆ˜ ์žˆ๋„๋ก ์•ˆ๋‚ดํ•˜๋Š” ๊ฒƒ์ด ์ „๊ณต์ฑ…์— ์ˆ˜๋ก๋œ ๋ถ€๋ก(appendix)๊ณผ ์œ ์‚ฌํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•˜์—ฌ i-campus์™€ appendix์˜ ํ•ฉ์„ฑ์–ด์ธ `i-ppendix`๋ฅผ ํ”„๋กœ๊ทธ๋žจ๋ช…์œผ๋กœ ์‚ผ์•˜๋‹ค.

![ippendix](https://user-images.githubusercontent.com/43704761/169644217-d1c06335-f057-42ec-bd90-baebc20eb907.gif)


## ์„ค์น˜

1. ํ”„๋กœ์ ํŠธ clone ํ›„ ํŒจํ‚ค์ง€ dependency ์„ค์น˜ ๋ฐ ๋นŒ๋“œ ์‹คํ–‰

```bash
npm install
npm run build
```

2. [chrome://extensions](chrome://extensions) ์ ‘์†
3. ๊ฐœ๋ฐœ์ž๋ชจ๋“œ ์ผœ๊ธฐ
4. ์••์ถ•ํ•ด์ œ๋œ ํ™•์žฅํ”„๋กœ๊ทธ๋žจ์„ ๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. ๋ฒ„ํŠผ ํด๋ฆญ
5. `npm run build`๋กœ ์ƒ๊ธด build ํด๋” ์„ ํƒ ํ›„ ํ…Œ์ŠคํŠธ
2. chrome://extensions ์ ‘์† ๋ฐ ๊ฐœ๋ฐœ์ž๋ชจ๋“œ ์‹คํ–‰

![image](https://user-images.githubusercontent.com/43704761/169644604-9cc4bc5c-c560-42a4-9555-624e77a078d3.png)

3. ์••์ถ•ํ•ด์ œ๋œ ํ™•์žฅํ”„๋กœ๊ทธ๋žจ์„ ๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. ๋ฒ„ํŠผ ํด๋ฆญ

![image](https://user-images.githubusercontent.com/43704761/169644619-69d732ae-7001-4965-8ad1-aebc4e33690e.png)

4. `npm run build`๋กœ ์ƒ๊ธด build ํด๋” ์„ ํƒ ํ›„ ๋“ฑ๋ก ํ™•์ธ

![image](https://user-images.githubusercontent.com/43704761/169644657-db22d45c-3458-4360-a725-25516db537f2.png)

5. ๊ธฐ์กด ์•„์ด์บ ํผ์Šค ๋กœ๊ทธ์ธํ•œ ํ›„ ๋Œ€์‹œ๋ณด๋“œ ํŽ˜์ด์ง€๊ฐ€ ์—ด๋ฆฐ ์ƒํƒœ์—์„œ i-ppendix ํ™•์žฅํ”„๋กœ๊ทธ๋žจ ์•„์ด์ฝ˜ ํด๋ฆญํ•˜์—ฌ ์‚ฌ์šฉ


## ๊ฐœ๋ฐœ

1. ์ฝ”๋“œ ์ž‘์„ฑ
2. `npm run build`
3. ๋Œ€์‹œ๋ณด๋“œ ํŽ˜์ด์ง€ ์ƒˆ๋กœ๊ณ ์นจํ•˜์—ฌ ํ™•์ธ
- ํ™•์‹คํ•˜๊ฒŒ ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” `chrome://extensions` ํŽ˜์ด์ง€์—์„œ ํ™•์žฅํ”„๋กœ๊ทธ๋žจ์„ reloadํ•œ ํ›„ ํ…Œ์ŠคํŠธ

- **Code Overview**

```
Chrome Service Worker <----------------------------> Dashboard Page
(background.js) chrome message API (React.js)
(under /src/chrome/*) <---- sendMessage (under /src/*)
(fetch data from API sendResponse ----> (rendering data)
and refine)
```

- **Style Guideline**

- ํ•ด๋‹น ํ”„๋กœ์ ํŠธ๋Š” `prettier`๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ code formatting์„ ์ง„ํ–‰ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. formatting ์„ค์ •์— ๋Œ€ํ•ด์„œ๋Š” `prettier.rc` ํŒŒ์ผ์„ ์ฐธ๊ณ ํ•ด์ฃผ์‹œ๊ณ , push ์ „ formatting์„ ์ง„ํ–‰ํ•ด์ฃผ์„ธ์š”.
- ๋ณ€์ˆ˜๋ช…, ํ•จ์ˆ˜๋ช…์— ๋Œ€ํ•ด์„œ๋Š” lowerCamelCase๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.


## ๊ธฐ์—ฌ

- ๋ฌธ์ œ๋‚˜ ๊ฑด์˜์‚ฌํ•ญ์ด ์žˆ์„ ์‹œ ์ด์Šˆ ํƒญ์— ์ด์Šˆ๋ฅผ ๋‚จ๊ฒจ์ฃผ์„ธ์š”.
- ์ง์ ‘ ๊ตฌํ˜„ํ•œ ๊ธฐ๋Šฅ์— ๋Œ€ํ•ด์„œ๋Š” `dev` ๋ธŒ๋žœ์น˜์— Pull Request๋ฅผ ์˜ฌ๋ ค์ฃผ์„ธ์š”.


## ์‚ฌ์šฉ ์‹œ ์ฃผ์˜ ์‚ฌํ•ญ

- ๋ฐ˜๋“œ์‹œ ๋‹ค๋ฅธ ์„ธ์…˜์—์„œ **๊ธฐ์กด ์•„์ด์บ ํผ์Šค์— ๋กœ๊ทธ์ธํ•œ ํ›„**์— ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰์‹œ์ผœ์•ผ ํ•œ๋‹ค.
- ๋งŒ์•ฝ ๊ธฐ์กด ์•„์ด์บ ํผ์Šค์— ๋กœ๊ทธ์ธํ•˜์˜€๋Š”๋ฐ๋„ ์ •์ƒ์ ์œผ๋กœ ํ‘œ์‹œ๋˜์ง€ ์•Š๋Š”๋‹ค๋ฉด ์„œ๋ฒ„ ๋ฌธ์ œ์ผ ์ˆ˜ ์žˆ์œผ๋‹ˆ ์ž ์‹œ ๊ธฐ๋‹ค๋ ธ๋‹ค๊ฐ€ ์žฌ์‹คํ–‰ํ•ด๋ณธ๋‹ค.
- ๊ธฐ์กด ์•„์ด์บ ํผ์Šค์—์„œ ๊ฐ•์˜ ์ฝ˜ํ…์ธ  ํƒญ์— ์˜ฌ๋ผ์˜ค์ง€ ์•Š๊ณ  ๊ณผ์ œ ๋ฐ ํ‰๊ฐ€ ํƒญ์—๋งŒ ์˜ฌ๋ผ์˜จ ๊ณผ์ œ์˜ ๊ฒฝ์šฐ ๊ฐ€์ ธ์˜ค์ง€ ๋ชปํ•œ๋‹ค.


## ๋ผ์ด์„ผ์Šค

Licensed under the MIT license
Loading

0 comments on commit 075b60c

Please sign in to comment.