Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
16c9e04
feat: 프로젝트 초기화 및 의존성 설치
jdaeheon Jun 14, 2022
3c35c5a
feat: 로그인 페이지 생성 및 페이지 내 상태관리 추가
jdaeheon Jun 14, 2022
0f709ee
chore: NewAccount 컴포넌트를 SignUp 컴포넌트로 수정
jdaeheon Jun 14, 2022
657fe05
feat: 리액트 라우터 적용, login 경로 서 클릭 시 페이지 이동 구현
jdaeheon Jun 14, 2022
f93b9d9
chore: 기타 수정
jdaeheon Jun 19, 2022
9974382
feat: design color 수정
jhj2713 Jun 20, 2022
c3f8f7b
feat: header 설정 및 투표 리스트 작성
jhj2713 Jun 20, 2022
f559ae2
chore: config 폴더 생성
jhj2713 Jun 20, 2022
27fd249
feat: vote result 페이지 생성
jhj2713 Jun 20, 2022
14c7227
feat: vote 페이지 grid 정렬
jhj2713 Jun 20, 2022
36c61a2
feat: 투표 애니메이션 추가
jhj2713 Jun 20, 2022
98d68a6
chore: cursor 속성 수정
jhj2713 Jun 20, 2022
453860b
feat: 홈화면 및 에러화면 수정
jhj2713 Jun 20, 2022
7128478
chore: 필요없는 선언 제거
jhj2713 Jun 20, 2022
8fd9882
Merge pull request #1 from asiloveyou/feature/vote
jhj2713 Jun 20, 2022
acb5d1d
mod: 헤더 디자인 수정, 적용
jdaeheon Jun 24, 2022
ad4cf1d
chore: 헤더 부분 클릭 가능하도록 수정
jdaeheon Jun 24, 2022
ada9cd4
chore: 로그인 스타일 수정
jdaeheon Jun 24, 2022
bb926f9
chore: 로그인 페이지 디자인 수정
jdaeheon Jun 24, 2022
968e15f
Merge pull request #2 from asiloveyou/feature/login
jdaeheon Jun 24, 2022
e6f3246
chore: 문구 수정
jhj2713 Jun 24, 2022
8ebaf84
refactor: 리스트 컴포넌트 분리
jhj2713 Jun 24, 2022
ce9a2d4
chore: result 애니메이션
jhj2713 Jun 24, 2022
c8e71f9
feat: 백엔드 요청 로직
jhj2713 Jun 24, 2022
1f2d589
feat: 백엔드 연결 로직 수정
jhj2713 Jun 24, 2022
abcbe84
chore: 폴더명 수정 및 data 삭제
jhj2713 Jun 24, 2022
f08052c
feat: api 요청
jhj2713 Jun 24, 2022
a934c7f
Merge pull request #3 from asiloveyou/feature/vote
jhj2713 Jun 24, 2022
71a471b
chore: 문법 오류 수정
jdaeheon Jun 24, 2022
e6f6f5b
feat: redux 및 axios 이용한 JWT 구현
jdaeheon Jun 24, 2022
b645c3f
feat: 로그인 통신 구현
jdaeheon Jun 24, 2022
13ed2e9
feat: 회원가입 통신 구현
jdaeheon Jun 24, 2022
1d470c4
feat: 로그인 상태에 따른 메뉴 변경
jdaeheon Jun 24, 2022
4b451e7
chore: package json 업데이트
jdaeheon Jun 24, 2022
0243423
chore: 불필요한 코드 삭제
jdaeheon Jun 24, 2022
6365a84
feat: 로그아웃 구현
jdaeheon Jun 24, 2022
02492bc
chore: 패스워드 안보이게 수정
jdaeheon Jun 24, 2022
dedc819
feat: 로그인 상태에 따른 투표
jhj2713 Jun 24, 2022
5e6cbf2
refactor: axios 요청 변경
jhj2713 Jun 24, 2022
4534674
Merge branch 'main' of https://github.com/asiloveyou/react-vote-15th-…
jdaeheon Jun 25, 2022
07a785e
feat: 약간의 화려한 효과 추가
jdaeheon Jun 25, 2022
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
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
node_modules
# 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*
82 changes: 55 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,70 @@
# 마지막 미션: React vote! 🗳
# Getting Started with Create React App

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

안녕하세요 프론트엔드 15기 여러분! 파트장 **김주현**입니다. 어느덧 마지막 스터디에 다다랐습니다. 그동안 여러분들께 개인적인 성장이 있었길 바라는 마음입니다.
## Available Scripts

이번 스터디는 각 팀의 백엔드와 함께 진행합니다. 모던 웹에서 REST API가 주류로 떠오름에 따라 프론트엔드와 백엔드의 구분이 이전보다 명확해졌습니다. 주로 백엔드는 API 서버의 역할을, 프론트엔드는 이를 이용해 사용자에게 UI를 제공하는 역할로 웹이 분화되었습니다. 그 말은 곧, API 없이는 사용자에게 의미있는 서비스를 제공하기 힘들어진다는 것이겠죠. 여러분께서도 차후 팀 프로젝트를 진행하시면서 백엔드 개발자들과 API에 대해 소통할 일이 많아질 것입니다.
In the project directory, you can run:

따라서 이번 과제는 백엔드 개발자들이 전달해준 API를 사용해 보는 미션입니다. 일종의 투표 서비스를 개발해 보는 것인데요. 백엔드 개발자와 함께 클라이언트 사이드에서 API를 조금 더 효율적으로 사용할 수 있는 방법에 대해 고민해 보고, 논의해 보는 시간을 가져 보시기 바랍니다.
### `npm start`

