Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghdwlsgur/mern-stack

πŸ“– MERN μŠ€νƒμ„ ν™œμš©ν•œ λ‚˜λ§Œμ˜ μ›Ήμ‚¬μ΄νŠΈ λ§Œλ“€κΈ°
https://github.com/ghdwlsgur/mern-stack

bcrypt jwt-authentication mern-stack mongoose react redux

Last synced: 14 days ago
JSON representation

πŸ“– MERN μŠ€νƒμ„ ν™œμš©ν•œ λ‚˜λ§Œμ˜ μ›Ήμ‚¬μ΄νŠΈ λ§Œλ“€κΈ°

Awesome Lists containing this project

README

        

## How to Run

1. ν™˜κ²½λ³€μˆ˜ μ„€μ •ν•˜κΈ° (cd server) > process.env 파일 생성

```javascript
mongoURI = "λͺ½κ³  μ•„ν‹€λΌμŠ€ μ£Όμ†Œ μž…λ ₯";
TOKEN_SECRET = adsdasdasda;
```

2. cd server > yarn install (λͺ¨λ“ˆ μ„€μΉ˜)
3. cd client > yarn install (λͺ¨λ“ˆ μ„€μΉ˜)
4. cd server > yarn run dev (ν΄λΌμ΄μ–ΈνŠΈ, μ„œλ²„ λ™μ‹œ μ‹€ν–‰)

---

## Preview

![0](https://user-images.githubusercontent.com/77400522/140246301-d4e29c73-f105-421e-901d-3770db0ae2c5.gif)
![1](https://user-images.githubusercontent.com/77400522/140246330-91d0ef18-ba84-4b35-8737-91a0f3de3d85.gif)
![2](https://user-images.githubusercontent.com/77400522/140246373-e7cc70f0-cdf9-4161-8b53-226e4952da60.gif)
![3](https://user-images.githubusercontent.com/77400522/140246369-01eb1911-8c32-4cb6-8b28-e26e7331d8e1.gif)
![4](https://user-images.githubusercontent.com/77400522/140246364-19d05579-93f9-42ea-bc48-49318a975d34.gif)
![5](https://user-images.githubusercontent.com/77400522/140246361-aa2ebaf4-8080-49e6-8bc0-81eaa5d23f56.gif)
![6](https://user-images.githubusercontent.com/77400522/140246356-a203159a-135c-4be6-8903-d1c16c5d29f0.gif)
![7](https://user-images.githubusercontent.com/77400522/140246354-8a7a3f34-ca7e-4dde-ad16-3eb8f8b78dc9.gif)
![8](https://user-images.githubusercontent.com/77400522/140246353-40c8dde8-abde-40ad-8472-cb265502127b.gif)
![9](https://user-images.githubusercontent.com/77400522/140246350-4d78f06f-05d5-489e-bccc-171ccf3c83df.gif)
![10](https://user-images.githubusercontent.com/77400522/140246348-ebfd03b7-96ed-44be-964a-e5b9146ef708.gif)

---

## πŸ›  Feature

### 둜그인

1. JWT 인증방식을 μ΄μš©ν•˜μ—¬ 둜그인
2. 둜그인 μ‹œ 이메일 쀑볡확인
3. λ‘œκ·ΈμΈμ‹œ 헀더에 이용자 이름 좜λ ₯

### νšŒμ›κ°€μž…

1. useForm 라이브러리 μ‚¬μš©
2. watchλ₯Ό μ΄μš©ν•˜μ—¬ λΉ„λ°€λ²ˆν˜Έ, λΉ„λ°€λ²ˆν˜Έ 확인 μ‹€μ‹œκ°„ 비ꡐ
3. νšŒμ›κ°€μž… ν΄λ¦­μ‹œ 이메일 쀑볡체크
4. 아이디(이메일 ν˜•μ‹) 및 λΉ„λ°€λ²ˆν˜Έ(영문 λŒ€μ†Œλ¬Έμž, 숫자, 특수문자 포함) μ •κ·œμ‹ 적용
5. ν•„μˆ˜ 정보 μž…λ ₯(이메일, λΉ„λ°€λ²ˆν˜Έ, 이름, κΉƒν—™μ£Όμ†Œ, μžκΈ°μ†Œκ°œ) ν›„ νšŒμ›κ°€μž… 승인

### κ²Œμ‹œνŒ

1. @material-ui/lab/Pagination 라이브러리λ₯Ό ν™œμš©ν•˜μ—¬ νŽ˜μ΄μ§€λ„€μ΄μ…˜ κ΅¬ν˜„
2. μ‹€λͺ… κ²Œμ‹œνŒ κΈ€ μž‘μ„± 및 μˆ˜μ •, μ‚­μ œ κΈ°λŠ₯ κ΅¬ν˜„
3. λŒ“κΈ€ μž‘μ„± 및 μˆ˜μ •, μ‚­μ œ κΈ°λŠ₯ κ΅¬ν˜„, λŒ€λŒ“κΈ€ μž‘μ„± κΈ°λŠ₯ κ΅¬ν˜„
4. κ²Œμ‹œκΈ€ μ’‹μ•„μš” κΈ°λŠ₯ κ΅¬ν˜„
5. κ²Œμ‹œκΈ€ μž‘μ„±μžκ°€ μžμ‹ μ˜ κ²Œμ‹œκΈ€μ— λŒ“κΈ€μ„ 달 경우 색깔 ν‘œμ‹œ 및 이름 μ˜† (μž‘μ„±μž) ν‘œμ‹œ
6. κ²Œμ‹œκΈ€ μž‘μ„±μ‹œκ°„ ν‘œμ‹œ λ‚΄λ¦Όμ°¨μˆœ(createdAt: -1) μ •λ ¬

### λ§ˆμ΄νŽ˜μ΄μ§€

1. 계정 정보 λ³€κ²½ν•˜κΈ° (이메일, λΉ„λ°€λ²ˆν˜Έ, κΉƒν—™ μ£Όμ†Œ)
2. λ‚΄κ°€ μ“΄ κ²Œμ‹œκΈ€, λ‚΄κ°€ μ“΄ λŒ“κΈ€, λ‚΄κ°€ μ’‹μ•„μš” λˆ„λ₯Έ κ²Œμ‹œκΈ€, λ‚΄κ°€ λŒ€λŒ“κΈ€ 단 λŒ“κΈ€ 확인 및 μˆ˜μ •
3. νšŒμ›νƒˆν‡΄μ‹œ μž‘μ„±ν•œ κ²Œμ‹œκΈ€, λŒ“κΈ€, λŒ€λŒ“κΈ€ 및 μ’‹μ•„μš” 데이터 μ‚­μ œ

---

## βš™οΈ Library

## FrontEnd

- Redux
- React-Router
- Styled-components
- useForm(react-hook-form)
- Axios
- @material-ui
- @loadable/component
- redux-thunk, redux-promise

## BackEnd

- dotenv ν™˜κ²½λ³€μˆ˜ μ„€μ •
- Mongoose (MongoDB)
- Bcrypt (μ•”ν˜Έν™”)
- JWT (인증방식)
- Express.js

## License

[MIT License](https://github.com/ghdwlsgur/Project-Study/blob/master/LICENSE)