Skip to content

Commit

Permalink
Merge pull request #94 from depromeet/develop
Browse files Browse the repository at this point in the history
develop 에 개발된 코드 master 브랜치로 머지
  • Loading branch information
junhaesung authored Aug 6, 2022
2 parents cd4656e + edbb1ec commit e90c00c
Show file tree
Hide file tree
Showing 156 changed files with 5,614 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This is a basic workflow to help you get started with Actions

name: inspiration

on:
workflow_dispatch:

env:
S3_BUCKET_NAME: ygt-bucket
PROJECT_LOCATION: deploy
PROJECT_NAME: inspiration

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17

- name: Grant execute permission for gradlew
run: chmod +x gradlew
shell: bash

- name: Build with Gradle
run: ./gradlew build
shell: bash

- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip .
shell: bash


- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Upload to S3
run: aws s3 cp --region ap-northeast-2 ./$GITHUB_SHA.zip s3://$S3_BUCKET_NAME/$PROJECT_LOCATION/$PROJECT_NAME/$GITHUB_SHA.zip

- name: Code Deploy
run: aws deploy create-deployment --application-name Ygt-CodeDeploy --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name Ygt-Develop-Deploy --s3-location bucket=$S3_BUCKET_NAME,bundleType=zip,key=$PROJECT_LOCATION/$PROJECT_NAME/$GITHUB_SHA.zip
34 changes: 34 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: inspiration-github-action CI

on:
push:
branches:
- 'feature/*'
- 'develop'
workflow_dispatch:

pull_request:
branches:
- 'feature/*'
- 'develop'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash

- name: Build with Gradle
run: ./gradlew build
shell: bash
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
.env
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###

