Team5-be01-Final-Project / Frontend

https://bpssystem.store/
2 stars 0 forks source link

๐Ÿ–ฅ BPS_Frontend Sever


โš™ Project Settings

$ node --version
v20.11.0

$ npm --version
v10.5.0

$ docker --version
v24.0.5

$ nginx --v
nginx/1.18.0

๐Ÿ›  Project Setup

$ npm install -g npm@10.5.0
$ npm install vite
$ npm install axios
$ npm install -D sass
$ npm install js-cookie
$ npm install chart.js
$ npm install @fortawesome/fontawesome-free
$ npm install xlsx file-saver
$ npm install lodash-es
$ npm install autonumeric
$ npm install exceljs
$ npm install file-saver

๐Ÿ’ก Compile and Hot-Reload for Development

npm run dev

๐Ÿ“€ Deploy URL


๐Ÿšฉ Github Action Deploy to EC2 with docker container


image


๐ŸŽจ FrontEnd View


ํ™”๋ฉด ์„ค๊ณ„์„œ


โญ ๋กœ๊ทธ์ธ
### ๋กœ๊ทธ์ธ / ๋กœ๊ทธ์•„์›ƒ
https://github.com/T2-Papillon/Main/assets/148880521/4cfb8e7f-c529-4259-8ce5-33bd960ca7bc - DB์— ์ €์žฅ๋˜์–ด์žˆ๋Š” ์‚ฌ๋ฒˆ๊ณผ ๋น„๋ฐ€๋ฒˆํ˜ธ๋กœ ๋กœ๊ทธ์ธํ•œ๋‹ค. - ํ‡ด์‚ฌ์ž๋Š” ๋กœ๊ทธ์ธํ•  ์ˆ˜ ์—†๋‹ค. - ๋กœ๊ทธ์ธ์— ์„ฑ๊ณตํ•œ ์‚ฌ๋žŒ๋งŒ ๋กœ๊ทธ์•„์›ƒ์„ ํ•  ์ˆ˜ ์žˆ๋‹ค.


โญ ๋Œ€์‹œ ๋ณด๋“œ

### ๋Œ€์‹œ ๋ณด๋“œ
https://github.com/T2-Papillon/Main/assets/148880521/d3202842-64e8-4f0b-8f74-3108f1fc44b8 #### ์ด๋‹ฌ์˜ ๊ฑฐ๋ž˜์ฒ˜ - ํ˜„์žฌ ๊ฑฐ๋ž˜์ฒ˜ ๋ชฉ๋ก์ด ์ง€๋„์— ๋ชจ๋‘ ํ‘œ๊ธฐ๋œ๋‹ค. - ๊ฑฐ๋ž˜์ฒ˜ ๋ชฉ๋ก์ค‘ ์ด๋‹ฌ ๋งค์ถœ 1์œ„์ธ ์ง€์ ์„ ์™•๊ด€์•„์ด์ฝ˜์œผ๋กœ ํ‘œ์‹œํ•ด์ค€๋‹ค. - ์ง€๋„์—์„œ ํ•ด๋‹น ๊ฑฐ๋ž˜์ฒ˜์— ์ปค์„œ๋ฅผ ์œ„์น˜ํ•˜๋ฉด ํ•ด๋‹น ๊ฑฐ๋ž˜์ฒ˜ ์ด๋ฆ„์ด ํ‘œ๊ธฐ๋œ๋‹ค. #### ์ด๋‹ฌ์˜ ์ตœ์šฐ์ˆ˜ ์‚ฌ์› - ์ด๋‹ฌ ์ตœ๊ณ  ๋งค์ถœ์„ ์ฐ์€ ์‚ฌ์›์˜ ์‚ฌ์ง„๊ณผ ์ด๋ฆ„, ์†Œ์†๋ถ€์„œ, ๋งค์ถœ์•ก์ด ํ‘œ๊ธฐ๋œ๋‹ค. #### ์ฐฝ๊ณ /์ฐจ๋Ÿ‰ ์˜จ๋„ ์กฐํšŒ ![image](https://github.com/Team5-be01-Final-Project/.github/assets/150888333/77e43f6c-4703-4794-be95-76ea68437052) - ์ฐฝ๊ณ ์˜ ์˜จ๋„๋ฅผ ๋Œ€์‹œ๋ณด๋“œ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. - ๊ฐ ์ฐจ๋Ÿ‰ ๋ณ„๋กœ ์˜จ๋„๋ฅผ ๊ทธ๋ž˜ํ”„๋ฅผ ํ†ตํ•ด ๋Œ€์‹œ๋ณด๋“œ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. - ํ•˜๋‹จ์— ๋งˆ์ง€๋ง‰ ์—…๋ฐ์ดํŠธ ์‹œ๊ฐ„์ด ํ‘œ๊ธฐ๋œ๋‹ค. #### ์ด๋‹ฌ์˜ ๋งค์ถœ ํ˜„ํ™ฉ - ์ด๋‹ฌ ๊ฑฐ๋ž˜์ฒ˜๋ณ„ ๋งค์ถœ ํ˜„ํ™ฉ์„ ํ™•์ธ ํ•  ์ˆ˜ ์žˆ๋‹ค. #### ์›”๋ณ„ ๋งค์ถœ ํ˜„ํ™ฉ - ์›”๋ณ„๋กœ ์ด๋งค์ถœ ํ•ฉ๊ณ„์™€ ์ˆœ์ด์ต์„ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค.


