Skip to content

Commit

Permalink
feat : msw 환경 설정 & 회원가입 샘플 핸들러 작성 (#77)
Browse files Browse the repository at this point in the history
* env : msw 초기 세팅

* refactor : index.ts 수정

* chore : 핸들러 경로 변경

* feat : 회원가입 핸들러 작성

* feat : 회원가입 타입 정의

* feat : 회원가입 성공 핸들러

* feat : 이메일 중복 확인 핸들러

* feat : 이메일 인증 요청 핸들러

* feat : 이메일 인증 검사 핸들러

* feat : 닉네임 중복 확인 핸들러

* chore : 타입 에러 수정

* chore : code 타입 수정

* chore : Delete src/mocks/handlers/ffffff
  • Loading branch information
cmlim0070 authored Nov 27, 2024
1 parent 4067d11 commit a0e4a20
Show file tree
Hide file tree
Showing 47 changed files with 83,221 additions and 176,151 deletions.
18,420 changes: 8,516 additions & 9,904 deletions .pnp.cjs

Large diffs are not rendered by default.

4,527 changes: 1,931 additions & 2,596 deletions .pnp.loader.mjs

Large diffs are not rendered by default.

176 changes: 91 additions & 85 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,86 +1,92 @@
{
"name": "web1-1-postman-fe",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "npx chromatic --project-token=chpt_5b428790f7d5b5a",
"prepare": "husky",
"format": "prettier --cache --write .",
"gen-pwa": "vite build && vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.60.2",
"axios": "^1.7.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0",
"react-router-dom": "^7.0.1",
"react-spring": "^9.7.4",
"react-spring-bottom-sheet": "^3.4.1",
"sharp": "^0.33.5",
"swiper": "^11.1.15",
"ts-pattern": "^5.5.0",
"zustand": "^5.0.1"
},
"devDependencies": {
"@chromatic-com/storybook": "3.2.2",
"@eslint/js": "^9.13.0",
"@storybook/addon-essentials": "8.4.4",
"@storybook/addon-interactions": "8.4.4",
"@storybook/addon-onboarding": "8.4.4",
"@storybook/blocks": "8.4.4",
"@storybook/builder-vite": "^8.4.4",
"@storybook/react": "8.4.4",
"@storybook/react-vite": "8.4.4",
"@storybook/test": "8.4.4",
"@types/axios": "^0.14.4",
"@types/eslint-plugin-jsx-a11y": "^6",
"@types/node": "^22.9.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/swiper": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vite-pwa/assets-generator": "^0.2.6",
"@vitejs/plugin-react": "^4.3.3",
"@yarnpkg/sdks": "^3.2.0",
"autoprefixer": "^10.4.20",
"chromatic": "^11.18.1",
"eslint": "^9.15.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"eslint-plugin-storybook": "^0.11.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"storybook": "8.4.4",
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10",
"vite-plugin-pwa": "^0.21.0",
"vite-plugin-svgr": "^4.3.0"
},
"packageManager": "[email protected]",
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
}
}
"name": "web1-1-postman-fe",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "npx chromatic --project-token=chpt_5b428790f7d5b5a",
"prepare": "husky",
"format": "prettier --cache --write .",
"gen-pwa": "vite build && vite preview"
},
"dependencies": {
"@tanstack/react-query": "^5.60.2",
"axios": "^1.7.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0",
"react-router-dom": "^7.0.1",
"react-spring": "^9.7.4",
"react-spring-bottom-sheet": "^3.4.1",
"sharp": "^0.33.5",
"swiper": "^11.1.15",
"ts-pattern": "^5.5.0",
"zustand": "^5.0.1"
},
"devDependencies": {
"@chromatic-com/storybook": "3.2.2",
"@eslint/js": "^9.13.0",
"@storybook/addon-essentials": "8.4.4",
"@storybook/addon-interactions": "8.4.4",
"@storybook/addon-onboarding": "8.4.4",
"@storybook/blocks": "8.4.4",
"@storybook/builder-vite": "^8.4.4",
"@storybook/react": "8.4.4",
"@storybook/react-vite": "8.4.4",
"@storybook/test": "8.4.4",
"@types/axios": "^0.14.4",
"@types/eslint-plugin-jsx-a11y": "^6",
"@types/node": "^22.9.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/swiper": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vite-pwa/assets-generator": "^0.2.6",
"@vitejs/plugin-react": "^4.3.3",
"@yarnpkg/sdks": "^3.2.0",
"autoprefixer": "^10.4.20",
"chromatic": "^11.18.1",
"eslint": "^9.15.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"eslint-plugin-storybook": "^0.11.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"msw": "^2.6.6",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"storybook": "8.4.4",
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10",
"vite-plugin-pwa": "^0.21.0",
"vite-plugin-svgr": "^4.3.0"
},
"packageManager": "[email protected]",
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
},
"msw": {
"workerDirectory": [
"public"
]
}
}
Loading

0 comments on commit a0e4a20

Please sign in to comment.