Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] main Merge 컨플릭트 해소 #327

Merged
merged 78 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
79fcf5b
Feat:
twoo1999 Nov 13, 2023
e4a0e35
Merge branch 'BE/release' of https://github.com/boostcampwm2023/iOS01…
twoo1999 Nov 13, 2023
d0389a9
swagger 설정 (#60)
twoo1999 Nov 14, 2023
c5b093f
[BE] start journal (#81)
twoo1999 Nov 20, 2023
977535f
[BE] collection 이름 수정 및 리팩토링 (#86)
twoo1999 Nov 21, 2023
e243d7b
[BE] 보안 및 docker 추가 (#90)
twoo1999 Nov 22, 2023
2eb394b
[BE] 여정 삭제 api 구현 및 github action 일부 (#91)
vvans Nov 23, 2023
b9d276c
[BE] ♻️ : 여정 시작 api 수정 (#93)
twoo1999 Nov 23, 2023
2a42238
[BE] 여정 기록 api (#97)
twoo1999 Nov 23, 2023
266a0b4
[BE] ✨ : 실시간 위치 기록 api 구현 (#99)
twoo1999 Nov 23, 2023
9434edf
[BE] 스웨거 api 수정 및 폴더 구조 리팩토링 (#102)
vvans Nov 23, 2023
e161df4
[BE] ✨ : 배포를 위한 페이지 제작 (#109)
twoo1999 Nov 24, 2023
87a77fd
[BE] ✨ : github action 기능 추가 (#115)
twoo1999 Nov 25, 2023
15301f7
Update action.yml (#116)
twoo1999 Nov 25, 2023
479fef7
Update action.yml (#117)
twoo1999 Nov 25, 2023
76396d4
Update action.yml (#118)
twoo1999 Nov 25, 2023
f77108f
[BE] ♻️ : swagger 수정(github action test) (#119)
twoo1999 Nov 25, 2023
baf9a99
[BE] ✨ : 여정 마무리 api (#127)
twoo1999 Nov 28, 2023
c312f49
[BE] 여정 조회 API (#126)
vvans Nov 28, 2023
291bc86
env 파일 제거 (#139)
twoo1999 Nov 30, 2023
3e5e3a6
[BE] 예외 처리 및 스웨거 응답 부분 추가 (#134)
vvans Nov 30, 2023
c5b5130
[BE] ♻️ : spot 기록 이미지 데이터 형식 수정 (#133)
twoo1999 Nov 30, 2023
73881bb
[BE] ♻️ : journey 관련 예외처리 수행 (#142)
twoo1999 Nov 30, 2023
d621b7c
exception filter 수정 (#145)
twoo1999 Nov 30, 2023
b9c9952
예외 필터 수정 (#146)
twoo1999 Nov 30, 2023
e704bf3
[BE] 좌표가 이중 배열인 경우 추가 및 기타 예외 처리 (#147)
vvans Nov 30, 2023
5926e3e
[BE] logger 추가 (#152)
twoo1999 Nov 30, 2023
e52c382
[BE] spotid로 spot 가져오기 get 요청 구현 및 예외처리 (#151)
vvans Nov 30, 2023
b3fcbda
[BE] 응답 수정 (#157)
twoo1999 Nov 30, 2023
c458c96
[BE] exception filter 응답 수정 (#164)
twoo1999 Nov 30, 2023
ec7770d
Be/task/release link (#165)
twoo1999 Nov 30, 2023
a14d057
[BE] 여정 조회 방식 변경 및 가장 최근 여정 찾기 api 구현 (#187)
vvans Dec 5, 2023
22a9cc6
[BE] ✨ : 유저 추가 api 구현 (#205)
twoo1999 Dec 5, 2023
914f542
[BE] ✨ : journey 관련 스키마 및 dto 수정 (#207)
twoo1999 Dec 5, 2023
f34c2f5
[BE] ♻️ : swagger 응답 예시 수정 및 check 비지니스 로직 수정 (#208)
twoo1999 Dec 5, 2023
057a50f
Be/task/small modify (#210)
twoo1999 Dec 6, 2023
772d6d8
[BE] ♻️ : spot 저장 비지니스 로직 수정 (#213)
twoo1999 Dec 6, 2023
a600177
Be/task/logger (#215)
twoo1999 Dec 6, 2023
6c593d8
[BE] ♻️ : 네트워크 과정 필요사항 수정 (#230)
twoo1999 Dec 7, 2023
2c1f3c5
[BE] ♻️ : spot 생성 시 응답 변경 (#233)
twoo1999 Dec 7, 2023
cceafc0
[BE] ♻️ : logger 수정 (#234)
twoo1999 Dec 7, 2023
37192a6
[BE] ♻️ : artwork 스키마 및 dto 수정 (#236)
twoo1999 Dec 7, 2023
6ae3c63
Be/test (#237)
twoo1999 Dec 7, 2023
70a8435
Update action.yml (#238)
twoo1999 Dec 7, 2023
fd51bd8
Update action.yml (#239)
twoo1999 Dec 7, 2023
39f8124
Update action.yml (#240)
twoo1999 Dec 7, 2023
a12d0ee
Be/task/githubaction test (#241)
twoo1999 Dec 7, 2023
7cf3fff
Update spot.controller.ts (#242)
twoo1999 Dec 7, 2023
337b85f
[BE] 배포하기위한 수정 (#246)
twoo1999 Dec 7, 2023
d301f1c
Be/task/release (#250)
twoo1999 Dec 8, 2023
83d9dae
Update action.yml (#259)
twoo1999 Dec 9, 2023
e2d9f47
Update action.yml (#260)
twoo1999 Dec 9, 2023
9a5144b
Update app.module.ts (#261)
twoo1999 Dec 9, 2023
e07df60
[BE] coordinate dto 수정 (#262)
twoo1999 Dec 9, 2023
0b3f233
[BE] check api 중지 (#264)
twoo1999 Dec 9, 2023
2c6e59b
[BE] check api 추가 (#266)
twoo1999 Dec 9, 2023
392d7fd
[BE] check 로직에 try catch 추가 (#268)
twoo1999 Dec 9, 2023
ab4700a
[BE] ♻️ : Coordinate 전반적인 예외 처리 로직 수정 (#269)
twoo1999 Dec 10, 2023
99ddcd3
[BE] ♻️ : check 비지니스 로직 수정 (#271)
twoo1999 Dec 10, 2023
cfd2059
[BE] ✨ : 여정 삭제 api 구현 (#275)
twoo1999 Dec 10, 2023
97c585a
[BE] 메인 브랜치 merge 충돌 해결 (#285)
twoo1999 Dec 10, 2023
a84e639
[BE] main 브랜치 merge 충돌 해결 (#286)
twoo1999 Dec 10, 2023
c18e44b
[BE] 충돌해결 (#287)
twoo1999 Dec 10, 2023
adea04d
Be/task/resolve merge (#291)
SwiftyJunnos Dec 10, 2023
cfee895
[BE] : 충돌해결 (#292)
twoo1999 Dec 10, 2023
37100aa
Merge pull request #284 from boostcampwm2023/BE/release
SwiftyJunnos Dec 10, 2023
5de0ec2
[BE] : release (#304)
twoo1999 Dec 11, 2023
c671fcb
[BE] iOS 파일 제거 (#306)
twoo1999 Dec 11, 2023
d1516a8
[BE] : checjk fix (#308)
twoo1999 Dec 12, 2023
f6b64f0
[BE] ♻️ : spot 저장 시 journey의 coordinates에 spot의 coordinate추가 (#311)
twoo1999 Dec 12, 2023
df066d2
[BE] ♻️ : coordinate 판별 decorator 로직 수정 및 spot 저장 시 예외처리 (#314)
twoo1999 Dec 12, 2023
26df6e2
[BE] ♻️ : 마지막 journey의 완료 여부를 확인하는 api 로직 수정 (#319)
twoo1999 Dec 13, 2023
966f35a
[BE] ios 파일 추가 (#320)
twoo1999 Dec 13, 2023
5e9732b
[BE] : 배포 링크 추가 (#321)
twoo1999 Dec 14, 2023
23a9c68
[BE] 배포 버전 수정 (#322)
twoo1999 Dec 14, 2023
80a25ad
[BE] : gitignore 충돌 해결 (#324)
twoo1999 Dec 14, 2023
9e50239
Merge pull request #325 from boostcampwm2023/BE/release
SwiftyJunnos Dec 14, 2023
b387c5b
Merge branch 'main' into iOS/release
SwiftyJunnos Dec 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Music Spot Project


on:
push:
branches: ["BE/release"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
cd BE/musicspot
docker login -u ${{secrets.DOCKER_USERNAME}} -p ${{secrets.DOCKER_TOKEN}}
docker build -t ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:${{github.sha}} ./
docker images
docker push ${{secrets.DOCKER_USERNAME}}/${{secrets.DOCKER_REPO}}:${{github.sha}}

- name: Deploy to server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_VPC_HOST }}
username: ${{ secrets.SERVER_VPC_USERNAME }}
key: ${{ secrets.SERVER_VPC_KEY }}
port: ${{ secrets.SERVER_VPC_PORT }}
script: |
mkdir a
cd compose
echo ${{ secrets.SERVER_VPC_PASSWORD }} | sudo -S docker rm -f $(sudo docker ps -qa)
echo ${{ secrets.SERVER_VPC_PASSWORD }} | sudo -S docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_TOKEN }}
echo ${{ secrets.SERVER_VPC_PASSWORD }} | sudo -S docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:${{github.sha}}
echo ${{ secrets.SERVER_VPC_PASSWORD }} | sudo -S docker tag ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:${{github.sha}} ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO}}:latest
echo ${{ secrets.SERVER_VPC_PASSWORD }} | sudo -S docker compose up -d
echo ${{ secrets.SERVER_VPC_PASSWORD }} | sudo -S docker image prune -af
133 changes: 132 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,135 @@ Temporary Items
# iCloud generated files
*.icloud

# End of https://www.toptal.com/developers/gitignore/api/macos
### Swift ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
# Pods/
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# fastlane
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

### SwiftPackageManager ###
Packages
xcuserdata
*.xcodeproj


### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### Xcode ###

## Xcode 8 and earlier

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcodeproj/project.xcworkspace/
!*.xcworkspace/contents.xcworkspacedata
/*.gcno
**/xcshareddata/WorkspaceSettings.xcsettings

# End of https://www.toptal.com/developers/gitignore/api/macos,windows,xcode,swift,swiftpackagemanager
node_modules
# End of https://www.toptal.com/developers/gitignore/api/macos
4 changes: 4 additions & 0 deletions BE/musicspot/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git
Dockerfile
node_modules
dist
25 changes: 25 additions & 0 deletions BE/musicspot/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};
37 changes: 37 additions & 0 deletions BE/musicspot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# compiled output
/dist
/node_modules

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

.env
4 changes: 4 additions & 0 deletions BE/musicspot/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}
8 changes: 8 additions & 0 deletions BE/musicspot/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:18
RUN mkdir -p /var/app
WORKDIR /var/app
COPY . .
RUN npm install
RUN npm run build
EXPOSE 3000
CMD ["node", "dist/main.js"]
73 changes: 73 additions & 0 deletions BE/musicspot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<p align="center">
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest Logo" /></a>
</p>

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

<p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a>
<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
<a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
<a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
<a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
</p>
<!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
[![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->

## Description

[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Installation

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```

## Test

```bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
```

## Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](LICENSE).
8 changes: 8 additions & 0 deletions BE/musicspot/nest-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/nest-cli",
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
"deleteOutDir": true
}
}
Loading