백승욱

Refactoring 1.1

...@@ -17,52 +17,38 @@ ...@@ -17,52 +17,38 @@
17 * [영화진흥위원회 API](https://www.kobis.or.kr) 17 * [영화진흥위원회 API](https://www.kobis.or.kr)
18 * [LINE Messaging API](https://developers.line.biz/en/services/messaging-api/) 18 * [LINE Messaging API](https://developers.line.biz/en/services/messaging-api/)
19 19
20 -<!-- GETTING STARTED -->
21 -## Getting Started
22 20
23 -This is an example of how you may give instructions on setting up your project locally. 21 +## Installation
24 -To get a local copy up and running follow these simple example steps.
25 22
26 -### Prerequisites 23 +1. 무료 API 키를 발급 받습니다. [영화진흥위원회 API](https://www.kobis.or.kr/kobisopenapi/homepg/main/main.do)
27 - 24 +2. 리포지토리를 클론합니다.
28 -This is an example of how to list things you need to use the software and how to install them.
29 -* npm
30 - ```sh
31 - npm install npm@latest -g
32 - ```
33 -
34 -### Installation
35 -
36 -_Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services._
37 -
38 -1. Get a free API Key at [https://example.com](https://example.com)
39 -2. Clone the repo
40 ```sh 25 ```sh
41 - git clone https://github.com/your_username_/Project-Name.git 26 + git clone http://khuhub.khu.ac.kr/2018104006/movie-reco-chatbot.git
42 ``` 27 ```
43 -3. Install NPM packages 28 +3. NPM packages 설치합니다.
44 ```sh 29 ```sh
45 npm install 30 npm install
46 ``` 31 ```
47 -4. Enter your API in `config.js` 32 +4. `config.json` 파일 안에 발급받은 API 키를 추가합니다.
48 - ```js 33 + ```json
49 - const API_KEY = 'ENTER YOUR API'; 34 + "KOFIC_KEY" : "Insert user key value";
35 + ```
36 +5. 라인 어플리케이션에서 챗봇을 친구로 추가합니다.
37 + ```
38 + Chatbot ID : @093sjoog
39 + <div align="center"><img src="./images/QRcode.png" width="20%" height="20%"></div>
50 ``` 40 ```
51 41
52 <!-- USAGE EXAMPLES --> 42 <!-- USAGE EXAMPLES -->
53 ## Usage 43 ## Usage
54 - 44 +다음 명령을 입력하여 프로그램을 실행합니다.
55 -Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources. 45 + ```sh
56 - 46 + npm start
57 -<!-- ROADMAP --> 47 + ```
58 -## Roadmap 48 +1. 최신 영화 추천 받기 : 어제 날짜를 기준으로 최신 영화를 추천 받습니다.
59 -- [x] Add Changelog 49 +2. 장르별 영화 추천 받기 : 장르를 선택하여, 해당 장르 영화를 추천 받습니다.
60 -- [x] Add back to top links 50 +3. 영화 검색하기 : 특정 단어를 입력하면, 해당 단어를 제목에 포함하고 있는 영화목록을 출력합니다.
61 -- [ ] Add Additional Templates w/ Examples 51 +4. 영화 상세검색 : 영화 코드를 입력하면, 해당 영화에 대한 상세 정보를 조회할 수 있습니다.
62 -- [ ] Add "components" document to easily copy & paste sections of the readme
63 -- [ ] Multi-language Support
64 - - [ ] Chinese
65 - - [ ] Spanish
66 52
67 53
68 <!-- CONTRIBUTING --> 54 <!-- CONTRIBUTING -->
...@@ -75,9 +61,12 @@ If you have a suggestion that would make this better, please fork the repo and c ...@@ -75,9 +61,12 @@ If you have a suggestion that would make this better, please fork the repo and c
75 4. Push to the Branch 61 4. Push to the Branch
76 5. Open a Pull Request 62 5. Open a Pull Request
77 63
64 +
65 +<!-- LICENSE -->
78 ## License 66 ## License
79 Distributed under the MIT License. See `LICENSE.txt` for more information. 67 Distributed under the MIT License. See `LICENSE.txt` for more information.
80 68
69 +
81 <!-- CONTACT --> 70 <!-- CONTACT -->
82 ## Contact 71 ## Contact
83 72
...@@ -85,4 +74,4 @@ Distributed under the MIT License. See `LICENSE.txt` for more information. ...@@ -85,4 +74,4 @@ Distributed under the MIT License. See `LICENSE.txt` for more information.
85 * 백승욱 : bpsswu@khu.ac.kr 74 * 백승욱 : bpsswu@khu.ac.kr
86 * 문성준: hoynola@khu.ac.kr 75 * 문성준: hoynola@khu.ac.kr
87 76
88 -* Project Link : http://khuhub.khu.ac.kr/2018103692/find_mbti_bot 77 +* Project Link : http://khuhub.khu.ac.kr/2018104006/movie-reco-chatbot
......
1 { 1 {
2 - "TOKEN" : "Insert user token value", 2 + "TOKEN" : "3SBQa8i9YKRmOvBECLvRi1zg51zw4ctXdL65t3V/gos2nZ7DCAVWhXUFVHq4sQRaqVeZWzcBb5hPFojgPMKgRPfPnpsKAabOyNqjvIoil/zDGD8UVYJwr+GMNND6uy+mxq9JlpobcsRn6c6Zs4NhRAdB04t89/1O/w1cDnyilFU=",
3 - "KOFIC_KEY" : "Insert user key value", 3 + "domain" : "2018104006.osschatbot2022.ml",
4 - "domain" : "Insert user domain", 4 + "USER_ID" : "U50a4219d441d5fd8800a4b99e2aec01d",
5 - "USER_ID" : "Insert user id" 5 +
6 + "KOFIC_KEY" : "Insert user key value"
6 } 7 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
2 "name": "trans", 2 "name": "trans",
3 "version": "1.0.0", 3 "version": "1.0.0",
4 "description": "", 4 "description": "",
5 - "main": "app.js", 5 + "main": "main.js",
6 "scripts": { 6 "scripts": {
7 + "start": "node ./main.js",
7 "test": "echo \"Error: no test specified\" && exit 1" 8 "test": "echo \"Error: no test specified\" && exit 1"
8 }, 9 },
9 "author": "", 10 "author": "",
......