Skip to content

Commit

Permalink
Add 'frontend/' from commit '87ffd228019af42a966cf2f4368ce594dc2916fa'
Browse files Browse the repository at this point in the history
git-subtree-dir: frontend
git-subtree-mainline: c4f432a
git-subtree-split: 87ffd22
  • Loading branch information
nuyh99 committed Apr 25, 2022
2 parents c4f432a + 87ffd22 commit bb3efd8
Show file tree
Hide file tree
Showing 45 changed files with 32,630 additions and 0 deletions.
51 changes: 51 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Search_phoneNumber

<br>



## 휴대폰 대리점 고객 전화번호 목록 조회

<hr>

Project name : Search_phoneNumber

<br>

Project execution period : 2022-04-15~

<br>

Project creator : Frontend - 신재윤 / Backend - 황재현

<br>

Use skills

- Frontend : HTML, SCSS, Javascript, React, react-router-dom
- Backend : Java, SpringBoot, MySQL, AWS
(단, 호스팅 환경은 AWS에서 Vultur로 변경 예정)

<br>

API
- axios 통신
- Session 쿠키 인증 방식 (미해결)
- 현재, 쿠키가 Response Cookie 단에서는 보이지만, 크롬 개발자 도구 Application Cookie에서 보이지 않는 문제가 발생. HttpOnly 옵션을 해제해도 지속적
- React 포트번호 3000, Spring Boot 포트번호 8080에서 오는 오류로 파악중. CORS오류를 해결했다고 생각했으나, 완전히 해결되지 않은 것으로 추정

<hr>

### Description

<br>

휴대폰 대리점의 고객 휴대폰 번호가 등록되어 있는지 확인하는 프로젝트 입니다.

<br>

대리점의 사장은 system, admin 계정을 가지며, 대리점 직원들이 회원가입을 하고 나면 사장이 권한을 부여할 수 있습니다. 권한을 부여받은 직원은 번호 목록 조회가 가능하게 됩니다. 그 이후 번호를 입력하면 고객이 대리점에 방문한 적이 있는지 없는지 확인할 수 있습니다.

<br>

서비스는 시작 페이지, 대기 페이지, 번호 조회 페이지, 관리자 전용 페이지로 구성됩니다. 시작 페이지에서 아이디와 비밀번호를 입력하고 로그인을 시도합니다. 이때 권한이 부여되지 않은 사람은 대기 페이지로 이동하게 됩니다. 만약 권한이 부여된 사람이라면 번호 조회 페이지로 이동하여 서비스를 이용할 수 있습니다. 관리자 전용 페이지는 사장만 사용 가능합니다. 관리자 전용 페이지에서 새로운 고객의 번호를 추가할 수도 있고 삭제할 수도 있습니다. 만약 퇴사한 직원의 경우 권한을 없애서 번호 조회 페이지를 볼 수 없게끔 만들 수 있습니다.
23 changes: 23 additions & 0 deletions frontend/project/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
# /build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
70 changes: 70 additions & 0 deletions frontend/project/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http:https://localhost:3000](http:https://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
17 changes: 17 additions & 0 deletions frontend/project/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"files": {
"main.css": "/static/css/main.a72b72c5.css",
"main.js": "/static/js/main.ffb01f39.js",
"static/js/787.ec704a7a.chunk.js": "/static/js/787.ec704a7a.chunk.js",
"static/media/author.png": "/static/media/author.8e5f8a624afd65055842.png",
"static/media/lion.png": "/static/media/lion.98ec9e35a835021d2037.png",
"index.html": "/index.html",
"main.a72b72c5.css.map": "/static/css/main.a72b72c5.css.map",
"main.ffb01f39.js.map": "/static/js/main.ffb01f39.js.map",
"787.ec704a7a.chunk.js.map": "/static/js/787.ec704a7a.chunk.js.map"
},
"entrypoints": [
"static/css/main.a72b72c5.css",
"static/js/main.ffb01f39.js"
]
}
Binary file added frontend/project/build/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions frontend/project/build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"/><title>대리점 휴대폰 번호 조회</title><script defer="defer" src="/static/js/main.ffb01f39.js"></script><link href="/static/css/main.a72b72c5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
Binary file added frontend/project/build/logo128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/project/build/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions frontend/project/build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo128.png",
"type": "image/png",
"sizes": "128x128"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions frontend/project/build/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
2 changes: 2 additions & 0 deletions frontend/project/build/static/css/main.a72b72c5.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/project/build/static/css/main.a72b72c5.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bb3efd8

Please sign in to comment.