Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nalsae authored Jan 11, 2024
2 parents 7bf0179 + f478d43 commit b722432
Show file tree
Hide file tree
Showing 134 changed files with 2,967 additions and 850 deletions.
38 changes: 31 additions & 7 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@ jobs:

env:
RDS_ENDPOINT: ${{secrets.RDS_ENDPOINT}}
MYSQL_ID: ${{secrets.MYSQL_USERNAME}}
MYSQL_USER: ${{secrets.MYSQL_USER}}
MYSQL_PASSWORD: ${{secrets.MYSQL_PASSWORD}}
AWS_ACCESS_KEY: ${{secrets.AWS_ACCESS_KEY}}
AWS_SECRET_KEY: ${{secrets.AWS_SECRET_KEY}}
AWS_BUCKET_NAME: ${{secrets.AWS_BUCKET_NAME}}
ADMIN_EMAIL: ${{secrets.ADMIN_EMAIL}}
GUEST_EMAIL: ${{secrets.GUEST_EMAIL}}
GROWSTORY_EMAIL_USERNAME: ${{secrets.GROWSTORY_EMAIL_USERNAME}}
GROWSTORY_EMAIL_PASSWORD: ${{secrets.GROWSTORY_EMAIL_PASSWORD}}
G_CLIENT_ID: ${{secrets.G_CLIENT_ID}}
G_CLIENT_SECRET: ${{secrets.G_CLIENT_SECRET}}
JWT_SECRET_KEY: ${{secrets.JWT_SECRET_KEY}}
KEY_STORE_PASSWORD: ${{secrets.KEY_STORE_PASSWORD}}
EVENT_KEY: ${{secrets.EVENT_KEY}}
working-directory: ./server

steps:
Expand All @@ -34,12 +46,24 @@ jobs:
run: |
docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_PASSWORD }}
docker build \
--build-arg MYSQL_ID="${{env.MYSQL_USERNAME}}" \
--build-arg MYSQL_USER="${{env.MYSQL_USER}}" \
--build-arg MYSQL_PASSWORD="${{env.MYSQL_PASSWORD}}" \
--build-arg RDS_ENDPOINT="${{env.RDS_ENDPOINT}}" \
--build-arg AWS_ACCESS_KEY="${{env.AWS_ACCESS_KEY}}" \
--build-arg AWS_SECRET_KEY="${{env.AWS_SECRET_KEY}}" \
--build-arg AWS_BUCKET_NAME="${{env.AWS_BUCKET_NAME}}" \
--build-arg ADMIN_EMAIL="${{env.ADMIN_EMAIL}}" \
--build-arg GUEST_EMAIL="${{env.GUEST_EMAIL}}" \
--build-arg GROWSTORY_EMAIL_USERNAME="${{env.GROWSTORY_EMAIL_USERNAME}}" \
--build-arg GROWSTORY_EMAIL_PASSWORD="${{env.GROWSTORY_EMAIL_PASSWORD}}" \
--build-arg G_CLIENT_ID="${{env.G_CLIENT_ID}}" \
--build-arg G_CLIENT_SECRET="${{env.G_CLIENT_SECRET}}" \
--build-arg JWT_SECRET_KEY="${{env.JWT_SECRET_KEY}}" \
--build-arg KEY_STORE_PASSWORD="${{env.KEY_STORE_PASSWORD}}" \
--build-arg EVENT_KEY="${{env.EVENT_KEY}}" \
-t growstory-cicd .
docker tag growstory-cicd dokyung94/growstory-cicd:${GITHUB_SHA::7}
docker push dokyung94/growstory-cicd:${GITHUB_SHA::7}
docker tag growstory-cicd leest/growstory-cicd:${GITHUB_SHA::7}
docker push leest/growstory-cicd:${GITHUB_SHA::7}
working-directory: ${{ env.working-directory }}

