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

바톤 v1.0.0 릴리즈 #423

Merged
merged 87 commits into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
963f2e3
webpack 초기 환경 설정 (#8)
guridaek Jul 17, 2023
20e0b75
Layout 컴포넌트 구현 (#10)
guridaek Jul 17, 2023
4a8ef63
MSW 설정 (#17)
guridaek Jul 18, 2023
1e325fc
Avartar, Tag, Button, Modal 컴포넌트 구현 (#20)
guridaek Jul 18, 2023
7cefade
React Router 설정 (#23)
guridaek Jul 18, 2023
f70f4d9
msw, tsconfig, Avatar 공통 변경사항 반영 (#27)
gyeongza Jul 19, 2023
a5ab907
러너 게시글 조회 페이지 구현 (#31)
guridaek Jul 20, 2023
382a701
러너 게시물 생성 페이지 구현 (#33)
tkdrb12 Jul 20, 2023
8ff78fb
메인 페이지 구현 (#34)
gyeongza Jul 20, 2023
a217281
구현한 페이지 라우터 연결 (#42)
guridaek Jul 20, 2023
6930b8a
러너 글 목록 조회 API 변경에 따른 MainPage 수정 (#55)
gyeongza Jul 20, 2023
1cf8f28
API 요청 Endpoint 변경 (#69)
gyeongza Jul 24, 2023
787b9de
절대 경로 재설정 (#71)
gyeongza Jul 24, 2023
792883b
불필요한 환경 변수 플러그인 제거 (#73)
gyeongza Jul 24, 2023
de16a5f
Label 컴포넌트 구현 (#88)
guridaek Jul 25, 2023
1243022
서포터 선택 결과 페이지 구현 (#90)
gyeongza Jul 25, 2023
ed35f59
메인 페이지 및 상세 게시글 리뷰 상태 라벨 추가 (#91)
guridaek Jul 25, 2023
5b39d61
서포터 선택 시 확인 모달창 구현 (#92)
gyeongza Jul 25, 2023
8f0762b
서포터 선택 페이지 구현 (#103)
tkdrb12 Jul 26, 2023
1e3de1e
CI를 위한 테스트 코드 작성 (#111)
gyeongza Jul 26, 2023
174682b
CI설정 with GitHub Actions (#113)
gyeongza Jul 26, 2023
dbd214a
ConfirmModal 컴포넌트 테스트코드 작성 (#116)
gyeongza Jul 26, 2023
9561d4f
API 명세 변경에 따른 기능 추가 (#123)
guridaek Jul 27, 2023
239d279
로그인 페이지 구현 (#124)
tkdrb12 Jul 27, 2023
fbfde42
서포터 선택 목록 -> 글 생성할 때 띄우는 기능 구현 (#128)
gyeongza Jul 28, 2023
442f476
서버 api 엔드포인트 변경 (#133)
gyeongza Jul 28, 2023
168970f
사용하지 않는 기능 숨기기 (#137)
gyeongza Jul 28, 2023
2c00436
프론트엔드 배포 작업 (#135)
gyeongza Jul 28, 2023
ec9e910
webpack prod publicPath 재설정 (#153)
gyeongza Jul 31, 2023
a1fc5d9
Merge branch 'deploy' into dev/FE
gyeongza Jul 31, 2023
6dab025
게시물 상세 조회 페이지 디자인 수정 (#182)
gyeongza Aug 2, 2023
c495995
마이페이지 구현 (#185)
tkdrb12 Aug 3, 2023
bd66383
서포터 선택 상세정보 개발언어 추가, 분야별 필터링 기능 구현 (#181)
gyeongza Aug 3, 2023
b026061
웹 표준 및 웹 접근성 준수 (#198)
gyeongza Aug 3, 2023
d2c1248
서포터 선택 필터 기능 useEffect dependency 수정 (#200)
gyeongza Aug 3, 2023
c7f2e4c
깃허브 소셜 로그인 기능 구현 (#203)
guridaek Aug 3, 2023
20030ff
프론트엔드 배포 작업 (#208)
guridaek Aug 3, 2023
ac10430
[hotfix] 프론트엔드 엔드포인트 변경 후 재배포 (#215)
gyeongza Aug 4, 2023
9d60413
[hotfix] 프론트엔드 엔드포인트 변경 후 재배포(2) (#216)
gyeongza Aug 4, 2023
794f44b
[hotfix] 프론트엔드 엔드포인트 변경 후 재배포 (3) (#217)
tkdrb12 Aug 4, 2023
5c5857e
헤더 프로필 이름 렌더링 및 삭제 완료 후 메인페이지로 이동하는 기능 구현 (#225)
gyeongza Aug 4, 2023
afd1542
글 상세조회 . 오타 수정 (#228)
gyeongza Aug 4, 2023
d42b415
hotfix (#232)
gyeongza Aug 4, 2023
244c1a1
서포터 선택기능 제거 (#257)
tkdrb12 Aug 8, 2023
bdb4d75
로그아웃시 기능 사용 못하도록 수정 (#258)
guridaek Aug 8, 2023
de6ede0
스토리북 구현 (#259)
gyeongza Aug 8, 2023
eda2df5
프론트엔드 CD 설정 (#261)
gyeongza Aug 8, 2023
70c20b3
프론트엔드 CD 테스트 (#262)
gyeongza Aug 8, 2023
8e1c4ec
프론트엔드 CD 테스트 (2) (#263)
gyeongza Aug 8, 2023
08ff228
Merge branch 'deploy/FE' into dev/FE
gyeongza Aug 8, 2023
acdb185
프론트엔드 CD 재설정 (#267)
gyeongza Aug 8, 2023
49c86a7
프론트 개발 서버용 CD 설정 (#294)
gyeongza Aug 9, 2023
b41b4bb
프론트 개발 서버용 CD 설정 (#299)
gyeongza Aug 9, 2023
154a5a2
프론트엔드 개발 서버 환경변수 적용 (#301)
gyeongza Aug 9, 2023
3126fda
dotenv 환경변수 설정 (#303)
gyeongza Aug 9, 2023
6a94b06
러너 게시물 생성 페이지 수정 ( 마감기한 입력 ) (#306)
tkdrb12 Aug 11, 2023
0c95387
태그 입력 수정 (#269)
tkdrb12 Aug 11, 2023
071f3d0
채팅방 아이콘을 사람 아이콘으로 변경 (#314)
gyeongza Aug 11, 2023
f1c32f5
API 요청 메서드 분리 (#319)
guridaek Aug 11, 2023
b956470
웹팩 플러그인 설정 수정 (#313)
tkdrb12 Aug 11, 2023
d04ed63
ConfirmModal 문구 수정 및 esc 기능 추가 (#327)
guridaek Aug 14, 2023
158230e
서포터 선택 페이지 구현 (#312)
guridaek Aug 14, 2023
5c599d3
Toast 기능 구현 (#333)
guridaek Aug 14, 2023
91148f7
프로필 수정 페이지 구현 (#330)
tkdrb12 Aug 14, 2023
2210ad2
핸들러 오타 수정 (#356)
tkdrb12 Aug 14, 2023
e1c07d3
마이페이지 기능 구현 (#328)
gyeongza Aug 15, 2023
ecf5fb3
api 공통 메서드 수정 (#376)
gyeongza Aug 16, 2023
4c02c48
Toast에 Context API 적용 (#379)
guridaek Aug 16, 2023
24b0265
러너 글 작성 PR 주소 유효성 검증 (#380)
tkdrb12 Aug 16, 2023
06755fe
프로필 상세 보기 페이지 구현 (러너, 서포터) (#364)
gyeongza Aug 16, 2023
e4450af
후기 작성 페이지 구현 (#366)
tkdrb12 Aug 16, 2023
dadb323
분리된 fetch 적용안된 컴포넌트 수정 (#384)
gyeongza Aug 17, 2023
311931f
배포용 api uri 적용 (#386)
gyeongza Aug 17, 2023
2c94c10
fetch content-type 수정 (#388)
gyeongza Aug 17, 2023
dfa19ae
메인페이지 더보기 기능 추가 (#385)
guridaek Aug 17, 2023
dfa1aab
서포터 마이페이지 버튼 기능 추가 (제안취소, 리뷰완료) (#389)
guridaek Aug 17, 2023
b428ed9
게시물 상세 조회 리뷰 제안하기 기능 추가 (#381)
guridaek Aug 17, 2023
47ed070
MSW 버전 업 (#397)
guridaek Aug 17, 2023
486c65a
마이페이지 게시글 uri 수정 및 필터 삭제 (#399)
gyeongza Aug 17, 2023
935e818
토스트 메세지 적용 및 에러 핸들링 수정 (#403)
tkdrb12 Aug 17, 2023
c101a6a
로고 이미지 및 메인 색상 변경 + 폰트 CDN 추가 (#402)
gyeongza Aug 17, 2023
0b65780
프로필 수정하기 기능 연결 (#405)
gyeongza Aug 17, 2023
cf172bc
메인 페이지 게시글 get 요청, Toast 에러 수정 (#411)
gyeongza Aug 17, 2023
9437f93
배포 전 오류 수정 (#418)
tkdrb12 Aug 18, 2023
be6e7d3
[hotfix] 페이지 계속 추가되는 오류 수정 (#419)
gyeongza Aug 18, 2023
963bed6
마감기한 지남 (OVERDUE) 라벨 추가 (#421)
guridaek Aug 18, 2023
35b609c
[hotfix] 피드백 제출 토스트 문구 수정 (#422)
guridaek Aug 18, 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
27 changes: 27 additions & 0 deletions .github/workflows/frontend_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: frontend_ci

on:
push:
branches:
- dev/FE
paths: 'frontend/**'
pull_request:
branches:
- dev/FE
paths: 'frontend/**'

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: 의존성을 설치한다
run: npm install

- name: 테스트를 수행한다
run: npm run test
59 changes: 59 additions & 0 deletions .github/workflows/frontend_dev_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: frontend_cd

on:
push:
branches:
- deploy/FE

defaults:
run:
working-directory: ./frontend

permissions:
contents: read

jobs:
build-and-upload:
runs-on: ubuntu-latest

steps:
- name: Setup Repository
uses: actions/checkout@v3

- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Setup environment variables
run: |
echo "REACT_APP_BASE_URL=${{ secrets.REACT_APP_DEV_BASE_URL }}" >> .env

- name: Install Dependancies
run: npm install

- name: Build App
run: npm run build

- name: Upload frontend build file to artifact
uses: actions/upload-artifact@v3
with:
name: FrontendApplication
path: frontend/dist

deploy:
needs: build-and-upload
runs-on: [self-hosted, Linux, ARM64]

steps:
- name: Remove previous version app
working-directory: frontend/dist
run: rm -rf dist

- name: Download build file from artifact
uses: actions/download-artifact@v3
with:
name: FrontendApplication
path: frontend/dist
59 changes: 59 additions & 0 deletions .github/workflows/frontend_prod_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: frontend_cd

on:
push:
branches:
- prod/FE

defaults:
run:
working-directory: ./frontend

permissions:
contents: read

jobs:
build-and-upload:
runs-on: ubuntu-latest

steps:
- name: Setup Repository
uses: actions/checkout@v3

- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Setup environment variables
run: |
echo "REACT_APP_BASE_URL=${{ secrets.REACT_APP_PROD_BASE_URL }}" >> .env

- name: Install Dependancies
run: npm install

- name: Build App
run: npm run build

- name: Upload frontend build file to artifact
uses: actions/upload-artifact@v3
with:
name: FrontendApplication
path: frontend/dist

deploy:
needs: build-and-upload
runs-on: [self-hosted, Linux, ARM64, deploy]

steps:
- name: Remove previous version app
working-directory: frontend/dist
run: rm -rf dist

- name: Download build file from artifact
uses: actions/download-artifact@v3
with:
name: FrontendApplication
path: frontend/dist
14 changes: 14 additions & 0 deletions frontend/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"modules": false,
"useBuiltIns": "usage",
"corejs": 3
}
],
"@babel/preset-typescript"
]
}
9 changes: 9 additions & 0 deletions frontend/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"parserOptions": {
"ecmaVersion": "latest"
},
"env": {
"es6": true
},
"extends": ["plugin:prettier/recommended"]
}
2 changes: 2 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
/dist
7 changes: 7 additions & 0 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"semi": true
}
31 changes: 31 additions & 0 deletions frontend/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import type { StorybookConfig } from '@storybook/react-webpack5';
import webpack from '../webpack/webpack.common';

const config: StorybookConfig = {
stories: ['../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],

staticDirs: ['../src/assets'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-onboarding',
'@storybook/addon-interactions',
'@storybook/addon-essentials',
'@storybook/addon-styling',
],
framework: {
name: '@storybook/react-webpack5',
options: {},
},
docs: {
autodocs: 'tag',
},
webpackFinal: async (config) => {
return {
...config,
module: { ...config.module },
resolve: { ...webpack.resolve },
};
},
};
export default config;
2 changes: 2 additions & 0 deletions frontend/.storybook/preview-body.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<div id="modal-root"></div>
<div id="toast-root"></div>
22 changes: 22 additions & 0 deletions frontend/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { Preview } from '@storybook/react';
import { withThemeFromJSXProvider } from '@storybook/addon-styling';
import { GlobalStyle } from '../src/styles/GlobalStyles';

const preview: Preview = {
parameters: {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
decorators: [
withThemeFromJSXProvider({
GlobalStyles: GlobalStyle,
}),
],
};

export default preview;
7 changes: 7 additions & 0 deletions frontend/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
};
Loading