From a29a34a2f3c15310e0596790c66db7cb8152d079 Mon Sep 17 00:00:00 2001
From: pyo-sh
Date: Mon, 7 Aug 2023 16:00:43 +0900
Subject: [PATCH 1/6] =?UTF-8?q?fix:=20Category=20Entity=EC=99=80=20Plan=20?=
=?UTF-8?q?Entity=EC=97=90=20Cascading=20=EC=A0=95=EC=9D=98=20(#77)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/entities/category.entity.ts | 2 +-
src/entities/plan.entity.ts | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/entities/category.entity.ts b/src/entities/category.entity.ts
index 2591c8a..de75971 100644
--- a/src/entities/category.entity.ts
+++ b/src/entities/category.entity.ts
@@ -27,7 +27,7 @@ export class CategoryEntity extends DefaultEntity {
color!: string;
@ApiProperty()
- @ManyToOne(() => UserEntity, { onDelete: 'CASCADE', cascade: true })
+ @ManyToOne(() => UserEntity, { onDelete: 'CASCADE' })
@JoinColumn({ name: 'user_id' })
user!: UserEntity;
diff --git a/src/entities/plan.entity.ts b/src/entities/plan.entity.ts
index d25550c..43aac30 100644
--- a/src/entities/plan.entity.ts
+++ b/src/entities/plan.entity.ts
@@ -105,7 +105,7 @@ export class PlanEntity extends DefaultEntity {
@IsNumber()
userId!: number;
- @ManyToOne(() => UserEntity, { onDelete: 'CASCADE', cascade: true })
+ @ManyToOne(() => UserEntity, { onDelete: 'CASCADE' })
@JoinColumn({ name: 'user_id' })
user!: UserEntity;
@@ -116,7 +116,9 @@ export class PlanEntity extends DefaultEntity {
@IsNumber()
categoryId?: number;
- @ManyToOne(() => CategoryEntity, (category) => category.plans)
+ @ManyToOne(() => CategoryEntity, (category) => category.plans, {
+ onDelete: 'SET NULL',
+ })
@JoinColumn({ name: 'category_id' })
category?: CategoryEntity;
From 0272c4d457680882a054edfa7adaeb8a5a262b89 Mon Sep 17 00:00:00 2001
From: pyo-sh
Date: Mon, 7 Aug 2023 16:01:42 +0900
Subject: [PATCH 2/6] =?UTF-8?q?docs:=20plandar-client=EC=9D=98=20github=20?=
=?UTF-8?q?template=20=EC=A0=81=EC=9A=A9=ED=95=98=EA=B8=B0=20(#78)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/ISSUE_TEMPLATE/bug_report.md | 15 +++++++++------
.github/ISSUE_TEMPLATE/feature_request.md | 12 +++++-------
.github/pull_request_template.md | 4 ++--
3 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 32a920c..4e37f90 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,15 +1,18 @@
-## π **λ²κ·Έ μ€λͺ
**
-
+---
+name: λ²κ·Έ μ΄μ ν
νλ¦Ώ
+about: Bug λ°κ²¬ μ μ΄λ₯Ό ν΄κ²°νκΈ° μν ISSUEλ₯Ό μμ±ν΄μ£ΌμΈμ.
+title: ''
+labels: BUG
+assignees: jintak0401, pyo-sh, seoko97
+---
+## π **λ²κ·Έ μ€λͺ
**
## π¦ **μ μ νΉμ μμ²νλ ν΄κ²° λ°©λ²**
-
-
## π **μ€ν¬λ¦°μ·**
-
\ No newline at end of file
+--->
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index c2cfc99..04fafb1 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -1,15 +1,13 @@
---
-name: feature issue template
-about: Create about new feature
+name: κΈ°λ₯ μΆκ° ν
νλ¦Ώ
+about: νλ‘μ νΈμ μλ‘μ΄ κΈ°λ₯μ μΆκ°ν μ μλλ‘ ISSUEλ₯Ό μμ±ν΄μ£ΌμΈμ
title: ''
-labels: feature
-assignees:
+labels: ''
+assignees: ''
---
## :briefcase: **ꡬν κ°μ**
-
-
## :white_check_mark: **μ§ν κ³ν λ° νν©**
-- [ ]
+- [ ]
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 087df4d..e8bb1ce 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,4 +1,4 @@
-* Closes #μ΄μλ²νΈ
+- Closes #μ΄μλ²νΈ
## β¨ **ꡬν κΈ°λ₯ λͺ
μΈ**
@@ -6,4 +6,4 @@
## π **μ΄λ €μ λ μ **
-## π **μ€ν¬λ¦°μ·**
\ No newline at end of file
+## π **μ€ν¬λ¦°μ·**
From 11f404e4eadb0becb1024c8f137157194204b640 Mon Sep 17 00:00:00 2001
From: pyo-sh
Date: Fri, 11 Aug 2023 15:39:23 +0900
Subject: [PATCH 3/6] docs: README.md v1.0.0 (#80)
Co-authored-by: seoko97
---
README.md | 139 +++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 118 insertions(+), 21 deletions(-)
diff --git a/README.md b/README.md
index 526d2d2..bb1b3d3 100644
--- a/README.md
+++ b/README.md
@@ -1,30 +1,127 @@
-# Nest JS Boilerplate
+
+
+
+
+ Plandar
+
+
-## μμ² URL
+μ¬μ©μ λ³ κ°μΈ μΌμ κ΄λ¦¬ κΈ°λ₯μ΄ μλ λ¬λ ₯ μΉ μλΉμ€
-prefixλ‘ `/api`λ₯Ό λΆμ
λλ€.
+
+
+
+
+ Notion docs Β»
+
+
+
+
-## Http Exception Filter
+
+ Contributors β’
+ Key Features β’
+ How To Use β’
+ Credits β’
+ Related
+
-μμ² μ€ν¨μ μλ νμμΌλ‘ μλ΅ν©λλ€.
+
+
+
-```
-{
- success: false,
- timestamp: "2023-02-22T06:25:08.663Z",
- statusCode: 404,
- message: "Cannot GET /",
- error: "Not Found"
-}
-```
+## Contributors ππΌββοΈ
-## Success Interceptor
+
-μμ² μ±κ³΅μ μλ νμμΌλ‘ μλ΅ν©λλ€.
+## Key Features βοΈ
+- μνλ λ μ§μ λ¬λ ₯μ λ³Ό μ μμ΅λλ€.
+ - μΌκ°, μ£Όκ°, μκ° λ¬λ ₯ μ 곡ν©λλ€.
+ - μ¬μ΄λλ°μ ν€λλ₯Ό ν΅ν΄ λ¬λ ₯μ μ μ΄ν μ μμ΅λλ€.
+- μΌμ μ μΆκ°νμ¬ κ΄λ¦¬ν μ μμ΅λλ€.
+ - μΌμ μ λ¬λ ₯μμ λ³Ό μ μμ΅λλ€.
+ - μΌμ μ λν λ©λͺ¨λ₯Ό λ¨κΈΈ μ μμ΅λλ€.
+- λλκ·Έλ₯Ό ν΅ν΄ μΌμ μ μμ± λ° μμ ν μ μμ΅λλ€.
+- μΉ΄ν
κ³ λ¦¬ κΈ°λ₯μ μ΄μ©ν΄ λΉμ·ν μΌμ μ νλ²μ κ΄λ¦¬ν μ μμ΅λλ€.
+- νκ·Έ κΈ°λ₯μ μ΄μ©ν΄ μΌμ νν°λ§μ μ¬μ©ν μ μμ΅λλ€.
+
+## How To Use βοΈ
+
+μ΄ν리μΌμ΄μ
μ μ€ννκΈ° μν΄μ [Git](https://git-scm.com)κ³Ό [Node.js](https://nodejs.org/en/download/) ([npm](http://npmjs.com)) μ μ€μΉν΄μΌ ν©λλ€.
+
+μ΄ν μλμ λͺ
λ Ήμ΄λ₯Ό ν΅ν΄ μ€νν μ μμ΅λλ€.
+
+```bash
+# Clone this repository
+$ git clone https://github.com/JiPyoTak/plandar-server
+
+# Go into the repository
+$ cd plandar-server
+
+# Install dependencies
+$ npm install
+
+# Run the app
+$ npm start
```
-{
- success: true,
- data: "Hello World!"
-}
-```
+
+> **Note**
+>
+> 1. μ΄ μ΄ν리μΌμ΄μ
μ μ μμ μΌλ‘ μ€ννλ €λ©΄ .env νμΌμ μμ±νκ³ λ΄μ©μ κΈ°μ
ν΄μΌ ν©λλ€.
+> 2. ꡬκΈ, μΉ΄μΉ΄μ€ OAuth μ€μ μ΄ νμν©λλ€.
+
+## Credits π
+
+μλμ κ°μ μ€νμμ€ ν¨ν€μ§λ₯Ό μ¬μ©νκ³ μμ΅λλ€.
+
+- [Node.js](https://nodejs.org/)
+- [NestJS](https://nestjs.com/)
+- [mysql2](https://www.npmjs.com/package/mysql2)
+- [typeORM](https://typeorm.io/?ref=arctype.com)
+- [passport](https://www.passportjs.org/)
+
+## Related π
+
+[plandar-client](https://github.com/JiPyoTak/plandar-client) - Plandar μΉ λ·°λ₯Ό μ 곡νλ μ΄ν리μΌμ΄μ
From a719150fe1a4d1881907401e1c9c3d7147a40eaf Mon Sep 17 00:00:00 2001
From: pyo-sh
Date: Fri, 11 Aug 2023 15:45:42 +0900
Subject: [PATCH 4/6] =?UTF-8?q?fix:=20README.md=20v1.0.0=20=EC=98=A4?=
=?UTF-8?q?=EB=A5=98=20=ED=95=B4=EA=B2=B0=20(#80)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: seoko97
---
README.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index bb1b3d3..235c3c0 100644
--- a/README.md
+++ b/README.md
@@ -19,15 +19,15 @@
- Contributors β’
- Key Features β’
- How To Use β’
- Credits β’
- Related
+ Contributors β’
+ Key Features β’
+ How To Use β’
+ Credits β’
+ Related
-
+
## Contributors ππΌββοΈ
From f2310efdbb2108563c1d624d791e1cd118f0cf0a Mon Sep 17 00:00:00 2001
From: pyo-sh
Date: Fri, 11 Aug 2023 15:49:41 +0900
Subject: [PATCH 5/6] =?UTF-8?q?fix:=20README.md=20v1.0.0=20hashrouter=20?=
=?UTF-8?q?=EC=A0=81=EC=9A=A9=20(#80)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: seoko97
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 235c3c0..ec3901c 100644
--- a/README.md
+++ b/README.md
@@ -19,11 +19,11 @@
- Contributors β’
- Key Features β’
- How To Use β’
- Credits β’
- Related
+ Contributors β’
+ Key Features β’
+ How To Use β’
+ Credits β’
+ Related
From 11a2a7a088e9617ec44d43c54bf595540a917ffa Mon Sep 17 00:00:00 2001
From: pyo-sh
Date: Fri, 11 Aug 2023 15:51:07 +0900
Subject: [PATCH 6/6] =?UTF-8?q?fix:=20README.md=20v1.0.0=20hashrouter=20?=
=?UTF-8?q?=EC=A0=81=EC=9A=A9=202=20(#80)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-authored-by: seoko97
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index ec3901c..39b588e 100644
--- a/README.md
+++ b/README.md
@@ -19,11 +19,11 @@
- Contributors β’
- Key Features β’
- How To Use β’
- Credits β’
- Related
+ Contributors β’
+ Key Features β’
+ How To Use β’
+ Credits β’
+ Related