Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ORGANIZATION=org-en1pZyG8yVp5oemdDiDLPXof
OPENAI_API_KEY=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
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Bug Report Template
about: Report a bug to help us improve
title: ':bug: Bug '
labels: bug
assignees: ''
---

## Bug Report

### 🐛 Summary
<!-- 버그에 대한 간략한 설명을 적어주세요. -->

### 📝 Steps to Reproduce
<!-- 버그를 재현하기 위한 단계를 순서대로 적어주세요. -->
<!-- 예: -->
<!-- 1. 어떤 페이지로 이동합니다. -->
<!-- 2. 어떤 버튼을 클릭합니다. -->
<!-- 3. 에러가 발생합니다. -->

### 💭 Expected Behavior
<!-- 버그가 발생하지 않았을 때의 정상적인 동작을 적어주세요. -->

### 🐞 Actual Behavior
<!-- 버그가 발생했을 때 실제로 발생한 동작을 적어주세요. -->

### 🌍 Environment
<!-- 버그가 발생한 환경에 대한 정보를 적어주세요. -->
<!-- 예: 운영체제, 브라우저, 앱 버전 등 -->

### 📸 Screenshots
<!-- 버그와 관련된 스크린샷을 첨부하거나 링크를 추가해주세요. -->
<!-- 필요 없다면 이 섹션을 제거하거나 "스크린샷 없음"으로 기록해주세요. -->

### ℹ️ Additional Information
<!-- 버그에 대해 추가적으로 설명하거나 기록해야 할 정보가 있다면 여기에 적어주세요. -->
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature Request Template
about: Suggest a new feature or improvement
title: ':sparkles: Feat '
labels: enhancement
assignees: ''
---

## Feature Request

### ✨ Summary
<!-- 추가하거나 개선해야 할 기능에 대한 간략한 설명을 적어주세요. -->

### 🎯 Motivation
<!-- 해당 기능이 필요한 이유를 설명해주세요. -->

### 📋 Detailed Description
<!-- 기능에 대한 구체적인 설명이나 동작 방식에 대해 자세히 적어주세요. -->

### 🔄 Alternatives
<!-- 해당 기능을 구현하는 다른 방법이나 대안에 대해 알고 있다면 적어주세요. -->

### ℹ️ Additional Information
<!-- 기능 요청에 대해 추가적으로 설명하거나 기록해야 할 정보가 있다면 여기에 적어주세요. -->
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/help_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Help Request Template
about: Ask for help or support
title: ':sos: Help '
labels: help wanted
assignees: ''
---

## 🆘 Description

<!-- 요청하는 도움이나 지원에 대한 상세한 설명을 적어주세요. -->

## ℹ️ Additional Information

<!-- 해당 이슈와 관련하여 추가적으로 제공할 정보가 있다면 여기에 적어주세요. -->
43 changes: 43 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## 📌 PR Checklist
Please check if your PR fulfills the following requirements:

- [ ] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)


## ✨ PR Type
What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [ ] 🐛 Bugfix
- [ ] 🚀 Feature
- [ ] 📝 Code style update (formatting, local variables)
- [ ] ♻️ Refactoring (no functional changes, no API changes)
- [ ] 🛠️ Build related changes
- [ ] 🔄 CI related changes
- [ ] 📚 Documentation content changes
- [ ] 🌐 angular.io application / infrastructure changes
- [ ] 🆕 Other... Please describe:


## 🧑‍💻 What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

Issue Number: N/A


## 🚶‍♀️ What is the new behavior?


## 🚨 Does this PR introduce a breaking change?

- [ ] ✅ Yes
- [ ] ✅ No


<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->


## 📸 Other information
4 changes: 4 additions & 0 deletions .huskypre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged --no-stash
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"trailingComma": "all",
"quoteProps": "preserve"
}
4 changes: 4 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
(The MIT License)

Copyright (c) 2023
STEVE <[email protected]>
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
## 주제
- 원하는 DB 스키마를 가지고 더미 데이터를 생성하는 라이브러리

## 사용방법
// clone && root foler
1. $ sudo npm link
2. $ dummy g -f samples/user-data-config.json -o json

## 스택
- chat GPT api
Expand Down
14 changes: 14 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"plugins": [
[
"module-resolver",
{
"alias": {
"@gptapi": "./src/gptapi"
}
}
],
"module-extension-resolver"
// "@babel/preset-typescript" // 추가 : TypeScript 문법을 바벨이 이해할 수 있는 JavaScript 문법으로 변환
]
}
8 changes: 0 additions & 8 deletions bin/cli.js

This file was deleted.

15 changes: 15 additions & 0 deletions default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"output_type": "json",
"require_count": 10,
"columns": [{
"column-name": "name",
"column-description": "한국사람이름",
"max-length": "3",
"unique": true
}, {
"column-name": "age",
"column-description": "나이",
"max-length": "2",
"unique": false
}]
}
42 changes: 42 additions & 0 deletions json/dummy_1691607585593.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"name": "김철수",
"age": "20"
},
{
"name": "이영희",
"age": "22"
},
{
"name": "박민수",
"age": "25"
},
{
"name": "김민수",
"age": "20"
},
{
"name": "김영희",
"age": "22"
},
{
"name": "이민수",
"age": "25"
},
{
"name": "김수철",
"age": "20"
},
{
"name": "이수희",
"age": "22"
},
{
"name": "박민수",
"age": "25"
},
{
"name": "김영수",
"age": "20"
}
]
42 changes: 42 additions & 0 deletions json/dummy_1691607586127.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"name": "김철수",
"age": "20"
},
{
"name": "이영희",
"age": "22"
},
{
"name": "박민수",
"age": "25"
},
{
"name": "김민수",
"age": "20"
},
{
"name": "김영희",
"age": "22"
},
{
"name": "이민수",
"age": "25"
},
{
"name": "김수희",
"age": "20"
},
{
"name": "박영희",
"age": "22"
},
{
"name": "이수희",
"age": "25"
},
{
"name": "박철수",
"age": "20"
}
]
42 changes: 42 additions & 0 deletions json/dummy_1691608636049.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"name": "김철수",
"age": "20"
},
{
"name": "이영희",
"age": "22"
},
{
"name": "박민수",
"age": "25"
},
{
"name": "김민정",
"age": "19"
},
{
"name": "최영희",
"age": "21"
},
{
"name": "김영수",
"age": "24"
},
{
"name": "김민수",
"age": "23"
},
{
"name": "이철수",
"age": "20"
},
{
"name": "김영희",
"age": "26"
},
{
"name": "박철수",
"age": "27"
}
]
42 changes: 42 additions & 0 deletions json/dummy_1691608636733.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"name": "김철수",
"age": "20"
},
{
"name": "이영희",
"age": "22"
},
{
"name": "박민수",
"age": "25"
},
{
"name": "김민수",
"age": "20"
},
{
"name": "김영희",
"age": "22"
},
{
"name": "이민수",
"age": "25"
},
{
"name": "김수희",
"age": "20"
},
{
"name": "박영희",
"age": "22"
},
{
"name": "이수희",
"age": "25"
},
{
"name": "박철수",
"age": "20"
}
]
Loading