-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from InSeong-So/main
ํ๋ก์ ํธ๋ฅผ ์ํ ์ค๋น
- Loading branch information
Showing
16 changed files
with
656 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## ๐ ๊ฐ์ | ||
|
||
- | ||
|
||
<br/> | ||
|
||
## ๐ ์งํ์ํฉ | ||
|
||
- [ ] | ||
- [ ] | ||
|
||
<br/> | ||
|
||
## ๐ฌ ์๊ฒฌ <!-- PR ๊ด๋ จ ์ฝ๋ฉํธ, ๊ด๋ จ ์ด์, ํ ์ ๋ฐ ๊ณต์ ํ ๋ด์ฉ --> | ||
|
||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## ๐ ๊ฐ์ | ||
|
||
- closed # | ||
|
||
- | ||
|
||
<br/> | ||
|
||
## ๐ ์งํ์ํฉ | ||
|
||
- [ ] | ||
- [ ] | ||
|
||
<br/> | ||
|
||
## ๐ผ ์คํฌ๋ฆฐ์ท | ||
|
||
## ๐ฌ ์๊ฒฌ <!-- PR ๊ด๋ จ ์ฝ๋ฉํธ, ๊ด๋ จ ์ด์, ํ ์ ๋ฐ ๊ณต์ ํ ๋ด์ฉ --> | ||
|
||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Set to true to add reviewers to pull requests | ||
addReviewers: true | ||
|
||
# Set to true to add assignees to pull requests | ||
addAssignees: author | ||
|
||
# A list of reviewers to be added to pull requests (GitHub user name) | ||
reviewers: | ||
- inseong-so | ||
- areumsheep | ||
- parksil0 | ||
- wooooooood | ||
- yechukim | ||
- sunhwa508 | ||
|
||
# A number of reviewers added to the pull request | ||
# Set 0 to add all the reviewers (default: 0) | ||
numberOfReviewers: 0 | ||
# A list of assignees, overrides reviewers if set | ||
# assignees: | ||
# - assigneeA | ||
|
||
# A number of assignees to add to the pull request | ||
# Set to 0 to add all of the assignees. | ||
# Uses numberOfReviewers if unset. | ||
# numberOfAssignees: 2 | ||
|
||
# A list of keywords to be skipped the process that add reviewers if pull requests include it | ||
# skipKeywords: | ||
# - wip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,3 +102,5 @@ dist | |
|
||
# TernJS port file | ||
.tern-port | ||
|
||
packages/api/db/user.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,308 @@ | ||
# ์ค์น | ||
# FrontEnd Crash - TypeScript!๐จ | ||
> ํ๋ก์ ํธ๋ฅผ ํตํด ํ์ ์คํฌ๋ฆฝํธ๋ฅผ ๋ฟ์ ๋ด ์๋ค!๐ | ||
```sh | ||
npm init -y | ||
<br> | ||
|
||
npm i -D typescript eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-config-prettier eslint-plugin-prettier prettier prettier-eslint | ||
``` | ||
> ๋ฐฑ์๋ ์ถ๊ฐํ ๋ด์ฉ | ||
> - ์ค๋ณต ์ด๋ฉ์ผ ํ์ธ API | ||
> - ์ค๋ณต ๋ถ๋งํฌ ํ์ธ API | ||
<br> | ||
|
||
## ๐๐ปINTRO๐๐ปโโ๏ธ | ||
ํด๋น ์ ์ฅ์๋ ํ์ ์คํฌ๋ฆฝํธ๋ฅผ ๊ธฐ์ด๋ถํฐ ๊ณต๋ถํ์ง๋ง, ์ต๋ํ ์ ์ํ๊ธฐ ์ฝ๊ฒ ํ ์ด ํ๋ก์ ํธ ํ์์ผ๋ก ์งํํฉ๋๋ค. | ||
|
||
1. ํ์ ์คํฌ๋ฆฝํธ ๊ธฐ์ด๋ฅผ ๊ณต๋ถํ๊ณ ํ์๋ค๊ณผ ๊ณต์ ํ๋ฉฐ ๊ฐ์์ ํ๋ก์ ํธ๋ฅผ ๋ฆฌ๋ทฐํฉ๋๋ค. | ||
2. ์๊ฒ ๋ ์ , ๊ณ ๋ฏผํ๋ ์ , ํธ๋ฌ๋ธ์ํ ์ ๋ํ ๊ฒฝํ์ ์ด์ผ๊ธฐํจ์ผ๋ก์จ ๋ธ๋ ์ธ ์คํ ๋ฐ์ ์ด๋์ด ๋ ๋๋ค. | ||
3. ๊ธฐ์ด์ ํจ๊ป ์ดํํฐ๋ธํ ํ์ ์คํฌ๋ฆฝํธ ์์ฑ๋ฒ์ ๋ํด ๊ณต๋ถํฉ๋๋ค. ์๊ธฐํ๊ฑฐ๋ ๋ฌด์์ ๋ณต์ฌ/๋ถ์ฌ๋ฃ๊ธฐ๋ฅผ ํ์ง ์๊ณ ์คํฐ๋๋ฅผ ํตํด ์ฒด๋ํ๋๋ก ๋ ธ๋ ฅํฉ๋๋ค. | ||
|
||
์๋์ `ํ์ ์๊ตฌ์ฌํญ`์ ์คํฐ๋ ๊ธฐ๊ฐ ๋ด์ ๋๋ด๋ ๊ฒ์ ๋ชฉํ๋ก ํฉ๋๋ค. ์์ฌ์ด ์๊ฑฐ๋ ์กฐ๊ธ ๋ ํด๋ณด์๋ ์๊ฐ์ด ๋ ๋ค๋ฉด `์ถ๊ฐ ๊ตฌํ์ฌํญ`, `๋ ํด๋ณด๊ธฐ` ๋ฑ์ ์ฑ๋ฆฐ์ง๋ฅผ ์งํํด๋ณด์ธ์. | ||
|
||
ํ์ฌ ์ํ ํ๋ก์ ํธ์ ํ๋ก ํธ์๋๋ ์ผ๋ถ๋ฌ ๊ตฌ์กฐํ, ์ฑ ์ ๋ถ๋ฆฌ, ํด๋ฆฐ ์ฝ๋๋ ๋ฆฌํฉํ ๋ง์ ๊ฐ๋ ์ ์์ ๋ฐฐ์ ํ๊ณ ๋ฌํํ๊ฒ ์์ฑ๋์ด ์์ต๋๋ค. | ||
|
||
ํ์ ์คํฌ๋ฆฝํธ๋ฅผ ์ ์ฉํ๋ฉฐ ํ์ ์ฝ๋งค์ด์ง ์๊ณ ์์ ์ ์ฝ๋ ์์ฑ์ ํตํด ํ๋ก์ ํธ๋ฅผ ์ ๋๋ก ์์ฑํด๋ณด์ฃ ! | ||
|
||
<br> | ||
|
||
## ๐ชUSAGE๐ช | ||
- ๊ฐ์ ์ ์ฅ์๋ฅผ forkํฉ๋๋ค. | ||
- `packages/{์์ ์ ๋๋ค์}`์ผ๋ก ํด๋๊ฐ ์์ฑ๋์ด ์์ต๋๋ค(๋ง์ฝ ์๋ก ํ๋ ๋ถ์ด๋ผ๋ฉด ์๋ก ์์ฑํ์ธ์!). | ||
- ๋ฐ๋์ ์์ ์ ํด๋์์๋ง ์์ ํด์ฃผ์ธ์. | ||
- ์์ ํ PR์ ๋ธ๋ฐ์น๊ฐ ์๋๋ผ main์ ํด์ฃผ์๋ฉด ๋ฉ๋๋ค๐ | ||
|
||
<br> | ||
|
||
## ๐ปINSTALL & RUN๐ป | ||
- **Install** | ||
```sh | ||
npm install # or npm i | ||
``` | ||
|
||
<br> | ||
|
||
- **Run** | ||
|
||
> โ๏ธ์ฐธ๊ณ โ๏ธ | ||
> - ํ์ฌ ์คํฌ๋ฆฝํธ๋ก๋ ๋ฐฑ์๋๋ ํ๋ก ํธ์๋ ๊ฐ์ด ๋ชป ๋๋ฆฝ๋๋ค๐ฅ ํฐ๋ฏธ๋์ ๋๋ ์ ๋ฐฑ์๋/ํ๋ก ํธ์๋๋ฅผ ๊ฐ์ด ์คํ์์ผ์ฃผ์ธ์... ์ต๋ํ ๋น ๋ฅด๊ฒ ํด๊ฒฐํด๋ณด๊ฒ ์ต๋๋ค๐ญ | ||
<br> | ||
|
||
```sh | ||
npm run start:api # backend: server | ||
npm run start:{๋๋ค์} # frontend: client | ||
``` | ||
- ex) `npm run start:parang` | ||
|
||
<br> | ||
|
||
- **Build** | ||
```sh | ||
npm run build | ||
``` | ||
|
||
<br> | ||
|
||
## ๐๏ธโโ๏ธREQUIREMENTS๐๏ธโโ๏ธ | ||
### โ๏ธ Necessary | ||
- [ ] `*.js`ํ์ผ์ `*.ts`๋ก ๋ณํํฉ๋๋ค. | ||
- [ ] any ํ์ ์ ์ฌ์ฉํ์ง ์์ต๋๋ค. | ||
- [ ] `type`๊ณผ `interface`์ ์ฐจ์ด๋ฅผ ์๊ณ ์์ ๋ง์ ์ปจ๋ฒค์ ์ผ๋ก ์์ฑํฉ๋๋ค. | ||
- [ ] UI์ ๊ธฐ๋ฅ์ ๋ถ๋ฆฌ(MVC ์ ์ฉ์ด๋ ํด๋ ๊ตฌ์กฐํ ๋ฑ)ํฉ๋๋ค. | ||
|
||
<br> | ||
|
||
### ๐ฉ Additional | ||
- [ ] API ๋ชจ๋์ ์์ฑํฉ๋๋ค. | ||
- [ ] ๋ฌดํ ์คํฌ๋กค์ ๊ฐ์ ํฉ๋๋ค. | ||
- [ ] ์ ํจ์ฑ ๊ฒ์ฌ๋ฅผ ์ถ๊ฐํฉ๋๋ค. | ||
- [ ] ํ ์คํธ ์ฝ๋๋ฅผ ์์ฑํฉ๋๋ค. | ||
- [ ] ํ๋กํ ํญ์ ์ถ๊ฐํฉ๋๋ค. | ||
|
||
<br> | ||
|
||
### ๐จ Do more | ||
- [ ] ํ๋ ์์ํฌ(React, Vue, Svelt)๋ฅผ ์ ์ฉํฉ๋๋ค. | ||
|
||
<br> | ||
|
||
## ๐ TECH STACK๐ | ||
### ๐ Frontend | ||
<div> | ||
|
||
<img src="./images/frontend.png" width="200"/> | ||
|
||
</div> | ||
|
||
<br> | ||
|
||
### ๐ Backend | ||
<div> | ||
|
||
<img src="./images/backend.png" width="300"/> | ||
|
||
</div> | ||
|
||
<br> | ||
|
||
### ๐ DevOps | ||
<div> | ||
|
||
<img src="./images/devops.png" width="400"/> | ||
|
||
</div> | ||
|
||
<br> | ||
|
||
## ๐API๐ | ||
### baseUrl | ||
|
||
`http://localhost:3000` | ||
|
||
<br> | ||
|
||
### Create User | ||
|
||
| method | uri | | ||
| ------ | --------- | | ||
| POST | /api/user | | ||
|
||
```js | ||
{ | ||
requestBody: { | ||
"email": "string", | ||
"password": "string" | ||
}, | ||
response: { | ||
"_id": "string", | ||
"email": "string", | ||
"password": "boolean", | ||
"bookmark": [ | ||
{ | ||
"_id": "string", | ||
"url": "string", | ||
}, | ||
] | ||
} | ||
} | ||
``` | ||
|
||
<br> | ||
|
||
### Login User | ||
|
||
| method | uri | | ||
| ------ | --------------- | | ||
| POST | /api/user/login | | ||
|
||
```js | ||
{ | ||
requestBody: { | ||
"email": "string", | ||
"password": "string" | ||
}, | ||
response: { | ||
"_id": "string", | ||
"email": "string", | ||
"password": "boolean", | ||
"bookmark": [ | ||
{ | ||
"_id": "string", | ||
"url": "string", | ||
}, | ||
] | ||
} | ||
} | ||
``` | ||
|
||
<br> | ||
|
||
### Find Bookmark List | ||
|
||
| method | uri | | ||
| ------ | ------------------ | | ||
| POST | /api/user/bookmark | | ||
|
||
```js | ||
{ | ||
requestBody: { | ||
"_id": "string", | ||
}, | ||
response: [ | ||
{ | ||
"_id": "string", | ||
"url": "string", | ||
}, | ||
] | ||
} | ||
``` | ||
|
||
<br> | ||
|
||
### Add Bookmark | ||
|
||
| method | uri | | ||
| ------ | ------------------------------ | | ||
| POST | /api/user/bookmark/:bookmarkId | | ||
|
||
```js | ||
{ | ||
requestBody: { | ||
"_id": "string", | ||
}, | ||
response: { | ||
"_id": "string", | ||
"email": "string", | ||
"password": "boolean", | ||
"bookmark": [ | ||
{ | ||
"_id": "string", | ||
"url": "string", | ||
}, | ||
] | ||
} | ||
} | ||
``` | ||
|
||
<br> | ||
|
||
### Remove Bookmark | ||
|
||
| method | uri | | ||
| ------ | ------------------------------ | | ||
| DELETE | /api/user/bookmark/:bookmarkId | | ||
|
||
```js | ||
{ | ||
requestBody: { | ||
"_id": "string", | ||
}, | ||
response: "number" | ||
} | ||
``` | ||
|
||
<br/> | ||
|
||
## ๐ฉโ๐ปCONTRIBUTORS๐จโ๐ป | ||
|
||
<table> | ||
<tr height="140px"> | ||
<td align="center"> | ||
<a href="https://github.com/InSeong-So"><img height="100px" width="100px" src="https://avatars.githubusercontent.com/u/18283006?v=4"/></a> | ||
<br /> | ||
<a href="https://github.com/InSeong-So">ํ๋ ๐ป</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/areumsheep"><img height="100px" width="100px" src="https://avatars.githubusercontent.com/u/48716298?v=4"/></a> | ||
<br /> | ||
<a href="https://github.com/areumsheep">์กฐ์ด ๐ป</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/parksil0"><img height="100px" width="100px" src="https://avatars.githubusercontent.com/u/41149744?v=4"/></a> | ||
<br /> | ||
<a href="https://github.com/parksil0">Seal ๐ป</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/wooooooood"><img height="100px" width="100px" src="https://avatars.githubusercontent.com/u/40855076?v=4"/></a> | ||
<br /> | ||
<a href="https://github.com/wooooooood">๋๋ฌด ๐ป</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/yechukim"><img height="100px" width="100px" src="https://avatars.githubusercontent.com/u/61838900?v=4"/></a> | ||
<br /> | ||
<a href="https://github.com/yechukim">์์ธ ๐ป</a> | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/sunhwa508"><img height="100px" width="100px" src="https://avatars.githubusercontent.com/u/61695175?v=4"/></a> | ||
<br /> | ||
<a href="https://github.com/sunhwa508">์ฝ์ ๐ป</a> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
<br> | ||
|
||
## โ๏ธCONVENTIONโ๏ธ | ||
|
||
| ํ๊ทธ | ์ค๋ช | | ||
| --------------------- | ------------------------------------------------------------------------- | | ||
| `โ๏ธFeat: ` | ์๋ก์ด ๊ธฐ๋ฅ์ ์ถ๊ฐํ ๊ฒฝ์ฐ | | ||
| `๐ Fix: ` | ๋ฒ๊ทธ๋ฅผ ๊ณ ์น ๊ฒฝ์ฐ | | ||
| `โ๏ธDesign: ` | CSS ๋ฑ ์ฌ์ฉ์ UI ๋์์ธ ๋ณ๊ฒฝ | | ||
| `โ๏ธโป๏ธBREAKING CHANGE: ` | ์ปค๋ค๋ API ๋ณ๊ฒฝ์ ๊ฒฝ์ฐ | | ||
| `โ๏ธโ๏ธHOTFIX: ` | ๊ธํ๊ฒ ์น๋ช ์ ์ธ ๋ฒ๊ทธ๋ฅผ ๊ณ ์ณ์ผํ๋ ๊ฒฝ์ฐ | | ||
| `๐Style: ` | ์ฝ๋ ํฌ๋งท ๋ณ๊ฒฝ, ์ธ๋ฏธ ์ฝ๋ก ๋๋ฝ, ์ฝ๋ ์์ ์ด ์๋ ๊ฒฝ์ฐ | | ||
| `๐Refactor: ` | ํ๋ก๋์ ์ฝ๋ ๋ฆฌํฉํ ๋ง | | ||
| `๐ฌComment: ` | ํ์ํ ์ฃผ์ ์ถ๊ฐ ๋ฐ ๋ณ๊ฒฝ | | ||
| `๐Docs: ` | ๋ฌธ์๋ฅผ ์์ ํ ๊ฒฝ์ฐ | | ||
| `๐งชTest: ` | ํ ์คํธ ์ถ๊ฐ, ํ ์คํธ ๋ฆฌํฉํ ๋ง(ํ๋ก๋์ ์ฝ๋ ๋ณ๊ฒฝ X) | | ||
| `๐ฌChore: ` | ๋น๋ ํ์คํธ ์ ๋ฐ์ดํธ, ํจํค์ง ๋งค๋์ ๋ฅผ ์ค์ ํ๋ ๊ฒฝ์ฐ(ํ๋ก๋์ ์ฝ๋ ๋ณ๊ฒฝ X) | | ||
| `โ๏ธRename: ` | ํ์ผ ํน์ ํด๋๋ช ์ ์์ ํ๊ฑฐ๋ ์ฎ๊ธฐ๋ ์์ ๋ง์ธ ๊ฒฝ์ฐ | | ||
| `๐งบRemove: ` | ํ์ผ์ ์ญ์ ํ๋ ์์ ๋ง ์ํํ ๊ฒฝ์ฐ | | ||
|
||
<br> | ||
|
||
## ๐LICENSE๐ | ||
|
||
- [MIT](https://opensource.org/licenses/MIT) | ||
|
||
<br> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.