백승욱

Make features directory

//=============================================================
var express = require('express');
const request = require('request');
const config = require('./config.json');
const config = require('../config.json');
//=============================================================
const LINE_REPLY_URL = 'https://api.line.me/v2/bot/message/reply'
const TOKEN = config.TOKEN;
......
//=============================================================
var express = require('express');
const request = require('request');
const config = require('./config.json');
const config = require('../config.json');
//=============================================================
const LINE_URL = 'https://api.line.me/v2/bot/message';
const TOKEN = config.TOKEN;
......
//=============================================================
var express = require('express');
const request = require('request');
const config = require('./config.json');
const config = require('../config.json');
//=============================================================
const LINE_URL = 'https://api.line.me/v2/bot/message/reply'
const TOKEN = config.TOKEN;
......
var express = require('express');
const request = require('request');
var config = require('./config.json');
var config = require('../config.json');
const TARGET_URL = 'https://api.line.me/v2/bot/message/reply'
const TOKEN = config.TOKEN;
const KOFIC_URL = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest'
......
const request = require('request');
var config = require('./config.json');
var config = require('../config.json');
const TARGET_URL = 'https://api.line.me/v2/bot/message/reply'
const TOKEN = config.TOKEN;
const KOFIC_URL = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest'
......
......@@ -17,11 +17,11 @@ const bodyParser = require('body-parser');
var app = express();
app.use(bodyParser.json());
//=============================================================
var BoxOffice = require('./DailyBoxOfficeList.js');
var MovieList = require('./MovieList.js');
var MovieInfo = require('./MovieInfo.js');
var MovieReco = require('./MovieRecommend.js');
var Exception = require('./Exception.js');
var BoxOffice = require('./features/DailyBoxOfficeList.js');
var MovieList = require('./features/MovieList.js');
var MovieInfo = require('./features/MovieInfo.js');
var MovieReco = require('./features/MovieRecommend.js');
var Exception = require('./features/Exception.js');
//=============================================================
const user_id = config.USER_ID;
//=============================================================
......