๐ CSS ์ฐธ๊ณ ์ฌ์ดํธ
- BootStrap
- Ant-design : React ๊ธฐ๋ฐ ์ปดํฌ๋ํธ
- Material UI : React ๊ธฐ๋ฐ ์ปดํฌ๋ํธ
- https://jungeol.github.io/2020/02/26/React-UI-Framework-๋น๊ต/
๐ ํ๋ก์ ํธ ํ๊ฒฝ ์ค์ & ์์กด์ฑ ์ค์น
- create-react-app # ๋ณด์ผ๋ฌ ํ๋ ์ดํธ
- npm i redux react-redux # ๋ฆฌ๋์ค
- npm i react-redux @reduxjs/toolkit # ๋ฆฌ๋์ค ํดํท
- npm i --save-dev redux-devtools-extension # ๋ฆฌ๋์ค ๊ฐ๋ฐ์ ๋๊ตฌ(๋น๋ ์ ํ๋ฌ๊ทธ์ธ ๋ฏธํฌํจ)
- npm i react-router # ๋ฆฌ์กํธ ๋ผ์ฐํฐ
- npm i axios # axios
- npm install @mui/material @mui/styled-engine-sc styled-components # Material UI
- npm install @fontsource/roboto # Roboto Font
- npm install @mui/icons-material # Icons
- npm install @emotion/styled @emotion/css # Emotion(Material UI)
- # Firebase
- Repository ์์ฑ ๋ฐ VS code - Github ์ฐ๋
๐ ํ์ด์ง ๋ชฉ๋ก
- Home
- About Us
- Notice / Board - List (recyclable)
- Notice / Board - Content (recyclable)
- Notice / Board - Write (recyclable)
- Notice / Board - Reply (recyclable)
- Gallery - List
- Gallery - Content
- Gallery - Write
- Login
- Member - Join
- Member - Update
- Member - Delete
๐ซ API ๋ชฉ๋ก
API | DOMAIN | PATH | HTTP METHOD |
๊ณต์ง ๋ฑ๋ก | Notice | /notice | POST |
๊ณต์ง 1๊ฑด ์กฐํ | Notice | /notice/{noticeId} | GET |
๊ณต์ง ๋ชฉ๋ก ์กฐํ | Notice | /notice | GET |
๊ณต์ง ์์ | Notice | /notice/{noticeId} | PUT |
๊ณต์ง ์ญ์ | Notice | /notice/{noticeId} | DELETE |
๊ฐค๋ฌ๋ฆฌ ๊ธ ์์ฑ | Gallery | /gallery | POST |
๊ฐค๋ฌ๋ฆฌ ์์ธ ์กฐํ | Gallery | /gallery/{galleryId} | GET |
๊ฐค๋ฌ๋ฆฌ ๋ชฉ๋ก ์กฐํ | Gallery | /gallery | GET |
๊ฐค๋ฌ๋ฆฌ ์์ | Gallery | /gallery/{galleryId} | PUT |
๊ฐค๋ฌ๋ฆฌ ์ญ์ | Gallery | /gallery/{galleryId} | DELETE |
๊ฒ์๊ธ ๋ฑ๋ก | Board | /board | POST |
๊ฒ์๊ธ 1๊ฑด ์กฐํ | Board | /board/{boardId} | GET |
๊ฒ์๊ธ ๋ชฉ๋ก ์กฐํ | Board | /board | GET |
๊ฒ์๊ธ ์์ | Board | /board/{boardId} | PUT |
๊ฒ์๊ธ ์ญ์ | Board | /board/{boardId} | DELETE |
ํ์ ๊ฐ์ | Member | /member | POST |
๋ก๊ทธ์ธ | Member | /member/login | POST |
๋ก๊ทธ์์ | Member | /member/logout | POST |
ํ์ ์ ๋ณด ์์ | Member | /member/{memberId} | PUT |
ํ์ ํํด | Member | /member/{memberId} | DELETE |
์์ด๋ ์ค๋ณต ์ฒดํฌ | Member | /member/{id} | GET |
๋๊ธ ์์ฑ | Reply | /reply | POST |
๋๊ธ ๋ชฉ๋ก ์กฐํ | Reply | /reply/{replyId} | GET |
๋๊ธ ์์ | Reply | /reply/{replyId} | PUT |
๋๊ธ ์ญ์ | Reply | /reply/{replyId} | DELTE |
๐ ์ปดํฌ๋ํธ ๋ชฉ๋ก
- ๋ ์ด์์ : Header(โญ๏ธ์๋จ ๋ด๋น๊ฒ์ด์ ๋ฐ, ๋ฉ๋ด ๋ด๋น๊ฒ์ด์ ๋ฐ), Footer, ๋ฐฐ๋
- ๊ณตํต : โญ๏ธ๋ชจ๋ฌ, ํ
- ๋ฐ์ดํฐ ๋ฑ๋ก : โญ๏ธํผ
- ๋ฐ์ดํฐ ๋ชฉ๋ก ์กฐํ : ๋ฆฌ์คํธ(Home, Notice, Board, Reply), ๊ฐค๋ฌ๋ฆฌ ๋ฆฌ์คํธ, ๊ฒ์๋ฐ, โญ๏ธํ์ด์ง๋ค์ด์
- ๋ฐ์ดํฐ ์์ธ ์กฐํ : ์ด๋ฏธ์ง ๋ทฐ์ด, Heading, Text, Etc.