.vscode/
/module-domain/src/main/resources/
/module-api/src/main/resources/
/module-common/src/main/resources/
/module-batch/src/main/resources/
/module-web/src/main/resources/
232 changes: 232 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
![Github-readme](https://user-images.githubusercontent.com/26461307/172001186-f07cfa73-8f3d-4329-bafc-389e2c70dc7d.png)

<br />

<img src="https://user-images.githubusercontent.com/26461307/170086546-4d34c81b-e6c0-4736-92fb-d085cf8ac442.png" alt="ygtang logo" align="right" height="80" >

# 영감탱

여기저기 흩어져있는 넘치는 영감.

세상의 모든 것은 영감이 될 수 있고, 영감탱에서 기억할 수 있어요.

<br />
<br />

![1](https://user-images.githubusercontent.com/26461307/175064698-e082af7a-31cd-4ce1-959a-d751be47fc8c.png)

웹서핑 중 발견한 영감! 빠르게 아카이빙하고 싶었던 적이 있지 않나요?

휴대폰 내 ‘공유' 기능을 통해 영감탱으로 빠르게 영감을 아카이빙 하세요.

물론, 앱에서 직접 추가할 수도 있답니다.

<br />
<br />

![2](https://user-images.githubusercontent.com/26461307/175064712-bc8f1995-25a2-4158-ac3a-af3e1b9b9d92.png)

글, 이미지, 링크 형태의 영감을 모아둘 수 있어요.

왜 좋은 영감이라 생각했는지 간단한 메모를 통해 영감을 더 풍부하게 만들어보세요!

<br />
<br />

![3](https://user-images.githubusercontent.com/26461307/175064722-bb807ce7-ea4c-487a-adef-0eb70c7fbc1d.png)

영감 내용에 맞는 태그를 등록하거나 기존 태그를 달아놓으면, 필터 기능을 통해 쉽게 찾아볼 수 있어요.

<br />
<br />

![4](https://user-images.githubusercontent.com/26461307/175064728-a1ec9d6a-9fa0-4f32-b03a-ab53ff05c1e4.png)

자, 이제 매일매일 TANG! 해보아요 🥳

<br />
<br />

## Download

| Apple App Store | Google Play Store |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <a href="https://apps.apple.com/us/app/%EC%98%81%EA%B0%90%ED%83%B1/id1626598770"><img src="https://tools.applemediaservices.com/api/badges/download-on-the-app-store/black/ko-kr?size=250x83&amp;releaseDate=1654300800&h=dd4ccd7fb22c609cf9132f37bf23c390" alt="Download on the App Store" style="border-radius: 13px; width: 250px; height: 83px;"></a> | <a href='https://play.google.com/store/apps/details?id=kr.ygtang'><img alt='다운로드하기 Google Play' width='285px' src='https://play.google.com/intl/en_us/badges/static/images/badges/ko_badge_web_generic.png'/></a> |

<br />
<br />

## Preview

<p>

<img width='18%' src="https://user-images.githubusercontent.com/26461307/170093489-faa77d91-6eeb-43ab-b402-722d58869fd2.png" /> <img width='18%' src="https://user-images.githubusercontent.com/26461307/170093501-ab5ef942-8e30-4273-b9ee-cbcc7d0c4826.png" /> <img width='18%' src="https://user-images.githubusercontent.com/26461307/170093507-2cfd4e4d-aad2-4fd5-afcb-3487bc62b6ae.png" /> <img width='18%' src="https://user-images.githubusercontent.com/26461307/170093512-67840acb-d447-4090-b477-72ea7de49bdd.png" /> <img width='18%' src="https://user-images.githubusercontent.com/26461307/170093514-5910ab12-25e6-4037-ae66-ca5a237da0c4.png" />

</p>

<br />
<br />

## Skills

<p>
<img src="https://img.shields.io/badge/java-FFF000?style=for-the-badge&logo=java&logoColor=white">
<img src="https://img.shields.io/badge/smtp-FFF000?style=for-the-badge&logo=java&logoColor=white">

<img src="https://img.shields.io/badge/springboot-6DB33F?style=for-the-badge&logo=springboot&logoColor=white">
<img src="https://img.shields.io/badge/spring security-6DB33F?style=for-the-badge&logo=spring security&logoColor=white">
<img src="https://img.shields.io/badge/jwt-6DB33F?style=for-the-badge&logo=jwt&logoColor=white">
<img src="https://img.shields.io/badge/JPA-6DB33F?style=for-the-badge&logo=JPA&logoColor=white">
<img src="https://img.shields.io/badge/gradle-6DB33F?style=for-the-badge&logo=gradle&logoColor=white">

<img src="https://img.shields.io/badge/mysql-1C9AD6?style=for-the-badge&logo=mysql&logoColor=orange">
<img src="https://img.shields.io/badge/redis-1C9AD6?style=for-the-badge&logo=redis&logoColor=orange">
<img src="https://img.shields.io/badge/flyway-1C9AD6?style=for-the-badge&logo=flyway&logoColor=orange">

<img src="https://img.shields.io/badge/amazonaws-232F3E?style=for-the-badge&logo=amazonaws&logoColor=white">
<img src="https://img.shields.io/badge/nginx-232F3E?style=for-the-badge&logo=nginx&logoColor=white">
<img src="https://img.shields.io/badge/ec2-232F3E?style=for-the-badge&logo=ec2&logoColor=white">
<img src="https://img.shields.io/badge/s3-232F3E?style=for-the-badge&logo=s3&logoColor=white">


</p>
<br />

## Server Architecture

![image](https://user-images.githubusercontent.com/63771579/176728690-aaa9304b-8cb9-4912-8b51-6c3c5505f102.png)

## Directory structure

```bash
├── module-api
├── moudle-domain
├── module-commom
└── module-web
```

![무제 drawio (1)](https://user-images.githubusercontent.com/63771579/176728300-316d5533-fa98-48a9-a7d0-327b08e2e0f0.png)


**왜 멀티모듈을 사용했을까요?**

- 의존 관계 및 결합도를 줄이고, 응집성을 높입니다.
- 코드의 중복을 줄입니다.
- 각 모듈의 기능을 파악하기 쉬우므로, 이해하기 쉽고 유지보수에 용이한 코드가 됩니다.
- 빌드를 쉽게 진행할 수 있습니다.

<br />
<br />

## Owner

<table>

<tr>
<td align=center>
<a href="https://github.com/positiveko">
<img src="https://avatars.githubusercontent.com/u/69200669?v=4" width="100px" />
<br/>
FE 🖥
<br/>
고은정
</a>
</td>

<td align=center>
<a href="https://github.com/hyesungoh">
<img src="https://avatars.githubusercontent.com/u/26461307?v=4" width="100px" />
<br/>
FE 🖥
<br/>
오혜성
</a>
</td>

<td align=center>
<a href="https://github.com/SenseCodeValue">
<img src="https://avatars.githubusercontent.com/u/59507527?v=4" width="100px" />
<br/>
FE 🖥
<br/>
정대윤
</a>
</td>

<td align=center>
<a href="https://github.com/ddarkr">
<img src="https://avatars.githubusercontent.com/u/6638675?v=4" width="100px" />
<br/>
FE 🖥
<br/>
정도현
</a>
</td>

<td align=center>
<a href="https://linktr.ee/kzmgy">
<img src="https://user-images.githubusercontent.com/26461307/171999525-9e8f67d7-94e7-40e2-af81-f5ef23d41183.png" width="100px" />
<br/>
Design 🎨
<br/>
김자영
</a>
</td>

</tr>

<tr>

<td align=center>
<a href="https://github.com/nature1216">
<img src="https://avatars.githubusercontent.com/u/63771579?v=4" width="100px" />
<br/>
BE 💾
<br/>
김자연
</a>
</td>

<td align=center>
<a href="https://github.com/IW-MOON">
<img src="https://avatars.githubusercontent.com/u/72685070?v=4" width="100px" />
<br/>
BE 💾
<br/>
문인우
</a>
</td>

<td align=center>
<a href="https://github.com/Hyung1Jung">
<img src="https://avatars.githubusercontent.com/u/43127088?v=4" width="100px" />
<br/>
BE 💾
<br/>
정형일
</a>
</td>

<td align=center>
<a href="https://www.behance.net/sypak120c57e">
<img src="https://user-images.githubusercontent.com/26461307/171999527-4c959b86-221a-4f5d-add1-1b536d798c01.png" width="100px" />
<br/>
Design 🎨
<br/>
박수연
</a>
</td>

<td align=center>
<a href="https://www.behance.net/misukj12240ed5">
<img src="https://user-images.githubusercontent.com/26461307/171999522-4e9d04c5-60b5-4740-9b8d-7efd84555775.png" width="100px" />
<br/>
Design 🎨
<br/>
정미숙
</a>
</td>

</tr>

</table>
27 changes: 27 additions & 0 deletions appspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# appspec.yml

version: 0.0
os: linux
files:
- source: /
destination: /home/ubuntu/app/inspiration/source
overwrite: yes
file_exists_behavior: OVERWRITE

permissions:
- object: /
pattern: "**"
owner: ubuntu
group: ubuntu

hooks:
ApplicationStart:
- location: scripts/run_new_was.sh
timeout: 200
runas: ubuntu
- location: scripts/health_check.sh
timeout: 200
runas: ubuntu
#- location: scripts/switch.sh
# timeout: 180
#cd bu runas: ubuntu
Loading

0 comments on commit e90c00c

Please sign in to comment.