โญ ์‚ฌ์› ๊ด€๋ฆฌ
### ์‚ฌ์› ์กฐํšŒ
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/ba4b845d-3d67-46ef-aac6-3f9eb22cc483 - ๋Œ€ํ‘œ์™€ ํŒ€์žฅ์€ ์ „์ง์› ์กฐํšŒ๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€๋งŒ ์‚ฌ์›์€ ์กฐํšŒํ•  ์ˆ˜ ์—†๋‹ค.
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/5d08f08e-0ddc-416c-b4d8-07fa2bf7516a - ๋Œ€ํ‘œ ๊ถŒํ•œ์ž๋งŒ ๊ถŒํ•œ์„ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋‹ค. - ๋Œ€ํ‘œ ๊ถŒํ•œ์ž๋งŒ ์•Œ๋ฆผ ์ˆ˜์‹  ์—ฌ๋ถ€๋ฅผ ์ˆ˜์ •ํ•  ์ˆ˜ ์žˆ๋‹ค.


โญ ์ด์ƒ ์˜จ๋„
### ์ด์ƒ ์˜จ๋„ ์•Œ๋ฆผ
![image](https://github.com/Team5-be01-Final-Project/Frontend/assets/149128094/c8c3a92f-a43b-4c29-85d1-5c6d116ddb2d) - ์˜จ๋„๊ฐ€ ํŠน์ • ๋ฒ”์œ„(๋ƒ‰์žฅ(2โˆผ8โ„ƒ))๋ฅผ ๋ฒ—์–ด๋‚˜๋ฉด ๊ด€๋ฆฌ์ž(์•Œ๋ฆผ๋Œ€์ƒ์ž) ์ด๋ฉ”์ผ๋กœ ์•Œ๋ฆผ์„ ์ „์†กํ•œ๋‹ค. - ๊ด€๋ฆฌ์ž(์•Œ๋ฆผ๋Œ€์ƒ์ž)๋Š” ์•Œ๋ฆผ ๋กœ๊ทธ ๋ชฉ๋ก์„ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค.


โญ ์ œํ’ˆ ๊ด€๋ฆฌ
### ์ œํ’ˆ ์กฐํšŒ
![image](https://github.com/Team5-be01-Final-Project/.github/assets/148880521/101f18e3-caae-491d-afd5-3c47b5fc10e9) ![image](https://github.com/Team5-be01-Final-Project/.github/assets/148880521/8e48d034-0375-4a04-aeaa-13e1076b833f) - ์ œํ’ˆ ๋ชฉ๋ก ์กฐํšŒ ์‹œ ๋Œ€ํ‘œ, ํŒ€์žฅ์˜ ๊ฒฝ์šฐ ๋ชจ๋‘ ์กฐํšŒํ•  ์ˆ˜ ์žˆ์ง€๋งŒ ์‚ฌ์›์€ ๋‹จ๊ฐ€๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์—†๋‹ค. - ํŠน์ • ๊ฑฐ๋ž˜์ฒ˜์— ๋Œ€ํ•œ ์ œํ’ˆ์„ ๊ฒ€์ƒ‰ํ•˜์—ฌ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค.
### ๊ฑฐ๋ž˜์ฒ˜ ๋ณ„ ํŒ๋งค๊ฐ€ ๋“ฑ๋ก, ์ˆ˜์ •, ์‚ญ์ œ
[https://github.com/Team5-be01-Final-Project/.github/assets/148880521/c1fb03a9-0775-47f0-beab-5cfcc1ef8262](https://github.com/Team5-be01-Final-Project/.github/assets/148880521/0f5877cf-6171-4694-84d4-a704c26825b3) - ๊ฑฐ๋ž˜์ฒ˜๋ณ„ ํŒ๋งค๊ฐ€ ๋“ฑ๋ก์€ ๋Œ€ํ‘œ์™€ ํŒ€์žฅ๋งŒ ๊ฐ€๋Šฅํ•˜๋‹ค. - ๊ฑฐ๋ž˜์ฒ˜์— ์ค‘๋ณต๋œ ์กฐ๊ฑด์˜ ์ œํ’ˆ์€ ๋“ฑ๋ก์ด ๋ถˆ๊ฐ€๋Šฅํ•˜๋‹ค. - ๋Œ€ํ‘œ์™€ ํŒ€์žฅ์€ ์ˆ˜์ •, ์‚ญ์ œ๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€๋งŒ ์‚ฌ์›์€ ๋ถˆ๊ฐ€๋Šฅํ•˜๋‹ค.
### ๊ฑฐ๋ž˜์ฒ˜ ๋ณ„ ์ œํ’ˆ ์กฐํšŒ
![image](https://github.com/Team5-be01-Final-Project/Frontend/assets/149128094/58df5d28-80d8-412c-8786-721decd80870) - ๊ฑฐ๋ž˜์ฒ˜๋ณ„ ์ œํ’ˆ์„ ๋ชจ๋“  ์‚ฌ์›์ด ์กฐํšŒ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค.


โญ ์žฌ๊ณ  ๊ด€๋ฆฌ
### ์žฌ๊ณ  ์กฐํšŒ ๋ฐ ๋“ฑ๋ก
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/9138c2b7-58e8-48d6-9161-d30310e312e6 - ์žฌ๊ณ  ์กฐํšŒ๋Š” ํ˜„์žฌ ๋‚จ์•„์žˆ๋Š” ์žฌ๊ณ ๋ฅผ ์กฐํšŒํ•˜๋ฉฐ ์ „ ์ง์›์ด ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค. - ์žฌ๊ณ ๋ฅผ ๋“ฑ๋กํ•˜๊ธฐ ์œ„ํ•ด์„œ ํŠน์ • ์ œํ’ˆ์„ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ๋‹ค. - ์žฌ๊ณ  ๋“ฑ๋ก์€ ๋Œ€ํ‘œ์™€ ํŒ€์žฅ๋งŒ ๊ฐ€๋Šฅํ•˜๋‹ค.


โญ ์ „ํ‘œ ๊ด€๋ฆฌ
### ์ „ํ‘œ ์กฐํšŒ
![image](https://github.com/Team5-be01-Final-Project/Frontend/assets/149128094/89c6553f-ce79-4e82-8deb-49431d77b204) - ์ „ํ‘œ์˜ ์ƒํƒœ๋Š” ์Šน์ธ๋Œ€๊ธฐ, ์Šน์ธ์™„๋ฃŒ, ๋ฐ˜๋ ค๊ฐ€ ์žˆ๋‹ค. - ๋ชจ๋“  ์ „ํ‘œ ๋ชฉ๋ก์€ ์ „ ์ง์›์ด ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค. - ํ•ด๋‹น ์ „ํ‘œ ์กฐํšŒ๋Š” ์ „ํ‘œ๋ฅผ ์ƒ์„ฑํ•œ ํŒ€๋งŒ ์กฐํšŒ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค.
### ์ „ํ‘œ ๋“ฑ๋ก
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/da65893d-490e-4d44-a0b1-3a1fb4efca1c - ์ „ํ‘œ ๋“ฑ๋ก์€ ์‚ฌ์›๋งŒ ๊ฐ€๋Šฅํ•˜๋‹ค. - ์ผ์ž๋ณ„๋กœ ์ถœ๊ณ  ์ „ํ‘œ๋ฅผ ๋“ฑ๋ก ํ•  ์ˆ˜ ์žˆ๋‹ค. - ์ „ํ‘œ ๋“ฑ๋ก ์‹œ ์žฌ๊ณ ๋Š” ์ฐจ๊ฐ์ด ๋œ๋‹ค. - ์ „ํ‘œ๋ฅผ ๋“ฑ๋กํ•˜๋ฉด ์Šน์ธ ๋Œ€๊ธฐ ์ƒํƒœ๊ฐ€ ๋œ๋‹ค.
### ์ „ํ‘œ ์Šน์ธ ๋ฐ ๋ฐ˜๋ ค
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/14bf4e52-daaf-42c3-a2de-29e2e1daf48d - ๋Œ€ํ‘œ, ํŒ€์žฅ๋งŒ ์ „ํ‘œ ์Šน์ธ ๋ฐ ๋ฐ˜๋ ค ๊ถŒํ•œ์ด ์žˆ์œผ๋ฉฐ ๋Œ€๊ธฐ ์ƒํƒœ์˜ ์ถœ๊ณ ์ „ํ‘œ๋ฅผ ์Šน์ธ ๋ฐ ๋ฐ˜๋ ค ํ•  ์ˆ˜ ์žˆ๋‹ค. - ๋ฐ˜๋ ค ์‹œ ์ „ํ‘œ ๋“ฑ๋ก์— ์ฐจ๊ฐ๋˜์—ˆ๋˜ ๋ฌผํ’ˆ ์ˆ˜๋Ÿ‰์€ ์žฌ๊ณ ๋กœ ์žฌ๋“ฑ๋ก ๋œ๋‹ค.


โญ ํŒ๋งค ๊ด€๋ฆฌ
### ๋งค์ถœ
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/329ea5fd-404b-4fa9-bedf-316d2cf4da24 - ์ œํ’ˆ๋ณ„๋กœ ํŒ๋งค ํ˜„ํ™ฉ์„ ํ…Œ์ด๋ธ”๋กœ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค. - ์‚ฌ์›์€ ์ œํ’ˆ๋ช…, ํŒ๋งค๊ฐ€, ์ˆ˜๋Ÿ‰, ๋งค์ถœ์•ก ๋งŒ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/b0ba662c-4f62-4ee3-b260-cbd712007350 - ๊ฑฐ๋ž˜์ฒ˜๋ณ„๋กœ ํŒ๋งค ํ˜„ํ™ฉ์„ ํ…Œ์ด๋ธ”๋กœ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค. - ์‚ฌ์›์€ ์ œํ’ˆ๋ช…, ํŒ๋งค๊ฐ€, ์ˆ˜๋Ÿ‰, ๋งค์ถœ์•ก ๋งŒ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.


โญ ๊ฑฐ๋ž˜์ฒ˜ ๊ด€๋ฆฌ
### ๊ฑฐ๋ž˜์ฒ˜ ์กฐํšŒ
![image](https://github.com/Team5-be01-Final-Project/Frontend/assets/149128094/1cb2c41e-1988-4521-91f3-18a63bf6c4de) - ๋งค์ถœ ๊ฑฐ๋ž˜์ฒ˜ ๋ชฉ๋ก์„ ์กฐํšŒ ํ•  ์ˆ˜ ์žˆ๋‹ค.
### ๊ฑฐ๋ž˜์ฒ˜ ๋“ฑ๋ก ๋ฐ ์ˆ˜์ •
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/4f2a3fc3-3683-4bdd-913f-04aa27911d2f - ๋Œ€ํ‘œ, ํŒ€์žฅ๋งŒ ๋งค์ถœ ๊ฑฐ๋ž˜์ฒ˜ ๋“ฑ๋ก, ์ˆ˜์ •๊ณผ ์‚ญ์ œ ๊ถŒํ•œ์ด ์žˆ์œผ๋ฉฐ ์‚ฌ์›์€ ๋“ฑ๋ก, ์ˆ˜์ • ์‚ญ์ œ ๊ธฐ๋Šฅ์„ ์ด์šฉํ•  ์ˆ˜ ์—†๋‹ค.


โญ ์ธ์„ผํ‹ฐ๋ธŒ ๊ด€๋ฆฌ
### ์ธ์„ผํ‹ฐ๋ธŒ ํ˜„ํ™ฉ
![image](https://github.com/Team5-be01-Final-Project/Frontend/assets/149128094/91b57341-15b8-450c-adb0-31c7c2d1db94) - ๋Œ€ํ‘œ๋Š” ์ „ ์ง์›์— ๋Œ€ํ•œ ์ธ์„ผํ‹ฐ๋ธŒ ์กฐํšŒ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค. - ํŒ€์žฅ์ธ ๋ณธ์ธ ํŒ€์›์— ๋Œ€ํ•œ ์ธ์„ผํ‹ฐ๋ธŒ ์กฐํšŒ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค. - ์‚ฌ์›์€ ์ด ๋ฉ”๋‰ด๋ฅผ ์ด์šฉํ•  ์ˆ˜ ์—†๋‹ค.


โญ My ์˜์—…
### My ์˜์—…
https://github.com/Team5-be01-Final-Project/.github/assets/148880521/5ab69fd8-0df9-42bb-b62d-44b1b6afbece #### ๋‚ด ์ •๋ณด ์กฐํšŒ - ์‚ฌ์›์€ ์ž์‹ ์˜ ์ •๋ณด๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค. #### ๋‚ด ๊ฑฐ๋ž˜์ฒ˜ ์กฐํšŒ - ์‚ฌ์›์€ ์ž์‹ ์˜ ๋‹ด๋‹น ๋ณ‘์›์— ๋Œ€ํ•œ ์ด๋ฆ„, ๋‹ด๋‹น์ž, ๋‹ด๋‹น์ž ์ „ํ™”๋ฒˆํ˜ธ๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์žˆ๋‹ค. #### ๋‚ด ๋งค์ถœ ํ˜„ํ™ฉ - ์‚ฌ์›์€ ์ž์‹ ์˜ ์ตœ๊ทผ 3๊ฐœ์›” ๊ฑฐ๋ž˜์ฒ˜ ๋‹น ๋งค์ถœํ˜„ํ™ฉ์„ ๋ณผ ์ˆ˜ ์žˆ๋‹ค. #### ๋‚ด ์ธ์„ผํ‹ฐ๋ธŒ - ์‚ฌ์›์€ ์ž์‹ ์˜ ํ˜„์žฌ๋งค์ถœ ๋Œ€๋น„ ์ธ์„ผํ‹ฐ๋ธŒ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. - ์ถ”๊ฐ€ ๋งค์ถœ์„ ๊ธฐ์ž…ํ•˜์—ฌ ์˜ˆ์ƒ ์ธ์„ผํ‹ฐ๋ธŒ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค. - ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ๊ธฐ๋Šฅ์ด๊ธฐ ๋•Œ๋ฌธ์— ๋ฐ์ดํ„ฐ๋ฅผ ๋ณ€ํ™˜ํ•˜์ง€ ์•Š๋Š”๋‹ค.



๐Ÿ“ Changelog

Changelog.md


๐Ÿงพ ๋ฆด๋ฆฌ์ฆˆ ๋‚ด์—ญ


Release v7.0.0

๋ฆด๋ฆฌ์ฆˆ ๋ชจ์Œ
- [Release v6.0.0](https://github.com/Team5-be01-Final-Project/Frontend2/releases/tag/v6.0.0) - ๋ฒ„๊ทธ ์ˆ˜์ • ๋ฐ ๊ธฐํƒ€ ๋””์ž์ธ ์ˆ˜์ • - [Release v6.0.0](https://github.com/Team5-be01-Final-Project/Frontend2/releases/tag/v6.0.0) - ๋ฒ„๊ทธ ์ˆ˜์ • ๋ฐ ๊ธฐํƒ€ ๋””์ž์ธ ์ˆ˜์ • - [Release v5.0.0](https://github.com/Team5-be01-Final-Project/Frontend2/releases/tag/v5.0.0) - ๋””์ž์ธ ๋ฐ ๊ธฐํƒ€ ์˜ค๋ฅ˜ ์ˆ˜์ • - [Release v4.0.0](https://github.com/Team5-be01-Final-Project/Frontend2/releases/tag/v4.0.0) - ๊ถŒํ•œ ๊ด€๋ฆฌ ์ถ”๊ฐ€. - [Release v3.0.0](https://github.com/Team5-be01-Final-Project/Frontend2/releases/tag/v3.0.0) - ๋Œ€์‹œ๋ณด๋“œ, My์˜์—… ๋ฐ ๋งค์ถœ ๊ด€๋ฆฌ ๊ธฐ๋Šฅ ์ถ”๊ฐ€. - [Release v2.0.0](https://github.com/Team5-be01-Final-Project/Frontend2/releases/tag/v2.0.0) - Docker, Nginx ์‚ฌ์šฉ, npm run build๋กœ ์ˆ˜์ • ๋ฐ ์ฟ ํ‚ค ๋“ค์–ด์˜ค๋Š”๊ฑฐ ํ™•์ธ - [Release v1.0.0](https://github.com/Team5-be01-Final-Project/Frontend2/releases/tag/v1.0.0) - Github Flow๋ฅผ ํ†ตํ•ด EC2๋กœ CI/CD ๊ตฌ์ถ•. (Docker ๋ฐ nginx๋Š” ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ , npm run dev๋กœ ์‹คํ–‰ ํ™•์ธ)