# 미션
Runs the app in the development mode.\
Open [http://localhost:3000](http://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.

- REST API, AJAX등을 통한 서버와의 통신 방법을 이해합니다.
- async/await, Promise등 JavaScript의 비동기 처리를 이해합니다.
- API document를 통해 백엔드 개발자와 소통하는 방법을 익힙니다.
- 팀 내의 프론트엔드 개발자와 적절한 역할 분담을 통해 개발 효율을 높이는 방법에 대해 고민합니다.
### `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.

2022년 6월 24일 금요일
### `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.

- UI/UX에 대한 감각을 최대한 발휘해 디자인을 적용해 봅니다.
- HTTPS를 통해 서버와 통신합니다.
- 외의 사항은 기획 문서를 참고하세요.
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.

- API Fetch는 어떤 방식을 사용하든 무방합니다 (axios, Fetch API, $.ajax)
- `Promise.then()` 보단 `async/await`를 사용해 보세요. 더 최신 스펙이랍니다.
### `npm run eject`

## 링크 및 참고자료
**Note: this is a one-way operation. Once you `eject`, you can't go back!**

- [리액트 API 연동의 기본](https://react.vlpt.us/integrate-api/01-basic.html)
- [자바스크립트 - 동기(Synchronous)? 비동기(asynchronous)?](https://ljtaek2.tistory.com/142)
- [async와 await, 비동기를 동기코드 처럼](https://kamang-it.tistory.com/entry/JavaScript11async%EC%99%80-await-%EB%B9%84%EB%8F%99%EA%B8%B0%EB%A5%BC-%EB%8F%99%EA%B8%B0%EC%BD%94%EB%93%9C-%EC%B2%98%EB%9F%BC)
- [REST API 제대로 알고 사용하기](https://meetup.toast.com/posts/92)
- [axios란? (feat. Fetch API)](https://velog.io/@shin6403/React-axios%EB%9E%80-feat.-Fetch-API)
- -[Postman, 어렵지 않게 사용하기](https://gngsn.tistory.com/26)
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)
42 changes: 42 additions & 0 deletions README.old.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 마지막 미션: React vote! 🗳

# 서론

안녕하세요 프론트엔드 15기 여러분! 파트장 **김주현**입니다. 어느덧 마지막 스터디에 다다랐습니다. 그동안 여러분들께 개인적인 성장이 있었길 바라는 마음입니다.

이번 스터디는 각 팀의 백엔드와 함께 진행합니다. 모던 웹에서 REST API가 주류로 떠오름에 따라 프론트엔드와 백엔드의 구분이 이전보다 명확해졌습니다. 주로 백엔드는 API 서버의 역할을, 프론트엔드는 이를 이용해 사용자에게 UI를 제공하는 역할로 웹이 분화되었습니다. 그 말은 곧, API 없이는 사용자에게 의미있는 서비스를 제공하기 힘들어진다는 것이겠죠. 여러분께서도 차후 팀 프로젝트를 진행하시면서 백엔드 개발자들과 API에 대해 소통할 일이 많아질 것입니다.

따라서 이번 과제는 백엔드 개발자들이 전달해준 API를 사용해 보는 미션입니다. 일종의 투표 서비스를 개발해 보는 것인데요. 백엔드 개발자와 함께 클라이언트 사이드에서 API를 조금 더 효율적으로 사용할 수 있는 방법에 대해 고민해 보고, 논의해 보는 시간을 가져 보시기 바랍니다.

# 미션

## 미션 목표

- REST API, AJAX등을 통한 서버와의 통신 방법을 이해합니다.
- async/await, Promise등 JavaScript의 비동기 처리를 이해합니다.
- API document를 통해 백엔드 개발자와 소통하는 방법을 익힙니다.
- 팀 내의 프론트엔드 개발자와 적절한 역할 분담을 통해 개발 효율을 높이는 방법에 대해 고민합니다.

## 제출 기한

2022년 6월 24일 금요일

## 필수 요건

- UI/UX에 대한 감각을 최대한 발휘해 디자인을 적용해 봅니다.
- HTTPS를 통해 서버와 통신합니다.
- 외의 사항은 기획 문서를 참고하세요.

## 선택 요건

- API Fetch는 어떤 방식을 사용하든 무방합니다 (axios, Fetch API, $.ajax)
- `Promise.then()` 보단 `async/await`를 사용해 보세요. 더 최신 스펙이랍니다.

## 링크 및 참고자료

- [리액트 API 연동의 기본](https://react.vlpt.us/integrate-api/01-basic.html)
- [자바스크립트 - 동기(Synchronous)? 비동기(asynchronous)?](https://ljtaek2.tistory.com/142)
- [async와 await, 비동기를 동기코드 처럼](https://kamang-it.tistory.com/entry/JavaScript11async%EC%99%80-await-%EB%B9%84%EB%8F%99%EA%B8%B0%EB%A5%BC-%EB%8F%99%EA%B8%B0%EC%BD%94%EB%93%9C-%EC%B2%98%EB%9F%BC)
- [REST API 제대로 알고 사용하기](https://meetup.toast.com/posts/92)
- [axios란? (feat. Fetch API)](https://velog.io/@shin6403/React-axios%EB%9E%80-feat.-Fetch-API)
- -[Postman, 어렵지 않게 사용하기](https://gngsn.tistory.com/26)
Loading