백승욱

Make features directory

1 //============================================================= 1 //=============================================================
2 var express = require('express'); 2 var express = require('express');
3 const request = require('request'); 3 const request = require('request');
4 -const config = require('./config.json'); 4 +const config = require('../config.json');
5 //============================================================= 5 //=============================================================
6 const LINE_REPLY_URL = 'https://api.line.me/v2/bot/message/reply' 6 const LINE_REPLY_URL = 'https://api.line.me/v2/bot/message/reply'
7 const TOKEN = config.TOKEN; 7 const TOKEN = config.TOKEN;
......
1 //============================================================= 1 //=============================================================
2 var express = require('express'); 2 var express = require('express');
3 const request = require('request'); 3 const request = require('request');
4 -const config = require('./config.json'); 4 +const config = require('../config.json');
5 //============================================================= 5 //=============================================================
6 const LINE_URL = 'https://api.line.me/v2/bot/message'; 6 const LINE_URL = 'https://api.line.me/v2/bot/message';
7 const TOKEN = config.TOKEN; 7 const TOKEN = config.TOKEN;
......
1 //============================================================= 1 //=============================================================
2 var express = require('express'); 2 var express = require('express');
3 const request = require('request'); 3 const request = require('request');
4 -const config = require('./config.json'); 4 +const config = require('../config.json');
5 //============================================================= 5 //=============================================================
6 const LINE_URL = 'https://api.line.me/v2/bot/message/reply' 6 const LINE_URL = 'https://api.line.me/v2/bot/message/reply'
7 const TOKEN = config.TOKEN; 7 const TOKEN = config.TOKEN;
......
1 var express = require('express'); 1 var express = require('express');
2 const request = require('request'); 2 const request = require('request');
3 -var config = require('./config.json'); 3 +var config = require('../config.json');
4 const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' 4 const TARGET_URL = 'https://api.line.me/v2/bot/message/reply'
5 const TOKEN = config.TOKEN; 5 const TOKEN = config.TOKEN;
6 const KOFIC_URL = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest' 6 const KOFIC_URL = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest'
......
1 const request = require('request'); 1 const request = require('request');
2 -var config = require('./config.json'); 2 +var config = require('../config.json');
3 const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' 3 const TARGET_URL = 'https://api.line.me/v2/bot/message/reply'
4 const TOKEN = config.TOKEN; 4 const TOKEN = config.TOKEN;
5 const KOFIC_URL = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest' 5 const KOFIC_URL = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest'
......
...@@ -17,11 +17,11 @@ const bodyParser = require('body-parser'); ...@@ -17,11 +17,11 @@ const bodyParser = require('body-parser');
17 var app = express(); 17 var app = express();
18 app.use(bodyParser.json()); 18 app.use(bodyParser.json());
19 //============================================================= 19 //=============================================================
20 -var BoxOffice = require('./DailyBoxOfficeList.js'); 20 +var BoxOffice = require('./features/DailyBoxOfficeList.js');
21 -var MovieList = require('./MovieList.js'); 21 +var MovieList = require('./features/MovieList.js');
22 -var MovieInfo = require('./MovieInfo.js'); 22 +var MovieInfo = require('./features/MovieInfo.js');
23 -var MovieReco = require('./MovieRecommend.js'); 23 +var MovieReco = require('./features/MovieRecommend.js');
24 -var Exception = require('./Exception.js'); 24 +var Exception = require('./features/Exception.js');
25 //============================================================= 25 //=============================================================
26 const user_id = config.USER_ID; 26 const user_id = config.USER_ID;
27 //============================================================= 27 //=============================================================
......