-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- ์ด๋ฆ, email, password๋ฅผ ์ ๋ ฅํ์ฌ ํ์๊ฐ์ ์งํ - email, password๋ฅผ ์ ๋ ฅํ์ฌ ๋ก๊ทธ์ธ - ๋ก๊ทธ์์ ๋ฒํผ์ ํตํด ๋ก๊ทธ์์ - ํ์๊ฐ์ ์ ์งํํ๋ฉด ์๋ ๋ก๊ทธ์ธ - JWT ํ ํฐ์ ํตํ ์๋ ๋ก๊ทธ์ธ ๊ธฐ๋ฅ ์ง์ - ํธ๋ํนํ๊ณ ์ถ์ ์ํ์ URL์ ํตํด ๋ชฉํ ๊ฐ๊ฒฉ๊ณผ ํจ๊ป ๋ฑ๋ก - ๋ฉ์ธ ํ๋ฉด์์ ํธ๋ํน ์ค์ธ ์ํ ๋ชฉ๋ก์ ํ์ธ - ์์ธ ํ๋ฉด์์ ํธ๋ํน ์ค์ง ๋ฒํผ์ ํตํด ์ํ์ ์ญ์ - ์ธ๊ธฐ ์ํ ํ๋ฉด์ ํตํด ํธ๋ํน์ค์ธ ์ฌ์ฉ์๊ฐ ๋ง์ ์์๋ก ์ธ๊ธฐ ์ํ ๋ชฉ๋ก์ ํ์ธ Co-Authored-By: EunhoKang <[email protected]> Co-Authored-By: ootr47 <[email protected]> Co-Authored-By: ByeongIk Choi <[email protected]> Co-Authored-By: ์๋ฌธ๊ธฐ <[email protected]>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Android | ||
/android/ @Taewan-P @EunhoKang @ootr47 | ||
|
||
# Backend | ||
/backend/ @Muungi @sickbirdd |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Backlog Task Template | ||
about: ๋ฐฑ๋ก๊ทธ ํ์คํฌ๋ฅผ ์ถ๊ฐํฉ๋๋ค | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### ์๊ตฌ์ฌํญ | ||
|
||
*์ด๋ค ๊ธฐ๋ฅ์ด ๊ตฌํ๋์ด์ผํ๋์ง ์ ์ด์ฃผ์ธ์* | ||
|
||
|
||
|
||
### ์ถ๊ฐ ์๋ฃ | ||
|
||
*์ถ๊ฐ ๋งํฌ ๋ฐ ์๋ฃ๋ ์ฌ๊ธฐ ์ ์ด์ฃผ์ธ์* |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
android: | ||
- android/** | ||
|
||
backend: | ||
- backend/** | ||
|
||
infra: | ||
- .github/** | ||
|
||
docs: | ||
- '*.md' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
Resolves #<์ด์๋ฒํธ> | ||
|
||
## ์งํ ๋ด์ฉ | ||
|
||
- [ ] | ||
|
||
|
||
## ์คํฌ๋ฆฐ์ท (์ ํ) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/labeler.yml | ||
sync-labels: true | ||
dot: true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: ๐ Deploy to Naver Cloud Platform | ||
on: | ||
push: | ||
branches: | ||
- release # Only in release branch | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push to ncp container registry | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Login to NCP Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ secrets.NCP_CONTAINER_REGISTRY }} | ||
username: ${{ secrets.NCP_ACCESS_KEY }} | ||
password: ${{ secrets.NCP_SECRET_KEY }} | ||
- name: build and push | ||
uses: docker/build-push-action@v3 | ||
with: | ||
context: . | ||
file: ./backend/Dockerfile | ||
push: true | ||
tags: ${{ secrets.NCP_CONTAINER_REGISTRY }}/server:latest | ||
cache-from: type=registry,ref=${{ secrets.NCP_CONTAINER_REGISTRY }}/server:latest | ||
cache-to: type=inline | ||
secrets: | | ||
GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }} | ||
pull_from_registry: | ||
name: Connect server ssh and pull from container registry | ||
needs: push_to_registry | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: connect ssh | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.SERVER_HOST }} | ||
username: ${{ secrets.SERVER_USERNAME }} | ||
password: ${{ secrets.SERVER_PASSWORD }} | ||
port: ${{ secrets.SERVER_PORT }} | ||
script: | | ||
sudo docker pull ${{ secrets.NCP_CONTAINER_REGISTRY }}/server | ||
sudo docker stop $(docker ps -a -q) | ||
sudo docker rm $(docker ps -a -q) | ||
sudo docker run -d -p 3000:3000 --env-file ${{ secrets.ENV_FILE }} -v ${{ secrets.HOST_DIR}}:${{secrets.CONTAINER_DIR}} ${{ secrets.NCP_CONTAINER_REGISTRY }}/server | ||
sudo docker image prune -f |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: ESLint Check | ||
on: | ||
pull_request: | ||
paths: | ||
- backend/** | ||
jobs: | ||
eslint: | ||
name: runner / eslint | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: reviewdog/action-eslint@v1 | ||
with: | ||
eslint_flags: "src/" | ||
filter_mode: file | ||
workdir: "backend" | ||
fail_on_error: true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: ๐ฅ Deploy to Firebase App Distribution | ||
|
||
on: | ||
push: | ||
branches: | ||
- release # Only in release branch | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'oracle' | ||
java-version: '17' | ||
cache: 'gradle' | ||
- name: Generate Keystore | ||
env: | ||
KEYSTORE_B64: ${{ secrets.APP_KEYSTORE }} | ||
run: | | ||
echo $KEYSTORE_B64 > keystore_b64.txt | ||
base64 --decode --ignore-garbage keystore_b64.txt > keystore.jks | ||
working-directory: ./android/app | ||
|
||
- name: Build Release APK | ||
env: | ||
SIGNING_KEY_ALIAS: ${{ secrets.KEY_ALIAS }} | ||
SIGNING_PASSWORD: ${{ secrets.KEY_PASSWORD }} | ||
run: ./gradlew assembleRelease | ||
working-directory: ./android | ||
|
||
- name: Upload to Firebase App Distribution | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1 | ||
with: | ||
appId: ${{ secrets.FIREBASE_APP_ID }} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_APP_DISTRIBUTION }} | ||
groups: tester | ||
releaseNotesFile: android/release_notes.txt | ||
file: android/app/build/outputs/apk/release/app-release.apk |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Kotlin Lint Check | ||
on: | ||
pull_request: | ||
paths: | ||
- android/** | ||
|
||
jobs: | ||
ktlint: | ||
name: Check Kotlin Format | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v4 | ||
- name: ktlint | ||
uses: ScaCap/action-ktlint@master | ||
with: | ||
filter_mode: file | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-review |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# MacOS | ||
.DS_Store |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Price Guard | ||
<img width="275" alt="priceguard_icon_web" src="https://github.com/boostcampwm2023/and09-PriceGuard/assets/37584805/b3fd42cf-f075-4cc7-a263-8195f28ab6ac"> | ||
|
||
## ๐ก๏ธ ํ๋ก์ ํธ ์๊ฐ | ||
|
||
_์ํ๋ ์ํ์ ๊ฐ๊ฒฉ์ ์ถ์ ํ๊ณ ์ ๋ ดํ ๋ ๊ตฌ์ ํ์ธ์!_ | ||
|
||
``` | ||
PriceGuard๋ ๊ตญ๋ด ์๊ฑฐ๋ ์ฌ์ดํธ๋ค์ ์ํ ๊ฐ๊ฒฉ์ ์ถ์ ํฉ๋๋ค. | ||
์ฌ์ฉ์๊ฐ ์ํ๋ ์ํ ๋งํฌ๋ฅผ ๋ฑ๋กํ๋ฉด ํด๋น ์ํ๋ค์ ์ ๋ณด๋ฅผ ์ฃผ๊ธฐ์ ์ผ๋ก ํ์ธํฉ๋๋ค. | ||
์ฌ์ฉ์๊ฐ ๋ชฉํ ๊ฐ๊ฒฉ์ ์ค์ ํด์ ๋ชฉํ ๊ฐ๊ฒฉ ์ดํ์ธ ์ํ์ด ์์ผ๋ฉด ์๋ฆผ์ ๋ณด๋ ๋๋ค. | ||
``` | ||
|
||
## ๐จโ๐จโ๐ฆ ํ์ ์๊ฐ | ||
|
||
<table> | ||
<tr> | ||
<td align="center"><a href="https://github.com/muungi">J070 ์๋ฌธ๊ธฐ</a></td> | ||
<td align="center"><a href="https://github.com/sickbirdd">J157 ์ต๋ณ์ต</a></td> | ||
<td align="center"><a href="https://github.com/EunhoKang">K001 ๊ฐ์ํธ</a></td> | ||
<td align="center"><a href="https://github.com/ootr47">K012 ๋ฐ์น์ค</a></td> | ||
<td align="center"><a href="https://github.com/Taewan-P">K017 ๋ฐํ์</a></td> | ||
</tr> | ||
<tr> | ||
<td align="center"><a href="https://github.com/muungi"><img src="https://github.com/muungi.png" width="100px;" alt=""/></a></td> | ||
<td align="center"><a href="https://github.com/sickbirdd"><img src="https://github.com/sickbirdd.png" width="100px;" alt=""/></a></td> | ||
<td align="center"><a href="https://github.com/EunhoKang"><img src="https://github.com/EunhoKang.png" width="100px;" alt=""/></a></td> | ||
<td align="center"><a href="https://github.com/ootr47"><img src="https://github.com/ootr47.png" width="100px;" alt=""/></a></td> | ||
<td align="center"><a href="https://github.com/Taewan-P"><img src="https://github.com/Taewan-P.png" width="100px;" alt=""/></a></td> | ||
</tr> | ||
<tr> | ||
<td align="center">Back-End</td> | ||
<td align="center">Back-End</td> | ||
<td align="center">Android</td> | ||
<td align="center">Android</td> | ||
<td align="center">Android</td> | ||
</tr> | ||
</table> | ||
<br/> | ||
|
||
|
||
## :memo: ํ ๊ท์น | ||
- [ํ ๊ท์น](https://github.com/boostcampwm2023/and09-PriceGuard/wiki/%ED%8C%80-%EA%B7%9C%EC%B9%99) | ||
- [Git ๊ท์น](https://github.com/boostcampwm2023/and09-PriceGuard/wiki/Git-%EC%82%AC%EC%9A%A9%EB%B2%95) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[*.{kt,kts}] | ||
end_of_line = lf | ||
ij_kotlin_allow_trailing_comma = false | ||
ij_kotlin_allow_trailing_comma_on_call_site = false | ||
ij_kotlin_imports_layout = * | ||
ij_kotlin_packages_to_use_import_on_demand = java.util.*,kotlinx.android.synthetic.** | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
ktlint_chain_method_rule_force_multiline_when_chain_operator_count_greater_or_equal_than = unset | ||
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = unset | ||
ktlint_code_style = android_studio | ||
ktlint_function_naming_ignore_when_annotated_with = [unset] | ||
ktlint_function_signature_body_expression_wrapping = default | ||
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than = unset | ||
ktlint_ignore_back_ticked_identifier = false | ||
max_line_length = off | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/caches | ||
/.idea/libraries | ||
/.idea/modules.xml | ||
/.idea/workspace.xml | ||
/.idea/navEditor.xml | ||
/.idea/assetWizardSettings.xml | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties | ||
|
||
# Keystore | ||
*.jks | ||
|
||
# Release | ||
/app/release |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |