Skip to content

Commit

Permalink
Merge pull request codestates-seb#362 from nalsae/develop
Browse files Browse the repository at this point in the history
[FE] 🚀 1차 추가 기능 배포를 위한 브랜치 병합
  • Loading branch information
nalsae authored Dec 26, 2023
2 parents 279a056 + 5880fc9 commit 7092143
Show file tree
Hide file tree
Showing 99 changed files with 2,794 additions and 721 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
Loading

0 comments on commit 7092143

Please sign in to comment.