- name: Configure AWS credentials
Expand All @@ -58,6 +82,6 @@ jobs:
envs: GITHUB_SHA
script: |
sudo docker rm -f server
sudo docker pull dokyung94/growstory-cicd:${GITHUB_SHA::7}
sudo docker tag dokyung94/growstory-cicd:${GITHUB_SHA::7} growstory-cicd
sudo docker run -d --name server -e TZ=Asia/Seoul -p 8080:8080 growstory-cicd
sudo docker pull leest/growstory-cicd:${GITHUB_SHA::7}
sudo docker tag leest/growstory-cicd:${GITHUB_SHA::7} growstory-cicd
sudo docker run -d --name server -e TZ=Asia/Seoul -p 443:443 growstory-cicd
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,4 @@ server/src/main/resources/application-local.yml
server/src/*/*.iml


# ========================================= Front ====================================================

# ========================================= Front ====================================================
135 changes: 70 additions & 65 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,45 @@
# ๐ŸŒณ Grow Story

![main](https://github.com/nalsae/seb45_main_011/assets/101828759/1d9742ff-27eb-4ac2-8e59-d56bbade03d3)

<main align="center">
<h3 align="center">๐ŸŒฑ ์‹๋ฌผ์„ ๊ด€๋ฆฌํ•˜๊ณ  ๋‚˜๋งŒ์˜ ์ •์›์„ ๊พธ๋ฉฐ ๋ณด์„ธ์š” ๐ŸŒฑ</h3>
</main>

<br>

> ๐Ÿค” ํ‚ค์šฐ๋Š” ์‹๋ฌผ์„ ์†์‰ฝ๊ณ  ์žฌ๋ฏธ์žˆ๊ฒŒ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ• ์—†์„๊นŒ? <br>
> <br>
> ๐Ÿค” ํ‚ค์šฐ๋Š” ์‹๋ฌผ์„ ์†์‰ฝ๊ณ  ์žฌ๋ฏธ์žˆ๊ฒŒ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ• ์—†์„๊นŒ? <br> > <br>
> ์‹๋ฌผ์„ ์†์‰ฝ๊ฒŒ ๋“ฑ๋กํ•˜๊ณ  ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๋Š” **์‹๋ฌผ ์นด๋“œ** ๊ธฐ๋Šฅ, <br>
> ๋‚ด ์‹๋ฌผ์„ ์ž๋ž‘ํ•˜๊ณ  ๋‹ค์–‘ํ•œ ์‹์ง‘์‚ฌ๋“ค๊ณผ ์†Œํ†ตํ•  ์ˆ˜ ์žˆ๋Š” **์ปค๋ฎค๋‹ˆํ‹ฐ** ๊ธฐ๋Šฅ, <br>
> ํ™œ๋™ํ•ด์„œ ํš๋“ํ•œ ํฌ์ธํŠธ๋กœ ๊พธ๋ฐ€ ์ˆ˜ ์žˆ๋Š” **๋‚˜๋งŒ์˜ ์ •์›** ๊ธฐ๋Šฅ๊นŒ์ง€! <br>
> <br>
> ํ™œ๋™ํ•ด์„œ ํš๋“ํ•œ ํฌ์ธํŠธ๋กœ ๊พธ๋ฐ€ ์ˆ˜ ์žˆ๋Š” **๋‚˜๋งŒ์˜ ์ •์›** ๊ธฐ๋Šฅ๊นŒ์ง€! <br> > <br>
> ๐ŸŒณ **Grow Story** ๐ŸŒณ์—์„œ๋Š” ์ด ๋ชจ๋“  ๊ฒƒ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค ๐Ÿ˜Š
<br>

------------
---

<br>

## ๐Ÿšฉ ํ”„๋กœ์ ํŠธ ๊ฐœ์š”
* **ํ”„๋กœ์ ํŠธ ๋ช…** : Grow Story
* **์ง„ํ–‰ ๊ธฐ๊ฐ„** : 23.08.24 ~ 23.09.19
* **์„œ๋น„์Šค URL** : [๐ŸŒณ Grow Story ๐ŸŒณ ๋ฐ”๋กœ ๊ฐ€๊ธฐ](https://grow-story.vercel.app/)

- **ํ”„๋กœ์ ํŠธ ๋ช…** : Grow Story
- **์ง„ํ–‰ ๊ธฐ๊ฐ„** : 23.08.24 ~ 23.09.19
- **์„œ๋น„์Šค URL** : [๐ŸŒณ Grow Story ๐ŸŒณ ๋ฐ”๋กœ ๊ฐ€๊ธฐ](https://grow-story.vercel.app/)

<br>

## ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ ํŒ€์› ์†Œ๊ฐœ
| ๊น€๋ฏผ์„ | ์‹ฌ๋„์—ฐ | ์ตœํ•œ๋นˆ | ํ™ฉ๋„๊ฒฝ | ๊น€๋„ํ˜• | ์ด์Šนํƒœ |
| :---: | :---: | :---: | :---: | :---: | :---: |

| ๊น€๋ฏผ์„ | ์‹ฌ๋„์—ฐ | ์ตœํ•œ๋นˆ | ํ™ฉ๋„๊ฒฝ | ๊น€๋„ํ˜• | ์ด์Šนํƒœ |
| :-----------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: |
| <img alt="๊น€๋ฏผ์„" src="https://avatars.githubusercontent.com/u/101828759?v=4" height="100" width="100"> | <img alt="์‹ฌ๋„์—ฐ" src="https://avatars.githubusercontent.com/u/126948653?v=4" height="100" width="100"> | <img alt="์ตœํ•œ๋นˆ" src="https://avatars.githubusercontent.com/u/44600584?v=4" height="100" width="100"> | <img alt="ํ™ฉ๋„๊ฒฝ" src="https://avatars.githubusercontent.com/u/71459076?v=4" height="100" width="100"> | <img alt="๊น€๋„ํ˜•" src="https://avatars.githubusercontent.com/u/62333468?v=4" height="100" width="100"> | <img alt="์ด์Šนํƒœ" src="https://avatars.githubusercontent.com/u/124790177?v=4" height="100" width="100"> |
| [@nalsae](https://github.com/nalsae) | [@shimdokite](https://github.com/shimdokite) | [@hanbinchoi](https://github.com/hanbinchoi) | [@Smile:DK](https://github.com/Dokyung-Hwang) | [@dohyoungK](https://github.com/dohyoungK) | [@NtoZero](https://github.com/NtoZero)
| **FE** (๋ถ€ํŒ€์žฅ) | **FE** | **FE** | **BE** (ํŒ€์žฅ) | **BE** | **BE** |
| [@nalsae](https://github.com/nalsae) | [@shimdokite](https://github.com/shimdokite) | [@hanbinchoi](https://github.com/hanbinchoi) | [@Smile:DK](https://github.com/Dokyung-Hwang) | [@dohyoungK](https://github.com/dohyoungK) | [@NtoZero](https://github.com/NtoZero) |
| **FE** (๋ถ€ํŒ€์žฅ) | **FE** | **FE** | **BE** (ํŒ€์žฅ) | **BE** | **BE** |

<br>

## ๐Ÿ”ง ๊ธฐ์ˆ  ์Šคํƒ

![Web App Reference Architecture (1)](https://github.com/nalsae/seb45_main_011/assets/101828759/86f50a74-2e0c-4a5d-8865-45e95f595593)

<br>
Expand All @@ -50,46 +53,44 @@
#### [๐Ÿ“Œ API ๋ช…์„ธ์„œ](https://documenter.getpostman.com/view/27565928/2s9Y5YS34h)

#### [๐Ÿ“Œ ERD](https://www.figma.com/file/yL1b8KClwZHoBXDcCp4wei/GrowStroy?type=design&node-id=1-8&mode=design)
![ERD GrowStory_final](https://github.com/nalsae/seb45_main_011/assets/101828759/35b133c5-790e-48cf-be56-8eb2f4c54522)

![ERD GrowStory_final](https://github.com/nalsae/seb45_main_011/assets/101828759/35b133c5-790e-48cf-be56-8eb2f4c54522)

<br>

## ๐ŸŽค ๊ธฐ์ˆ  ๋ฐœํ‘œ
#### [๐ŸŽž ๋ฐœํ‘œ ์˜์ƒ ๋ฐ”๋กœ ๊ฐ€๊ธฐ](https://www.youtube.com/watch?v=GHia0UGUqTw)

#### [๐ŸŽž ๋ฐœํ‘œ ์˜์ƒ ๋ฐ”๋กœ ๊ฐ€๊ธฐ](https://www.youtube.com/watch?v=GHia0UGUqTw)

<br>

## ๐Ÿ“œ ์„œ๋น„์Šค ๋งค๋‰ด์–ผ

#### [๐Ÿ“ฅ ์„œ๋น„์Šค ๋งค๋‰ด์–ผ ๋‹ค์šด๋กœ๋“œ](https://github.com/nalsae/seb45_main_011/files/12662276/Grow.Story.pdf)


<br>

## ๐Ÿ–ฅ ๊ตฌํ˜„ ์ด๋ฏธ์ง€

| ํŽ˜์ด์ง€ (๊ธฐ๋Šฅ) | ์ด๋ฏธ์ง€ |
| ---------------------- | -------------------------------------------------------------------------------------- |
| ๋ฉ”์ธ | ![๋ฉ”์ธ ํŽ˜์ด์ง€](https://github.com/nalsae/seb45_main_011/assets/101828759/7e293d8a-9934-4aa8-b3af-e6ccd7aa112b)|
| ๋กœ๊ทธ์ธ | ![๋กœ๊ทธ์ธ ํŽ˜์ด์ง€](https://github.com/nalsae/seb45_main_011/assets/101828759/7b393893-9c3b-45a3-aa21-748f46b8b522)|
| ํšŒ์› ๊ฐ€์ž… | ![ํšŒ์› ๊ฐ€์ž… ํŽ˜์ด์ง€](https://github.com/nalsae/seb45_main_011/assets/101828759/9b6db6ec-0e98-4267-a172-c2adf29a9fb9) |
| ์ •์› (๊พธ๋ฏธ๊ธฐ) |![์ •์› ํŽ˜์ด์ง€ - ๊พธ๋ฏธ๊ธฐ](https://github.com/nalsae/seb45_main_011/assets/101828759/de3caba6-42f5-4708-ad9c-8bd2e50a4231)|
| ์ •์› (์žฅ์‹ํ’ˆ ๊ตฌ๋งค) | ![์ •์› ํŽ˜์ด์ง€ - ๊ตฌ๋งค](https://github.com/nalsae/seb45_main_011/assets/101828759/49c9acf3-b06d-44e9-9a16-208f8a022b63) |
| ์ •์› (์‹๋ฌผ ์นด๋“œ ์—ฐ๋™) | ![์ •์› ํŽ˜์ด์ง€ - ์‹๋ฌผ ์นด๋“œ ์—ฐ๋™](https://github.com/nalsae/seb45_main_011/assets/101828759/ef6da970-f632-45b8-b0f9-eb737d5b9903) |
| ์‹๋ฌผ ์นด๋“œ ๋ชฉ๋ก, ๋“ฑ๋ก | ![์‹๋ฌผ์นด๋“œ ๋ชฉ๋ก](https://github.com/nalsae/seb45_main_011/assets/101828759/a7f05c66-9a9b-4ff0-a32d-08599fb4dd9a) |
| ์‹๋ฌผ ์นด๋“œ ์ƒ์„ธ | ![์‹๋ฌผ ์นด๋“œ ์ƒ์„ธ](https://github.com/nalsae/seb45_main_011/assets/101828759/38ab89f9-ec9c-4410-aeb9-83e9cd09ca7e) |
| ์‹๋ฌผ ์นด๋“œ ์ˆ˜์ •, ์‚ญ์ œ | ![์‹๋ฌผ ์นด๋“œ ์ˆ˜์ •, ์‚ญ์ œ](https://github.com/nalsae/seb45_main_011/assets/101828759/6fe42722-8676-4eee-bd00-27bc16c9c9f0)|
| ์ปค๋ฎค๋‹ˆํ‹ฐ | ![์ปค๋ฎค๋‹ˆํ‹ฐ](https://github.com/nalsae/seb45_main_011/assets/101828759/a27f3bfd-3346-4070-a6b8-082b5708f73a) |
| ๊ฒŒ์‹œ๊ธ€ ์ƒ์„ธ | ![๊ฒŒ์‹œ๊ธ€ ์ƒ์„ธ](https://github.com/nalsae/seb45_main_011/assets/101828759/128584db-95cd-4edf-9161-74962f67d645) |
| ๊ฒŒ์‹œ๊ธ€ ๋“ฑ๋ก | ![๊ฒŒ์‹œ๊ธ€ ๋“ฑ๋ก](https://github.com/nalsae/seb45_main_011/assets/101828759/211bd724-984e-45b8-989a-4c59246dbec2) |
| ๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •, ์‚ญ์ œ | ![๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •, ์‚ญ์ œ](https://github.com/nalsae/seb45_main_011/assets/101828759/1ea79b6f-2717-406b-89f4-adbdfcaa785e) |
| ๋Œ“๊ธ€ ๋“ฑ๋ก, ์ˆ˜์ •, ์‚ญ์ œ | ![๋Œ“๊ธ€ ๋“ฑ๋ก, ์ˆ˜์ •, ์‚ญ์ œ](https://github.com/nalsae/seb45_main_011/assets/101828759/52ccd8f0-5e30-4198-bfc9-2dca9b28b870)|
| ์ •๋ณด ์ˆ˜์ • | ![์ •๋ณด ์ˆ˜์ •](https://github.com/nalsae/seb45_main_011/assets/101828759/a74749c1-d239-48cc-ac55-f6eda46ff228) |
| ๋‚ด ๊ฒŒ์‹œ๊ธ€ | ![๋‚ด ๊ฒŒ์‹œ๊ธ€](https://github.com/nalsae/seb45_main_011/assets/101828759/9d05dd7d-0cd3-4f86-b0b8-43b5438ba724) |
| ํšŒ์› ํƒˆํ‡ด | ![ํšŒ์› ํƒˆํ‡ด](https://github.com/nalsae/seb45_main_011/assets/101828759/120777f3-9c77-4681-bd3c-78cd5204c90e) |

| ํŽ˜์ด์ง€ (๊ธฐ๋Šฅ) | ์ด๋ฏธ์ง€ |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| ๋ฉ”์ธ | ![๋ฉ”์ธ ํŽ˜์ด์ง€](https://github.com/nalsae/seb45_main_011/assets/101828759/7e293d8a-9934-4aa8-b3af-e6ccd7aa112b) |
| ๋กœ๊ทธ์ธ | ![๋กœ๊ทธ์ธ ํŽ˜์ด์ง€](https://github.com/nalsae/seb45_main_011/assets/101828759/7b393893-9c3b-45a3-aa21-748f46b8b522) |
| ํšŒ์› ๊ฐ€์ž… | ![ํšŒ์› ๊ฐ€์ž… ํŽ˜์ด์ง€](https://github.com/nalsae/seb45_main_011/assets/101828759/9b6db6ec-0e98-4267-a172-c2adf29a9fb9) |
| ์ •์› (๊พธ๋ฏธ๊ธฐ) | ![์ •์› ํŽ˜์ด์ง€ - ๊พธ๋ฏธ๊ธฐ](https://github.com/nalsae/seb45_main_011/assets/101828759/de3caba6-42f5-4708-ad9c-8bd2e50a4231) |
| ์ •์› (์žฅ์‹ํ’ˆ ๊ตฌ๋งค) | ![์ •์› ํŽ˜์ด์ง€ - ๊ตฌ๋งค](https://github.com/nalsae/seb45_main_011/assets/101828759/49c9acf3-b06d-44e9-9a16-208f8a022b63) |
| ์ •์› (์‹๋ฌผ ์นด๋“œ ์—ฐ๋™) | ![์ •์› ํŽ˜์ด์ง€ - ์‹๋ฌผ ์นด๋“œ ์—ฐ๋™](https://github.com/nalsae/seb45_main_011/assets/101828759/ef6da970-f632-45b8-b0f9-eb737d5b9903) |
| ์‹๋ฌผ ์นด๋“œ ๋ชฉ๋ก, ๋“ฑ๋ก | ![์‹๋ฌผ์นด๋“œ ๋ชฉ๋ก](https://github.com/nalsae/seb45_main_011/assets/101828759/a7f05c66-9a9b-4ff0-a32d-08599fb4dd9a) |
| ์‹๋ฌผ ์นด๋“œ ์ƒ์„ธ | ![์‹๋ฌผ ์นด๋“œ ์ƒ์„ธ](https://github.com/nalsae/seb45_main_011/assets/101828759/38ab89f9-ec9c-4410-aeb9-83e9cd09ca7e) |
| ์‹๋ฌผ ์นด๋“œ ์ˆ˜์ •, ์‚ญ์ œ | ![์‹๋ฌผ ์นด๋“œ ์ˆ˜์ •, ์‚ญ์ œ](https://github.com/nalsae/seb45_main_011/assets/101828759/6fe42722-8676-4eee-bd00-27bc16c9c9f0) |
| ์ปค๋ฎค๋‹ˆํ‹ฐ | ![์ปค๋ฎค๋‹ˆํ‹ฐ](https://github.com/nalsae/seb45_main_011/assets/101828759/a27f3bfd-3346-4070-a6b8-082b5708f73a) |
| ๊ฒŒ์‹œ๊ธ€ ์ƒ์„ธ | ![๊ฒŒ์‹œ๊ธ€ ์ƒ์„ธ](https://github.com/nalsae/seb45_main_011/assets/101828759/128584db-95cd-4edf-9161-74962f67d645) |
| ๊ฒŒ์‹œ๊ธ€ ๋“ฑ๋ก | ![๊ฒŒ์‹œ๊ธ€ ๋“ฑ๋ก](https://github.com/nalsae/seb45_main_011/assets/101828759/211bd724-984e-45b8-989a-4c59246dbec2) |
| ๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •, ์‚ญ์ œ | ![๊ฒŒ์‹œ๊ธ€ ์ˆ˜์ •, ์‚ญ์ œ](https://github.com/nalsae/seb45_main_011/assets/101828759/1ea79b6f-2717-406b-89f4-adbdfcaa785e) |
| ๋Œ“๊ธ€ ๋“ฑ๋ก, ์ˆ˜์ •, ์‚ญ์ œ | ![๋Œ“๊ธ€ ๋“ฑ๋ก, ์ˆ˜์ •, ์‚ญ์ œ](https://github.com/nalsae/seb45_main_011/assets/101828759/52ccd8f0-5e30-4198-bfc9-2dca9b28b870) |
| ์ •๋ณด ์ˆ˜์ • | ![์ •๋ณด ์ˆ˜์ •](https://github.com/nalsae/seb45_main_011/assets/101828759/a74749c1-d239-48cc-ac55-f6eda46ff228) |
| ๋‚ด ๊ฒŒ์‹œ๊ธ€ | ![๋‚ด ๊ฒŒ์‹œ๊ธ€](https://github.com/nalsae/seb45_main_011/assets/101828759/9d05dd7d-0cd3-4f86-b0b8-43b5438ba724) |
| ํšŒ์› ํƒˆํ‡ด | ![ํšŒ์› ํƒˆํ‡ด](https://github.com/nalsae/seb45_main_011/assets/101828759/120777f3-9c77-4681-bd3c-78cd5204c90e) |

<br>

Expand All @@ -107,15 +108,16 @@
[FE/BE] โœจ OOO ์ปดํฌ๋„ŒํŠธ ๊ตฌํ˜„
```

2. ๋‚ด์šฉ
2. ๋‚ด์šฉ


## Abstracts
* ๊ฐ„๋žตํ•˜๊ฒŒ ํ•  ์ผ์— ๋Œ€ํ•œ ์„ค๋ช…์„ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.

## To Do
- [ ] ๊ตฌํ˜„ํ•  ๊ธฐ๋Šฅ 1
- [ ] ๊ตฌํ˜„ํ•  ๊ธฐ๋Šฅ 2

## ETC
* ์ถ”๊ฐ€์ ์ธ ์•ˆ๋‚ด ์‚ฌํ•ญ์ด ์žˆ๋‹ค๋ฉด ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.

Expand All @@ -124,45 +126,48 @@
<details>
<summary><h4>๐Ÿ“Œ Commit</h4></summary>

- ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€

1. ์ ์ ˆํ•œ ์ปค๋ฐ‹ ์ ‘๋‘์‚ฌ ์ž‘์„ฑ
2. ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€ ๋‚ด์šฉ ์ž‘์„ฑ
3. ๋‚ด์šฉ ๋’ค์— ์ด์Šˆ (#์ด์Šˆ ๋ฒˆํ˜ธ)์™€ ๊ฐ™์ด ์ž‘์„ฑํ•˜์—ฌ ์ด์Šˆ ์—ฐ๊ฒฐ
- ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€

1. ์ ์ ˆํ•œ ์ปค๋ฐ‹ ์ ‘๋‘์‚ฌ ์ž‘์„ฑ
2. ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€ ๋‚ด์šฉ ์ž‘์„ฑ
3. ๋‚ด์šฉ ๋’ค์— ์ด์Šˆ (#์ด์Šˆ ๋ฒˆํ˜ธ)์™€ ๊ฐ™์ด ์ž‘์„ฑํ•˜์—ฌ ์ด์Šˆ ์—ฐ๊ฒฐ


[FE/BE] ๐Ÿ”ง Conf: ์ดˆ๊ธฐ ํ™˜๊ฒฝ ์„ค์ • (#1)

| ์ ‘๋‘์‚ฌ | ์„ค๋ช… |
| --- | --- |
| โœจ Feat : | ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๊ตฌํ˜„ |
| ๐Ÿฑ Add : | ์—์…‹ ํŒŒ์ผ ์ถ”๊ฐ€ |
| ๐Ÿ› Fix : | ๋ฒ„๊ทธ ์ˆ˜์ • |
| ๐Ÿ“ Docs : | ๋ฌธ์„œ ์ถ”๊ฐ€ ๋ฐ ์ˆ˜์ • |
| ๐Ÿ’„ Style : | ์Šคํƒ€์ผ๋ง ์ž‘์—… |
| โ™ป๏ธ Refactor : | ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง (๋™์ž‘ ๋ณ€๊ฒฝ ์—†์Œ) |
| ๐Ÿงช Test : | ํ…Œ์ŠคํŠธ |
| ๐Ÿš€ Deploy : | ๋ฐฐํฌ |
| ๐Ÿ”ง Conf : | ๋นŒ๋“œ, ํ™˜๊ฒฝ ์„ค์ • |
| โœ๏ธ Chore : | ๊ธฐํƒ€ ์ž‘์—… |
| ์ ‘๋‘์‚ฌ | ์„ค๋ช… |
| ------------- | ------------------------------ |
| โœจ Feat : | ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๊ตฌํ˜„ |
| ๐Ÿฑ Add : | ์—์…‹ ํŒŒ์ผ ์ถ”๊ฐ€ |
| ๐Ÿ› Fix : | ๋ฒ„๊ทธ ์ˆ˜์ • |
| ๐Ÿ“ Docs : | ๋ฌธ์„œ ์ถ”๊ฐ€ ๋ฐ ์ˆ˜์ • |
| ๐Ÿ’„ Style : | ์Šคํƒ€์ผ๋ง ์ž‘์—… |
| โ™ป๏ธ Refactor : | ์ฝ”๋“œ ๋ฆฌํŒฉํ† ๋ง (๋™์ž‘ ๋ณ€๊ฒฝ ์—†์Œ) |
| ๐Ÿงช Test : | ํ…Œ์ŠคํŠธ |
| ๐Ÿš€ Deploy : | ๋ฐฐํฌ |
| ๐Ÿ”ง Conf : | ๋นŒ๋“œ, ํ™˜๊ฒฝ ์„ค์ • |
| โœ๏ธ Chore : | ๊ธฐํƒ€ ์ž‘์—… |

</details>

<details>
<summary><h4>๐Ÿ“Œ Pull Request</h4></summary>

1. ์ œ๋ชฉ
- ์ž‘์—… ๋‚ด์šฉ์— ๋”ฐ๋ผ ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€์— ์‚ฌ์šฉํ•˜๋Š” Gitmoji๋ฅผ ์ ์ ˆํ•˜๊ฒŒ ์ž‘์„ฑ
- ์ž์‹ ์ด ์ž‘์—…ํ•œ ๋‚ด์šฉ์„ ํ•œ ๋ˆˆ์— ํŒŒ์•…ํ•˜๊ธฐ ์‰ฝ๋„๋ก ๋ช…์‚ฌํ˜•์œผ๋กœ ์ž‘์„ฑ

1. ์ œ๋ชฉ

- ์ž‘์—… ๋‚ด์šฉ์— ๋”ฐ๋ผ ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€์— ์‚ฌ์šฉํ•˜๋Š” Gitmoji๋ฅผ ์ ์ ˆํ•˜๊ฒŒ ์ž‘์„ฑ
- ์ž์‹ ์ด ์ž‘์—…ํ•œ ๋‚ด์šฉ์„ ํ•œ ๋ˆˆ์— ํŒŒ์•…ํ•˜๊ธฐ ์‰ฝ๋„๋ก ๋ช…์‚ฌํ˜•์œผ๋กœ ์ž‘์„ฑ

```
[FE/BE] โœจ OOO ์ปดํฌ๋„ŒํŠธ ๊ตฌํ˜„
```

2. ๋‚ด์šฉ
2. ๋‚ด์šฉ


## Title
* ์ œ๋ชฉ์€ 'โœจ ํ™ˆ ํŽ˜์ด์ง€ ๊ตฌํ˜„'๊ณผ ๊ฐ™์ด ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค.

## PR Type
- [ ] FEAT: ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ๊ตฌํ˜„
- [ ] ADD : ์—์…‹ ํŒŒ์ผ ์ถ”๊ฐ€
Expand All @@ -174,17 +179,17 @@
- [ ] DEPLOY: ๋ฐฐํฌ ๊ด€๋ จ
- [ ] CONF: ๋นŒ๋“œ, ํ™˜๊ฒฝ ์„ค์ •
- [ ] CHORE: ๊ธฐํƒ€ ์ž‘์—…

## Abstracts
* ์ž‘์—… ๋‚ด์šฉ์— ๋Œ€ํ•ด ๊ฐ„๋žตํ•˜๊ฒŒ ์„ค๋ช…์„ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.

## Description
* ๊ตฌ์ฒด์ ์ธ ์ž‘์—… ๋‚ด์šฉ์„ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.
* ์ด๋ฏธ์ง€๋ฅผ ๋ณ„๋„๋กœ ์ฒจ๋ถ€ํ•˜๋ฉด ๋” ์ข‹์Šต๋‹ˆ๋‹ค ๐Ÿ‘

## Discussion
* ์ถ”ํ›„ ๋…ผ์˜ํ•  ์ ์— ๋Œ€ํ•ด ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.

---
Close #1
(์ž‘์„ฑํ•œ Issue๋ฅผ ์—ฐ๊ฒฐํ•ด์ฃผ์„ธ์š”.)
Expand Down
3 changes: 3 additions & 0 deletions client/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ const nextConfig = {
},
],
},
compiler: {
removeConsole: process.env.NEXT_PUBLIC_NODE_ENV === 'production',
},
};

module.exports = nextConfig;
14 changes: 13 additions & 1 deletion client/src/api/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,19 @@ export const chatInstance = axios.create({
});

const onFulfiled = async (response: AxiosResponse) => {
if (authVerify() === 'Access Token Expired') {
if (authVerify() === 'Refresh Token Expired') {
return (
alert('ํ† ํฐ์ด ๋งŒ๋ฃŒ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์‹œ ๋กœ๊ทธ์ธํ•ด ์ฃผ์‹œ๊ธธ ๋ฐ”๋ž๋‹ˆ๋‹ค.'),
localStorage.clear(),
(window.location.href = '/signin'),
Promise.reject('Refresh Token Expired')
);
}

if (
authVerify() === 'Access Token Expired' &&
authVerify() !== 'Refresh Token Expired'
) {
const { authorization: newAccessToken } = response?.headers;

storageData.state.accessToken = newAccessToken;
Expand Down
4 changes: 1 addition & 3 deletions client/src/app/garden/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
LoadingNotice,
ShareButton,
ShareModal,
NotificationButton,
} from '@/components/common';
import {
GardenMap,
Expand Down Expand Up @@ -87,11 +88,8 @@ export default function Garden({ params }: GardenProps) {
)}
{isOpen && renderModal(type)}
</div>

<NotificationButton />

<InquiryButton />

<Footer />
</>
);
Expand Down
Loading

0 comments on commit b722432

Please sign in to comment.