toror33

backend연동 및 user 로그인, 회원가입

1 +var createError = require('http-errors');
2 +var express = require('express');
3 +var path = require('path');
4 +var cookieParser = require('cookie-parser');
5 +var logger = require('morgan');
6 +
7 +var indexRouter = require('./routes/index');
8 +//var usersRouter = require('./routes/users');
9 +var userRouter = require('./routes/userlogin/user');
10 +var loginRouter = require('./routes/userlogin/login');
11 +var registerRouter = require('./routes/userlogin/register');
12 +
13 +
14 +var passport = require('passport');
15 +var session = require('express-session');
16 +var config = require('./routes/modules/config');
17 +
18 +//port
19 +passport.serializeUser(function(user, done) {
20 + console.log('serialized');
21 + done(null, user);
22 +});
23 +passport.deserializeUser(function(user, done) {
24 + console.log('deserialized');
25 + done(null, user);
26 +});
27 +
28 +
29 +var app = express();
30 +
31 +// view engine setup
32 +app.set('views', [path.join(__dirname, 'views'),path.join(__dirname ,'dist')]);
33 +// app.set('view engine', 'ejs');
34 +
35 +app.use(logger('dev'));
36 +app.use(express.json());
37 +app.use(express.urlencoded({ extended: false }));
38 +app.use(cookieParser());
39 +app.use(express.static(path.join(__dirname, 'public')));
40 +
41 +app.use(session({
42 + secret: 'secrettexthere',
43 + saveUninitialized: true,
44 + resave: true
45 +}));
46 +
47 +app.use(express.static('public'));
48 +app.use(express.static('views'));
49 +
50 +app.use(passport.initialize());
51 +app.use(passport.session());
52 +
53 +app.use('/', indexRouter);
54 +app.use('/user', userRouter);
55 +app.use('/login', loginRouter);
56 +app.use('/RegistUser', registerRouter);
57 +//app.use('/users', usersRouter);
58 +
59 +// catch 404 and forward to error handler
60 +app.use(function(req, res, next) {
61 + next(createError(404));
62 +});
63 +
64 +// error handler
65 +app.use(function(err, req, res, next) {
66 + // set locals, only providing error in development
67 + res.locals.message = err.message;
68 + res.locals.error = req.app.get('env') === 'development' ? err : {};
69 +
70 + // render the error page
71 + res.status(err.status || 500);
72 + res.render('error');
73 +});
74 +
75 +module.exports = app;
1 +#!/usr/bin/env node
2 +
3 +/**
4 + * Module dependencies.
5 + */
6 +
7 +var app = require('../app');
8 +var debug = require('debug')('backend:server');
9 +var http = require('http');
10 +
11 +/**
12 + * Get port from environment and store in Express.
13 + */
14 +
15 +var port = normalizePort(process.env.PORT || '3000');
16 +app.set('port', port);
17 +
18 +/**
19 + * Create HTTP server.
20 + */
21 +
22 +var server = http.createServer(app);
23 +
24 +/**
25 + * Listen on provided port, on all network interfaces.
26 + */
27 +
28 +server.listen(port);
29 +server.on('error', onError);
30 +server.on('listening', onListening);
31 +
32 +/**
33 + * Normalize a port into a number, string, or false.
34 + */
35 +
36 +function normalizePort(val) {
37 + var port = parseInt(val, 10);
38 +
39 + if (isNaN(port)) {
40 + // named pipe
41 + return val;
42 + }
43 +
44 + if (port >= 0) {
45 + // port number
46 + return port;
47 + }
48 +
49 + return false;
50 +}
51 +
52 +/**
53 + * Event listener for HTTP server "error" event.
54 + */
55 +
56 +function onError(error) {
57 + if (error.syscall !== 'listen') {
58 + throw error;
59 + }
60 +
61 + var bind = typeof port === 'string'
62 + ? 'Pipe ' + port
63 + : 'Port ' + port;
64 +
65 + // handle specific listen errors with friendly messages
66 + switch (error.code) {
67 + case 'EACCES':
68 + console.error(bind + ' requires elevated privileges');
69 + process.exit(1);
70 + break;
71 + case 'EADDRINUSE':
72 + console.error(bind + ' is already in use');
73 + process.exit(1);
74 + break;
75 + default:
76 + throw error;
77 + }
78 +}
79 +
80 +/**
81 + * Event listener for HTTP server "listening" event.
82 + */
83 +
84 +function onListening() {
85 + var addr = server.address();
86 + var bind = typeof addr === 'string'
87 + ? 'pipe ' + addr
88 + : 'port ' + addr.port;
89 + debug('Listening on ' + bind);
90 +}
1 +{
2 + "name": "backend",
3 + "version": "0.0.0",
4 + "lockfileVersion": 1,
5 + "requires": true,
6 + "dependencies": {
7 + "@types/babel-types": {
8 + "version": "7.0.7",
9 + "resolved": "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.7.tgz",
10 + "integrity": "sha512-dBtBbrc+qTHy1WdfHYjBwRln4+LWqASWakLHsWHR2NWHIFkv4W3O070IGoGLEBrJBvct3r0L1BUPuvURi7kYUQ=="
11 + },
12 + "@types/babylon": {
13 + "version": "6.16.5",
14 + "resolved": "https://registry.npmjs.org/@types/babylon/-/babylon-6.16.5.tgz",
15 + "integrity": "sha512-xH2e58elpj1X4ynnKp9qSnWlsRTIs6n3tgLGNfwAGHwePw0mulHQllV34n0T25uYSu1k0hRKkWXF890B1yS47w==",
16 + "requires": {
17 + "@types/babel-types": "*"
18 + }
19 + },
20 + "accepts": {
21 + "version": "1.3.7",
22 + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
23 + "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
24 + "requires": {
25 + "mime-types": "~2.1.24",
26 + "negotiator": "0.6.2"
27 + }
28 + },
29 + "acorn": {
30 + "version": "3.3.0",
31 + "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz",
32 + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo="
33 + },
34 + "acorn-globals": {
35 + "version": "3.1.0",
36 + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-3.1.0.tgz",
37 + "integrity": "sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8=",
38 + "requires": {
39 + "acorn": "^4.0.4"
40 + },
41 + "dependencies": {
42 + "acorn": {
43 + "version": "4.0.13",
44 + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz",
45 + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c="
46 + }
47 + }
48 + },
49 + "align-text": {
50 + "version": "0.1.4",
51 + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz",
52 + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=",
53 + "requires": {
54 + "kind-of": "^3.0.2",
55 + "longest": "^1.0.1",
56 + "repeat-string": "^1.5.2"
57 + }
58 + },
59 + "amdefine": {
60 + "version": "1.0.1",
61 + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
62 + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU="
63 + },
64 + "ansi-styles": {
65 + "version": "3.2.1",
66 + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
67 + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
68 + "requires": {
69 + "color-convert": "^1.9.0"
70 + }
71 + },
72 + "array-flatten": {
73 + "version": "1.1.1",
74 + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
75 + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
76 + },
77 + "asap": {
78 + "version": "2.0.6",
79 + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
80 + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
81 + },
82 + "async": {
83 + "version": "0.9.2",
84 + "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
85 + "integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0="
86 + },
87 + "babel-runtime": {
88 + "version": "6.26.0",
89 + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
90 + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
91 + "requires": {
92 + "core-js": "^2.4.0",
93 + "regenerator-runtime": "^0.11.0"
94 + }
95 + },
96 + "babel-types": {
97 + "version": "6.26.0",
98 + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
99 + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
100 + "requires": {
101 + "babel-runtime": "^6.26.0",
102 + "esutils": "^2.0.2",
103 + "lodash": "^4.17.4",
104 + "to-fast-properties": "^1.0.3"
105 + }
106 + },
107 + "babylon": {
108 + "version": "6.18.0",
109 + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
110 + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ=="
111 + },
112 + "balanced-match": {
113 + "version": "1.0.0",
114 + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
115 + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
116 + },
117 + "basic-auth": {
118 + "version": "2.0.1",
119 + "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz",
120 + "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==",
121 + "requires": {
122 + "safe-buffer": "5.1.2"
123 + }
124 + },
125 + "bignumber.js": {
126 + "version": "9.0.0",
127 + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
128 + "integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A=="
129 + },
130 + "body-parser": {
131 + "version": "1.18.3",
132 + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz",
133 + "integrity": "sha1-WykhmP/dVTs6DyDe0FkrlWlVyLQ=",
134 + "requires": {
135 + "bytes": "3.0.0",
136 + "content-type": "~1.0.4",
137 + "debug": "2.6.9",
138 + "depd": "~1.1.2",
139 + "http-errors": "~1.6.3",
140 + "iconv-lite": "0.4.23",
141 + "on-finished": "~2.3.0",
142 + "qs": "6.5.2",
143 + "raw-body": "2.3.3",
144 + "type-is": "~1.6.16"
145 + }
146 + },
147 + "brace-expansion": {
148 + "version": "1.1.11",
149 + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
150 + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
151 + "requires": {
152 + "balanced-match": "^1.0.0",
153 + "concat-map": "0.0.1"
154 + }
155 + },
156 + "bytes": {
157 + "version": "3.0.0",
158 + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz",
159 + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg="
160 + },
161 + "camelcase": {
162 + "version": "1.2.1",
163 + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
164 + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk="
165 + },
166 + "center-align": {
167 + "version": "0.1.3",
168 + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz",
169 + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=",
170 + "requires": {
171 + "align-text": "^0.1.3",
172 + "lazy-cache": "^1.0.3"
173 + }
174 + },
175 + "chalk": {
176 + "version": "2.4.2",
177 + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
178 + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
179 + "requires": {
180 + "ansi-styles": "^3.2.1",
181 + "escape-string-regexp": "^1.0.5",
182 + "supports-color": "^5.3.0"
183 + }
184 + },
185 + "character-parser": {
186 + "version": "2.2.0",
187 + "resolved": "https://registry.npmjs.org/character-parser/-/character-parser-2.2.0.tgz",
188 + "integrity": "sha1-x84o821LzZdE5f/CxfzeHHMmH8A=",
189 + "requires": {
190 + "is-regex": "^1.0.3"
191 + }
192 + },
193 + "clean-css": {
194 + "version": "3.4.28",
195 + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-3.4.28.tgz",
196 + "integrity": "sha1-vxlF6C/ICPVWlebd6uwBQA79A/8=",
197 + "requires": {
198 + "commander": "2.8.x",
199 + "source-map": "0.4.x"
200 + }
201 + },
202 + "cliui": {
203 + "version": "2.1.0",
204 + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz",
205 + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=",
206 + "requires": {
207 + "center-align": "^0.1.1",
208 + "right-align": "^0.1.1",
209 + "wordwrap": "0.0.2"
210 + }
211 + },
212 + "color-convert": {
213 + "version": "1.9.3",
214 + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
215 + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
216 + "requires": {
217 + "color-name": "1.1.3"
218 + }
219 + },
220 + "color-name": {
221 + "version": "1.1.3",
222 + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
223 + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
224 + },
225 + "commander": {
226 + "version": "2.8.1",
227 + "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
228 + "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=",
229 + "requires": {
230 + "graceful-readlink": ">= 1.0.0"
231 + }
232 + },
233 + "concat-map": {
234 + "version": "0.0.1",
235 + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
236 + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
237 + },
238 + "constantinople": {
239 + "version": "3.1.2",
240 + "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-3.1.2.tgz",
241 + "integrity": "sha512-yePcBqEFhLOqSBtwYOGGS1exHo/s1xjekXiinh4itpNQGCu4KA1euPh1fg07N2wMITZXQkBz75Ntdt1ctGZouw==",
242 + "requires": {
243 + "@types/babel-types": "^7.0.0",
244 + "@types/babylon": "^6.16.2",
245 + "babel-types": "^6.26.0",
246 + "babylon": "^6.18.0"
247 + }
248 + },
249 + "content-disposition": {
250 + "version": "0.5.2",
251 + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",
252 + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ="
253 + },
254 + "content-type": {
255 + "version": "1.0.4",
256 + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
257 + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
258 + },
259 + "cookie": {
260 + "version": "0.4.0",
261 + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
262 + "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
263 + },
264 + "cookie-parser": {
265 + "version": "1.4.5",
266 + "resolved": "https://registry.npmjs.org/cookie-parser/-/cookie-parser-1.4.5.tgz",
267 + "integrity": "sha512-f13bPUj/gG/5mDr+xLmSxxDsB9DQiTIfhJS/sqjrmfAWiAN+x2O4i/XguTL9yDZ+/IFDanJ+5x7hC4CXT9Tdzw==",
268 + "requires": {
269 + "cookie": "0.4.0",
270 + "cookie-signature": "1.0.6"
271 + }
272 + },
273 + "cookie-signature": {
274 + "version": "1.0.6",
275 + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
276 + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
277 + },
278 + "core-js": {
279 + "version": "2.6.11",
280 + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
281 + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
282 + },
283 + "core-util-is": {
284 + "version": "1.0.2",
285 + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
286 + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
287 + },
288 + "crypto-js": {
289 + "version": "4.0.0",
290 + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.0.0.tgz",
291 + "integrity": "sha512-bzHZN8Pn+gS7DQA6n+iUmBfl0hO5DJq++QP3U6uTucDtk/0iGpXd/Gg7CGR0p8tJhofJyaKoWBuJI4eAO00BBg=="
292 + },
293 + "debug": {
294 + "version": "2.6.9",
295 + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
296 + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
297 + "requires": {
298 + "ms": "2.0.0"
299 + }
300 + },
301 + "decamelize": {
302 + "version": "1.2.0",
303 + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
304 + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA="
305 + },
306 + "depd": {
307 + "version": "1.1.2",
308 + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
309 + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak="
310 + },
311 + "destroy": {
312 + "version": "1.0.4",
313 + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
314 + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
315 + },
316 + "doctypes": {
317 + "version": "1.1.0",
318 + "resolved": "https://registry.npmjs.org/doctypes/-/doctypes-1.1.0.tgz",
319 + "integrity": "sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk="
320 + },
321 + "ee-first": {
322 + "version": "1.1.1",
323 + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
324 + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
325 + },
326 + "ejs": {
327 + "version": "3.1.3",
328 + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.3.tgz",
329 + "integrity": "sha512-wmtrUGyfSC23GC/B1SMv2ogAUgbQEtDmTIhfqielrG5ExIM9TP4UoYdi90jLF1aTcsWCJNEO0UrgKzP0y3nTSg==",
330 + "requires": {
331 + "jake": "^10.6.1"
332 + }
333 + },
334 + "encodeurl": {
335 + "version": "1.0.2",
336 + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
337 + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k="
338 + },
339 + "escape-html": {
340 + "version": "1.0.3",
341 + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
342 + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg="
343 + },
344 + "escape-string-regexp": {
345 + "version": "1.0.5",
346 + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
347 + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
348 + },
349 + "esutils": {
350 + "version": "2.0.3",
351 + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
352 + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
353 + },
354 + "etag": {
355 + "version": "1.8.1",
356 + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
357 + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc="
358 + },
359 + "express": {
360 + "version": "4.16.4",
361 + "resolved": "https://registry.npmjs.org/express/-/express-4.16.4.tgz",
362 + "integrity": "sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==",
363 + "requires": {
364 + "accepts": "~1.3.5",
365 + "array-flatten": "1.1.1",
366 + "body-parser": "1.18.3",
367 + "content-disposition": "0.5.2",
368 + "content-type": "~1.0.4",
369 + "cookie": "0.3.1",
370 + "cookie-signature": "1.0.6",
371 + "debug": "2.6.9",
372 + "depd": "~1.1.2",
373 + "encodeurl": "~1.0.2",
374 + "escape-html": "~1.0.3",
375 + "etag": "~1.8.1",
376 + "finalhandler": "1.1.1",
377 + "fresh": "0.5.2",
378 + "merge-descriptors": "1.0.1",
379 + "methods": "~1.1.2",
380 + "on-finished": "~2.3.0",
381 + "parseurl": "~1.3.2",
382 + "path-to-regexp": "0.1.7",
383 + "proxy-addr": "~2.0.4",
384 + "qs": "6.5.2",
385 + "range-parser": "~1.2.0",
386 + "safe-buffer": "5.1.2",
387 + "send": "0.16.2",
388 + "serve-static": "1.13.2",
389 + "setprototypeof": "1.1.0",
390 + "statuses": "~1.4.0",
391 + "type-is": "~1.6.16",
392 + "utils-merge": "1.0.1",
393 + "vary": "~1.1.2"
394 + },
395 + "dependencies": {
396 + "cookie": {
397 + "version": "0.3.1",
398 + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz",
399 + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s="
400 + }
401 + }
402 + },
403 + "express-session": {
404 + "version": "1.17.1",
405 + "resolved": "https://registry.npmjs.org/express-session/-/express-session-1.17.1.tgz",
406 + "integrity": "sha512-UbHwgqjxQZJiWRTMyhvWGvjBQduGCSBDhhZXYenziMFjxst5rMV+aJZ6hKPHZnPyHGsrqRICxtX8jtEbm/z36Q==",
407 + "requires": {
408 + "cookie": "0.4.0",
409 + "cookie-signature": "1.0.6",
410 + "debug": "2.6.9",
411 + "depd": "~2.0.0",
412 + "on-headers": "~1.0.2",
413 + "parseurl": "~1.3.3",
414 + "safe-buffer": "5.2.0",
415 + "uid-safe": "~2.1.5"
416 + },
417 + "dependencies": {
418 + "depd": {
419 + "version": "2.0.0",
420 + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
421 + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="
422 + },
423 + "safe-buffer": {
424 + "version": "5.2.0",
425 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz",
426 + "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg=="
427 + }
428 + }
429 + },
430 + "filelist": {
431 + "version": "1.0.1",
432 + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.1.tgz",
433 + "integrity": "sha512-8zSK6Nu0DQIC08mUC46sWGXi+q3GGpKydAG36k+JDba6VRpkevvOWUW5a/PhShij4+vHT9M+ghgG7eM+a9JDUQ==",
434 + "requires": {
435 + "minimatch": "^3.0.4"
436 + }
437 + },
438 + "finalhandler": {
439 + "version": "1.1.1",
440 + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz",
441 + "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==",
442 + "requires": {
443 + "debug": "2.6.9",
444 + "encodeurl": "~1.0.2",
445 + "escape-html": "~1.0.3",
446 + "on-finished": "~2.3.0",
447 + "parseurl": "~1.3.2",
448 + "statuses": "~1.4.0",
449 + "unpipe": "~1.0.0"
450 + }
451 + },
452 + "forwarded": {
453 + "version": "0.1.2",
454 + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
455 + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
456 + },
457 + "fresh": {
458 + "version": "0.5.2",
459 + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
460 + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
461 + },
462 + "function-bind": {
463 + "version": "1.1.1",
464 + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
465 + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
466 + },
467 + "graceful-readlink": {
468 + "version": "1.0.1",
469 + "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz",
470 + "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU="
471 + },
472 + "has": {
473 + "version": "1.0.3",
474 + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
475 + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
476 + "requires": {
477 + "function-bind": "^1.1.1"
478 + }
479 + },
480 + "has-flag": {
481 + "version": "3.0.0",
482 + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
483 + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
484 + },
485 + "http-errors": {
486 + "version": "1.6.3",
487 + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
488 + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",
489 + "requires": {
490 + "depd": "~1.1.2",
491 + "inherits": "2.0.3",
492 + "setprototypeof": "1.1.0",
493 + "statuses": ">= 1.4.0 < 2"
494 + }
495 + },
496 + "iconv-lite": {
497 + "version": "0.4.23",
498 + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz",
499 + "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==",
500 + "requires": {
501 + "safer-buffer": ">= 2.1.2 < 3"
502 + }
503 + },
504 + "inherits": {
505 + "version": "2.0.3",
506 + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
507 + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
508 + },
509 + "ipaddr.js": {
510 + "version": "1.9.1",
511 + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
512 + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
513 + },
514 + "is-buffer": {
515 + "version": "1.1.6",
516 + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
517 + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
518 + },
519 + "is-expression": {
520 + "version": "3.0.0",
521 + "resolved": "https://registry.npmjs.org/is-expression/-/is-expression-3.0.0.tgz",
522 + "integrity": "sha1-Oayqa+f9HzRx3ELHQW5hwkMXrJ8=",
523 + "requires": {
524 + "acorn": "~4.0.2",
525 + "object-assign": "^4.0.1"
526 + },
527 + "dependencies": {
528 + "acorn": {
529 + "version": "4.0.13",
530 + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz",
531 + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c="
532 + }
533 + }
534 + },
535 + "is-promise": {
536 + "version": "2.2.2",
537 + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
538 + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
539 + },
540 + "is-regex": {
541 + "version": "1.0.5",
542 + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
543 + "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
544 + "requires": {
545 + "has": "^1.0.3"
546 + }
547 + },
548 + "isarray": {
549 + "version": "1.0.0",
550 + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
551 + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
552 + },
553 + "jake": {
554 + "version": "10.6.1",
555 + "resolved": "https://registry.npmjs.org/jake/-/jake-10.6.1.tgz",
556 + "integrity": "sha512-pHUK3+V0BjOb1XSi95rbBksrMdIqLVC9bJqDnshVyleYsET3H0XAq+3VB2E3notcYvv4wRdRHn13p7vobG+wfQ==",
557 + "requires": {
558 + "async": "0.9.x",
559 + "chalk": "^2.4.2",
560 + "filelist": "^1.0.1",
561 + "minimatch": "^3.0.4"
562 + }
563 + },
564 + "js-stringify": {
565 + "version": "1.0.2",
566 + "resolved": "https://registry.npmjs.org/js-stringify/-/js-stringify-1.0.2.tgz",
567 + "integrity": "sha1-Fzb939lyTyijaCrcYjCufk6Weds="
568 + },
569 + "jstransformer": {
570 + "version": "1.0.0",
571 + "resolved": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz",
572 + "integrity": "sha1-7Yvwkh4vPx7U1cGkT2hwntJHIsM=",
573 + "requires": {
574 + "is-promise": "^2.0.0",
575 + "promise": "^7.0.1"
576 + }
577 + },
578 + "kind-of": {
579 + "version": "3.2.2",
580 + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
581 + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
582 + "requires": {
583 + "is-buffer": "^1.1.5"
584 + }
585 + },
586 + "lazy-cache": {
587 + "version": "1.0.4",
588 + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz",
589 + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4="
590 + },
591 + "lodash": {
592 + "version": "4.17.15",
593 + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
594 + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
595 + },
596 + "longest": {
597 + "version": "1.0.1",
598 + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
599 + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc="
600 + },
601 + "media-typer": {
602 + "version": "0.3.0",
603 + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
604 + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
605 + },
606 + "merge-descriptors": {
607 + "version": "1.0.1",
608 + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
609 + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
610 + },
611 + "methods": {
612 + "version": "1.1.2",
613 + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
614 + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
615 + },
616 + "mime": {
617 + "version": "1.4.1",
618 + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
619 + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ=="
620 + },
621 + "mime-db": {
622 + "version": "1.44.0",
623 + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
624 + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
625 + },
626 + "mime-types": {
627 + "version": "2.1.27",
628 + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
629 + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
630 + "requires": {
631 + "mime-db": "1.44.0"
632 + }
633 + },
634 + "minimatch": {
635 + "version": "3.0.4",
636 + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
637 + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
638 + "requires": {
639 + "brace-expansion": "^1.1.7"
640 + }
641 + },
642 + "morgan": {
643 + "version": "1.9.1",
644 + "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.9.1.tgz",
645 + "integrity": "sha512-HQStPIV4y3afTiCYVxirakhlCfGkI161c76kKFca7Fk1JusM//Qeo1ej2XaMniiNeaZklMVrh3vTtIzpzwbpmA==",
646 + "requires": {
647 + "basic-auth": "~2.0.0",
648 + "debug": "2.6.9",
649 + "depd": "~1.1.2",
650 + "on-finished": "~2.3.0",
651 + "on-headers": "~1.0.1"
652 + }
653 + },
654 + "ms": {
655 + "version": "2.0.0",
656 + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
657 + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
658 + },
659 + "mysql": {
660 + "version": "2.18.1",
661 + "resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz",
662 + "integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==",
663 + "requires": {
664 + "bignumber.js": "9.0.0",
665 + "readable-stream": "2.3.7",
666 + "safe-buffer": "5.1.2",
667 + "sqlstring": "2.3.1"
668 + }
669 + },
670 + "negotiator": {
671 + "version": "0.6.2",
672 + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
673 + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
674 + },
675 + "object-assign": {
676 + "version": "4.1.1",
677 + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
678 + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
679 + },
680 + "on-finished": {
681 + "version": "2.3.0",
682 + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
683 + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=",
684 + "requires": {
685 + "ee-first": "1.1.1"
686 + }
687 + },
688 + "on-headers": {
689 + "version": "1.0.2",
690 + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
691 + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA=="
692 + },
693 + "parseurl": {
694 + "version": "1.3.3",
695 + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
696 + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
697 + },
698 + "passport": {
699 + "version": "0.4.1",
700 + "resolved": "https://registry.npmjs.org/passport/-/passport-0.4.1.tgz",
701 + "integrity": "sha512-IxXgZZs8d7uFSt3eqNjM9NQ3g3uQCW5avD8mRNoXV99Yig50vjuaez6dQK2qC0kVWPRTujxY0dWgGfT09adjYg==",
702 + "requires": {
703 + "passport-strategy": "1.x.x",
704 + "pause": "0.0.1"
705 + }
706 + },
707 + "passport-strategy": {
708 + "version": "1.0.0",
709 + "resolved": "https://registry.npmjs.org/passport-strategy/-/passport-strategy-1.0.0.tgz",
710 + "integrity": "sha1-tVOaqPwiWj0a0XlHbd8ja0QPUuQ="
711 + },
712 + "path-parse": {
713 + "version": "1.0.6",
714 + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
715 + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
716 + },
717 + "path-to-regexp": {
718 + "version": "0.1.7",
719 + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
720 + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
721 + },
722 + "pause": {
723 + "version": "0.0.1",
724 + "resolved": "https://registry.npmjs.org/pause/-/pause-0.0.1.tgz",
725 + "integrity": "sha1-HUCLP9t2kjuVQ9lvtMnf1TXZy10="
726 + },
727 + "process-nextick-args": {
728 + "version": "2.0.1",
729 + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
730 + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
731 + },
732 + "promise": {
733 + "version": "7.3.1",
734 + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
735 + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
736 + "requires": {
737 + "asap": "~2.0.3"
738 + }
739 + },
740 + "proxy-addr": {
741 + "version": "2.0.6",
742 + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
743 + "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
744 + "requires": {
745 + "forwarded": "~0.1.2",
746 + "ipaddr.js": "1.9.1"
747 + }
748 + },
749 + "pug": {
750 + "version": "2.0.0-beta11",
751 + "resolved": "https://registry.npmjs.org/pug/-/pug-2.0.0-beta11.tgz",
752 + "integrity": "sha1-Favmr1AEx+LPRhPksnRlyVRrXwE=",
753 + "requires": {
754 + "pug-code-gen": "^1.1.1",
755 + "pug-filters": "^2.1.1",
756 + "pug-lexer": "^3.0.0",
757 + "pug-linker": "^2.0.2",
758 + "pug-load": "^2.0.5",
759 + "pug-parser": "^2.0.2",
760 + "pug-runtime": "^2.0.3",
761 + "pug-strip-comments": "^1.0.2"
762 + }
763 + },
764 + "pug-attrs": {
765 + "version": "2.0.4",
766 + "resolved": "https://registry.npmjs.org/pug-attrs/-/pug-attrs-2.0.4.tgz",
767 + "integrity": "sha512-TaZ4Z2TWUPDJcV3wjU3RtUXMrd3kM4Wzjbe3EWnSsZPsJ3LDI0F3yCnf2/W7PPFF+edUFQ0HgDL1IoxSz5K8EQ==",
768 + "requires": {
769 + "constantinople": "^3.0.1",
770 + "js-stringify": "^1.0.1",
771 + "pug-runtime": "^2.0.5"
772 + }
773 + },
774 + "pug-code-gen": {
775 + "version": "1.1.1",
776 + "resolved": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-1.1.1.tgz",
777 + "integrity": "sha1-HPcnRO8qA56uajNAyqoRBYcSWOg=",
778 + "requires": {
779 + "constantinople": "^3.0.1",
780 + "doctypes": "^1.1.0",
781 + "js-stringify": "^1.0.1",
782 + "pug-attrs": "^2.0.2",
783 + "pug-error": "^1.3.2",
784 + "pug-runtime": "^2.0.3",
785 + "void-elements": "^2.0.1",
786 + "with": "^5.0.0"
787 + }
788 + },
789 + "pug-error": {
790 + "version": "1.3.3",
791 + "resolved": "https://registry.npmjs.org/pug-error/-/pug-error-1.3.3.tgz",
792 + "integrity": "sha512-qE3YhESP2mRAWMFJgKdtT5D7ckThRScXRwkfo+Erqga7dyJdY3ZquspprMCj/9sJ2ijm5hXFWQE/A3l4poMWiQ=="
793 + },
794 + "pug-filters": {
795 + "version": "2.1.5",
796 + "resolved": "https://registry.npmjs.org/pug-filters/-/pug-filters-2.1.5.tgz",
797 + "integrity": "sha512-xkw71KtrC4sxleKiq+cUlQzsiLn8pM5+vCgkChW2E6oNOzaqTSIBKIQ5cl4oheuDzvJYCTSYzRaVinMUrV4YLQ==",
798 + "requires": {
799 + "clean-css": "^3.3.0",
800 + "constantinople": "^3.0.1",
801 + "jstransformer": "1.0.0",
802 + "pug-error": "^1.3.2",
803 + "pug-walk": "^1.1.5",
804 + "resolve": "^1.1.6",
805 + "uglify-js": "^2.6.1"
806 + }
807 + },
808 + "pug-lexer": {
809 + "version": "3.1.0",
810 + "resolved": "https://registry.npmjs.org/pug-lexer/-/pug-lexer-3.1.0.tgz",
811 + "integrity": "sha1-/QhzdtSmdbT1n4/vQiiDQ06VgaI=",
812 + "requires": {
813 + "character-parser": "^2.1.1",
814 + "is-expression": "^3.0.0",
815 + "pug-error": "^1.3.2"
816 + }
817 + },
818 + "pug-linker": {
819 + "version": "2.0.3",
820 + "resolved": "https://registry.npmjs.org/pug-linker/-/pug-linker-2.0.3.tgz",
821 + "integrity": "sha1-szH/olc33eacEntWwQ/xf652bco=",
822 + "requires": {
823 + "pug-error": "^1.3.2",
824 + "pug-walk": "^1.1.2"
825 + }
826 + },
827 + "pug-load": {
828 + "version": "2.0.12",
829 + "resolved": "https://registry.npmjs.org/pug-load/-/pug-load-2.0.12.tgz",
830 + "integrity": "sha512-UqpgGpyyXRYgJs/X60sE6SIf8UBsmcHYKNaOccyVLEuT6OPBIMo6xMPhoJnqtB3Q3BbO4Z3Bjz5qDsUWh4rXsg==",
831 + "requires": {
832 + "object-assign": "^4.1.0",
833 + "pug-walk": "^1.1.8"
834 + }
835 + },
836 + "pug-parser": {
837 + "version": "2.0.2",
838 + "resolved": "https://registry.npmjs.org/pug-parser/-/pug-parser-2.0.2.tgz",
839 + "integrity": "sha1-U6aAz9BQOdywwn0CkJS8SnkmibA=",
840 + "requires": {
841 + "pug-error": "^1.3.2",
842 + "token-stream": "0.0.1"
843 + }
844 + },
845 + "pug-runtime": {
846 + "version": "2.0.5",
847 + "resolved": "https://registry.npmjs.org/pug-runtime/-/pug-runtime-2.0.5.tgz",
848 + "integrity": "sha512-P+rXKn9un4fQY77wtpcuFyvFaBww7/91f3jHa154qU26qFAnOe6SW1CbIDcxiG5lLK9HazYrMCCuDvNgDQNptw=="
849 + },
850 + "pug-strip-comments": {
851 + "version": "1.0.4",
852 + "resolved": "https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-1.0.4.tgz",
853 + "integrity": "sha512-i5j/9CS4yFhSxHp5iKPHwigaig/VV9g+FgReLJWWHEHbvKsbqL0oP/K5ubuLco6Wu3Kan5p7u7qk8A4oLLh6vw==",
854 + "requires": {
855 + "pug-error": "^1.3.3"
856 + }
857 + },
858 + "pug-walk": {
859 + "version": "1.1.8",
860 + "resolved": "https://registry.npmjs.org/pug-walk/-/pug-walk-1.1.8.tgz",
861 + "integrity": "sha512-GMu3M5nUL3fju4/egXwZO0XLi6fW/K3T3VTgFQ14GxNi8btlxgT5qZL//JwZFm/2Fa64J/PNS8AZeys3wiMkVA=="
862 + },
863 + "qs": {
864 + "version": "6.5.2",
865 + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
866 + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
867 + },
868 + "random-bytes": {
869 + "version": "1.0.0",
870 + "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz",
871 + "integrity": "sha1-T2ih3Arli9P7lYSMMDJNt11kNgs="
872 + },
873 + "range-parser": {
874 + "version": "1.2.1",
875 + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
876 + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
877 + },
878 + "raw-body": {
879 + "version": "2.3.3",
880 + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.3.tgz",
881 + "integrity": "sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw==",
882 + "requires": {
883 + "bytes": "3.0.0",
884 + "http-errors": "1.6.3",
885 + "iconv-lite": "0.4.23",
886 + "unpipe": "1.0.0"
887 + }
888 + },
889 + "readable-stream": {
890 + "version": "2.3.7",
891 + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
892 + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
893 + "requires": {
894 + "core-util-is": "~1.0.0",
895 + "inherits": "~2.0.3",
896 + "isarray": "~1.0.0",
897 + "process-nextick-args": "~2.0.0",
898 + "safe-buffer": "~5.1.1",
899 + "string_decoder": "~1.1.1",
900 + "util-deprecate": "~1.0.1"
901 + }
902 + },
903 + "regenerator-runtime": {
904 + "version": "0.11.1",
905 + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
906 + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
907 + },
908 + "repeat-string": {
909 + "version": "1.6.1",
910 + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
911 + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc="
912 + },
913 + "resolve": {
914 + "version": "1.17.0",
915 + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
916 + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
917 + "requires": {
918 + "path-parse": "^1.0.6"
919 + }
920 + },
921 + "right-align": {
922 + "version": "0.1.3",
923 + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz",
924 + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=",
925 + "requires": {
926 + "align-text": "^0.1.1"
927 + }
928 + },
929 + "safe-buffer": {
930 + "version": "5.1.2",
931 + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
932 + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
933 + },
934 + "safer-buffer": {
935 + "version": "2.1.2",
936 + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
937 + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
938 + },
939 + "send": {
940 + "version": "0.16.2",
941 + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
942 + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
943 + "requires": {
944 + "debug": "2.6.9",
945 + "depd": "~1.1.2",
946 + "destroy": "~1.0.4",
947 + "encodeurl": "~1.0.2",
948 + "escape-html": "~1.0.3",
949 + "etag": "~1.8.1",
950 + "fresh": "0.5.2",
951 + "http-errors": "~1.6.2",
952 + "mime": "1.4.1",
953 + "ms": "2.0.0",
954 + "on-finished": "~2.3.0",
955 + "range-parser": "~1.2.0",
956 + "statuses": "~1.4.0"
957 + }
958 + },
959 + "serve-static": {
960 + "version": "1.13.2",
961 + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
962 + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
963 + "requires": {
964 + "encodeurl": "~1.0.2",
965 + "escape-html": "~1.0.3",
966 + "parseurl": "~1.3.2",
967 + "send": "0.16.2"
968 + }
969 + },
970 + "setprototypeof": {
971 + "version": "1.1.0",
972 + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
973 + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ=="
974 + },
975 + "source-map": {
976 + "version": "0.4.4",
977 + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
978 + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
979 + "requires": {
980 + "amdefine": ">=0.0.4"
981 + }
982 + },
983 + "sqlstring": {
984 + "version": "2.3.1",
985 + "resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
986 + "integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A="
987 + },
988 + "statuses": {
989 + "version": "1.4.0",
990 + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
991 + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew=="
992 + },
993 + "string_decoder": {
994 + "version": "1.1.1",
995 + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
996 + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
997 + "requires": {
998 + "safe-buffer": "~5.1.0"
999 + }
1000 + },
1001 + "supports-color": {
1002 + "version": "5.5.0",
1003 + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1004 + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1005 + "requires": {
1006 + "has-flag": "^3.0.0"
1007 + }
1008 + },
1009 + "to-fast-properties": {
1010 + "version": "1.0.3",
1011 + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
1012 + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc="
1013 + },
1014 + "token-stream": {
1015 + "version": "0.0.1",
1016 + "resolved": "https://registry.npmjs.org/token-stream/-/token-stream-0.0.1.tgz",
1017 + "integrity": "sha1-zu78cXp2xDFvEm0LnbqlXX598Bo="
1018 + },
1019 + "type-is": {
1020 + "version": "1.6.18",
1021 + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
1022 + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
1023 + "requires": {
1024 + "media-typer": "0.3.0",
1025 + "mime-types": "~2.1.24"
1026 + }
1027 + },
1028 + "uglify-js": {
1029 + "version": "2.8.29",
1030 + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz",
1031 + "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=",
1032 + "requires": {
1033 + "source-map": "~0.5.1",
1034 + "uglify-to-browserify": "~1.0.0",
1035 + "yargs": "~3.10.0"
1036 + },
1037 + "dependencies": {
1038 + "source-map": {
1039 + "version": "0.5.7",
1040 + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
1041 + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
1042 + }
1043 + }
1044 + },
1045 + "uglify-to-browserify": {
1046 + "version": "1.0.2",
1047 + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz",
1048 + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=",
1049 + "optional": true
1050 + },
1051 + "uid-safe": {
1052 + "version": "2.1.5",
1053 + "resolved": "https://registry.npmjs.org/uid-safe/-/uid-safe-2.1.5.tgz",
1054 + "integrity": "sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA==",
1055 + "requires": {
1056 + "random-bytes": "~1.0.0"
1057 + }
1058 + },
1059 + "unpipe": {
1060 + "version": "1.0.0",
1061 + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
1062 + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
1063 + },
1064 + "util-deprecate": {
1065 + "version": "1.0.2",
1066 + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1067 + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
1068 + },
1069 + "utils-merge": {
1070 + "version": "1.0.1",
1071 + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
1072 + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
1073 + },
1074 + "vary": {
1075 + "version": "1.1.2",
1076 + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
1077 + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
1078 + },
1079 + "void-elements": {
1080 + "version": "2.0.1",
1081 + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-2.0.1.tgz",
1082 + "integrity": "sha1-wGavtYK7HLQSjWDqkjkulNXp2+w="
1083 + },
1084 + "window-size": {
1085 + "version": "0.1.0",
1086 + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz",
1087 + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0="
1088 + },
1089 + "with": {
1090 + "version": "5.1.1",
1091 + "resolved": "https://registry.npmjs.org/with/-/with-5.1.1.tgz",
1092 + "integrity": "sha1-+k2qktrzLE6pTtRTyB8EaGtXXf4=",
1093 + "requires": {
1094 + "acorn": "^3.1.0",
1095 + "acorn-globals": "^3.0.0"
1096 + }
1097 + },
1098 + "wordwrap": {
1099 + "version": "0.0.2",
1100 + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz",
1101 + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8="
1102 + },
1103 + "yargs": {
1104 + "version": "3.10.0",
1105 + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
1106 + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=",
1107 + "requires": {
1108 + "camelcase": "^1.0.2",
1109 + "cliui": "^2.1.0",
1110 + "decamelize": "^1.0.0",
1111 + "window-size": "0.1.0"
1112 + }
1113 + }
1114 + }
1115 +}
1 +{
2 + "name": "backend",
3 + "version": "0.0.0",
4 + "private": true,
5 + "scripts": {
6 + "start": "node ./bin/www"
7 + },
8 + "dependencies": {
9 + "cookie-parser": "~1.4.4",
10 + "crypto-js": "^4.0.0",
11 + "debug": "~2.6.9",
12 + "ejs": "^3.1.3",
13 + "express": "~4.16.1",
14 + "express-session": "^1.17.1",
15 + "http-errors": "~1.6.3",
16 + "morgan": "~1.9.1",
17 + "mysql": "^2.18.1",
18 + "passport": "^0.4.1",
19 + "pug": "2.0.0-beta11"
20 + }
21 +}
This diff could not be displayed because it is too large.
No preview for this file type
1 +<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>dropbox_proto</title><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css><link href=/css/chunk-vendors.ebbf66b1.css rel=preload as=style><link href=/js/app.c164ba17.js rel=preload as=script><link href=/js/chunk-vendors.82cf367e.js rel=preload as=script><link href=/css/chunk-vendors.ebbf66b1.css rel=stylesheet></head><body><noscript><strong>We're sorry but dropbox_proto doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.82cf367e.js></script><script src=/js/app.c164ba17.js></script></body></html>
...\ No newline at end of file ...\ No newline at end of file
1 +(function(t){function e(e){for(var i,r,l=e[0],s=e[1],c=e[2],v=0,d=[];v<l.length;v++)r=l[v],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&d.push(n[r][0]),n[r]=0;for(i in s)Object.prototype.hasOwnProperty.call(s,i)&&(t[i]=s[i]);m&&m(e);while(d.length)d.shift()();return o.push.apply(o,c||[]),a()}function a(){for(var t,e=0;e<o.length;e++){for(var a=o[e],i=!0,l=1;l<a.length;l++){var s=a[l];0!==n[s]&&(i=!1)}i&&(o.splice(e--,1),t=r(r.s=a[0]))}return t}var i={},n={app:0},o=[];function r(e){if(i[e])return i[e].exports;var a=i[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=t,r.c=i,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(a,i,function(e){return t[e]}.bind(null,i));return a},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/";var l=window["webpackJsonp"]=window["webpackJsonp"]||[],s=l.push.bind(l);l.push=e,l=l.slice();for(var c=0;c<l.length;c++)e(l[c]);var m=s;o.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"56d7":function(t,e,a){"use strict";a.r(e);a("e260"),a("e6cf"),a("cca6"),a("a79d");var i=a("2b0e"),n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tool-view")},o=[],r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-app",{attrs:{id:"inspire"}},[a("v-navigation-drawer",{attrs:{clipped:t.$vuetify.breakpoint.lgAndUp,app:""},model:{value:t.drawer,callback:function(e){t.drawer=e},expression:"drawer"}},[a("v-list",{attrs:{dense:""}},[a("v-list-item",{attrs:{router:"",to:{name:"Main"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-home")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("홈")])],1)],1),a("v-list-item",{attrs:{router:"",to:{name:"File"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-file")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("파일")])],1)],1),a("v-list-item",{attrs:{router:"",to:{name:"Fav"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-heart")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("즐겨찾기")])],1)],1),a("v-list-item",{attrs:{router:"",to:{name:"Quick"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-history")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("빠른 액세스")])],1)],1),a("v-list-item",{attrs:{router:"",to:{name:"Contact"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-contacts")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("연락처")])],1)],1),a("v-list-item",{attrs:{router:"",to:{name:"Main"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-settings")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("설정")])],1)],1),a("v-list-item",[a("v-list-item-action",[a("v-icon",[t._v("mdi-delete")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("휴지통")])],1)],1),a("v-list-item",{attrs:{router:"",to:{name:"Feedback"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-message")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("피드백")])],1)],1),a("v-list-item",{attrs:{router:"",to:{name:"Main"},exact:""}},[a("v-list-item-action",[a("v-icon",[t._v("mdi-help-circle")])],1),a("v-list-item-content",[a("v-list-item-title",[t._v("도움말")])],1)],1)],1)],1),a("v-app-bar",{attrs:{"clipped-left":t.$vuetify.breakpoint.lgAndUp,app:"",color:"blue darken-3",dark:""}},[a("v-app-bar-nav-icon",{on:{click:function(e){e.stopPropagation(),t.drawer=!t.drawer}}}),a("v-toolbar-title",{staticClass:"ml-0 pl-4",staticStyle:{width:"300px"}},[a("span",{staticClass:"hidden-sm-and-down"},[t._v("KhuLoud")])]),a("v-text-field",{staticClass:"hidden-sm-and-down",attrs:{flat:"","solo-inverted":"","hide-details":"","prepend-inner-icon":"mdi-magnify",label:"전체 검색"}}),a("v-spacer"),a("v-btn",{attrs:{icon:""},on:{click:function(e){return t.$router.push({name:"Login"})}}},[a("v-icon",[t._v("mdi-login")])],1),a("v-btn",{attrs:{icon:""}},[a("v-icon",[t._v("mdi-bell")])],1)],1),a("v-content",[a("v-container",[a("router-view")],1)],1),a("v-btn",{attrs:{bottom:"",color:"pink",dark:"",fab:"",fixed:"",right:""},on:{click:function(e){t.dialog=!t.dialog}}},[a("v-icon",[t._v("mdi-plus")])],1),a("v-dialog",{attrs:{width:"800px"},model:{value:t.dialog,callback:function(e){t.dialog=e},expression:"dialog"}},[a("v-card",[a("v-card-title",{staticClass:"grey darken-2"},[t._v(" Create contact ")]),a("v-container",[a("v-row",{staticClass:"mx-2"},[a("v-col",{staticClass:"align-center justify-space-between",attrs:{cols:"12"}},[a("v-row",{staticClass:"mr-0",attrs:{align:"center"}},[a("v-avatar",{staticClass:"mx-3",attrs:{size:"40px"}},[a("img",{attrs:{src:"//ssl.gstatic.com/s2/oz/images/sge/grey_silhouette.png",alt:""}})]),a("v-text-field",{attrs:{placeholder:"Name"}})],1)],1),a("v-col",{attrs:{cols:"6"}},[a("v-text-field",{attrs:{"prepend-icon":"mdi-account-card-details-outline",placeholder:"Company"}})],1),a("v-col",{attrs:{cols:"6"}},[a("v-text-field",{attrs:{placeholder:"Job title"}})],1),a("v-col",{attrs:{cols:"12"}},[a("v-text-field",{attrs:{"prepend-icon":"mdi-mail",placeholder:"Email"}})],1),a("v-col",{attrs:{cols:"12"}},[a("v-text-field",{attrs:{type:"tel","prepend-icon":"mdi-phone",placeholder:"(000) 000 - 0000"}})],1),a("v-col",{attrs:{cols:"12"}},[a("v-text-field",{attrs:{"prepend-icon":"mdi-text",placeholder:"Notes"}})],1)],1)],1),a("v-card-actions",[a("v-btn",{attrs:{text:"",color:"primary"}},[t._v("More")]),a("v-spacer"),a("v-btn",{attrs:{text:"",color:"primary"},on:{click:function(e){t.dialog=!1}}},[t._v("Cancel")]),a("v-btn",{attrs:{text:""},on:{click:function(e){t.dialog=!1}}},[t._v("Save")])],1)],1)],1)],1)},l=[],s={props:{source:String},data:function(){return{dialog:!1,drawer:null,items:[{icon:"mdi-home",text:"홈"},{icon:"mdi-file",text:"파일"},{icon:"mdi-heart",text:"즐겨찾기"},{icon:"mdi-history",text:"빠른 액세스"},{icon:"mdi-contacts",text:"연락처"},{icon:"mdi-settings",text:"설정"},{icon:"mdi-message",text:"피드백"},{icon:"mdi-help-circle",text:"도움말"}]}}},c=s,m=a("2877"),v=a("6544"),d=a.n(v),u=a("7496"),f=a("40dc"),p=a("5bc1"),b=a("8212"),_=a("8336"),x=a("b0af"),h=a("99d9"),V=a("62ad"),g=a("a523"),C=a("a75b"),y=a("169a"),k=a("132d"),w=a("8860"),P=a("da13"),T=a("1800"),I=a("5d23"),L=a("f774"),S=a("0fd9"),F=a("2fa4"),E=a("8654"),J=a("2a7f"),j=Object(m["a"])(c,r,l,!1,null,null,null),O=j.exports;d()(j,{VApp:u["a"],VAppBar:f["a"],VAppBarNavIcon:p["a"],VAvatar:b["a"],VBtn:_["a"],VCard:x["a"],VCardActions:h["a"],VCardTitle:h["c"],VCol:V["a"],VContainer:g["a"],VContent:C["a"],VDialog:y["a"],VIcon:k["a"],VList:w["a"],VListItem:P["a"],VListItemAction:T["a"],VListItemContent:I["a"],VListItemTitle:I["c"],VNavigationDrawer:L["a"],VRow:S["a"],VSpacer:F["a"],VTextField:E["a"],VToolbarTitle:J["a"]});var A={data:function(){return{}},components:{ToolView:O}},K=A,$=Object(m["a"])(K,n,o,!1,null,null,null),D=$.exports,B=a("8c4f"),R=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",[a("div",[a("h2",[t._v("안녕하세요!")]),a("br"),a("br")]),a("v-layout",{attrs:{column:""}},[a("v-flex",[a("v-layout",{attrs:{row:"",wrap:""}},[a("v-flex",{attrs:{xs6:""}},[a("v-flex",[a("h1",[t._v("파일")]),a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headers,items:t.desserts,"expand-icon":t.home,"items-per-page":5}}),a("v-spacer")],1),a("v-flex",[a("br"),a("v-divider"),a("br")],1),a("v-flex",[a("h1",[t._v("빠른액세스")]),a("v-simple-table",{scopedSlots:t._u([{key:"default",fn:function(){return[a("thead",[a("tr",[a("th",{staticClass:"text-left"},[t._v("Name")]),a("th",{staticClass:"text-left"},[t._v("Date")])])]),a("tbody",t._l(t.favorite,(function(e){return a("tr",{key:e.name},[a("td",[t._v(t._s(e.name))]),a("td",[t._v(t._s(e.date))])])})),0)]},proxy:!0}])}),a("v-divider")],1)],1),a("v-flex",[a("br"),a("v-divider"),a("br")],1),a("v-flex",{attrs:{xs6:""}},[a("h1",[t._v("즐겨찾기")]),a("v-simple-table",{scopedSlots:t._u([{key:"default",fn:function(){return[a("thead",[a("tr",[a("th",{staticClass:"text-left"},[t._v("Name")]),a("th",{staticClass:"text-left"},[t._v("Date")])])]),a("tbody",t._l(t.favorite,(function(e){return a("tr",{key:e.name},[a("td",[t._v(t._s(e.name))]),a("td",[t._v(t._s(e.date))])])})),0)]},proxy:!0}])}),a("v-divider")],1)],1)],1)],1)],1)},N=[],M={data:function(){return{headers:[{text:"Dessert (100g serving)",align:"start",sortable:!1,value:"name"},{text:"Calories",value:"calories"},{text:"Fat (g)",value:"fat"},{text:"Carbs (g)",value:"carbs"},{text:"Protein (g)",value:"protein"},{text:"Iron (%)",value:"iron"}],desserts:[{name:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4,iron:"1%",format:"dir"},{name:"Ice cream sandwich",calories:237,fat:9,carbs:37,protein:4.3,iron:"1%",format:"pdf"},{name:"Eclair",calories:262,fat:16,carbs:23,protein:6,iron:"7%",format:"file"},{name:"Cupcake",calories:305,fat:3.7,carbs:67,protein:4.3,iron:"8%",format:"dir"},{name:"Gingerbread",calories:356,fat:16,carbs:49,protein:3.9,iron:"16%",format:"pdf"},{name:"Jelly bean",calories:375,fat:0,carbs:94,protein:0,iron:"0%",format:"file"},{name:"Lollipop",calories:392,fat:.2,carbs:98,protein:0,iron:"2%",format:"dir"},{name:"Honeycomb",calories:408,fat:3.2,carbs:87,protein:6.5,iron:"45%",foramt:"file"},{name:"Donut",calories:452,fat:25,carbs:51,protein:4.9,iron:"22%",foramt:"pdf"},{name:"KitKat",calories:518,fat:26,carbs:65,protein:7,iron:"6%",foramt:"dir"}],favorite:[{name:"KitKat",date:"20.05.17"},{name:"Vuetify",date:"20.05.17"}]}}},z=M,U=a("8fea"),H=a("ce7e"),W=a("0e8f"),G=a("a722"),Y=a("1f4f"),Q=Object(m["a"])(z,R,N,!1,null,null,null),q=Q.exports;d()(Q,{VContainer:g["a"],VDataTable:U["a"],VDivider:H["a"],VFlex:W["a"],VLayout:G["a"],VSimpleTable:Y["a"],VSpacer:F["a"]});var X=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-app",{attrs:{id:"inspire"}},[a("v-content",[a("v-container",{staticClass:"fill-height",attrs:{fluid:""}},[a("v-row",{attrs:{align:"center",justify:"center"}},[a("v-col",{attrs:{cols:"12",sm:"8",md:"4"}},[a("v-card",{staticClass:"elevation-12"},[a("v-toolbar",{attrs:{color:"primary",dark:"",flat:""}},[a("v-toolbar-title",[t._v("KhuLoud")]),a("v-spacer"),a("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var i=e.on;return[a("v-btn",t._g({attrs:{href:t.source,icon:"",large:"",target:"_blank"}},i),[a("v-icon",[t._v("mdi-code-tags")])],1)]}}])},[a("span",[t._v("Source")])])],1),a("v-card-text",[a("v-form",[a("v-text-field",{attrs:{label:"Login",name:"login",type:"text"}}),a("v-text-field",{attrs:{id:"password",label:"Password",name:"password",type:"password"}})],1)],1),a("v-card-actions",[a("v-spacer"),a("v-btn",{attrs:{color:"primary"},on:{click:function(e){return t.$router.push({name:"RegistUser"})}}},[t._v("Regist")]),a("v-btn",{attrs:{color:"primary",router:"",to:{name:"Main"},exact:""}},[t._v("Login")])],1)],1)],1)],1)],1)],1)],1)},Z=[],tt={props:{source:String}},et=tt,at=a("4bd4"),it=a("71d9"),nt=a("3a2f"),ot=Object(m["a"])(et,X,Z,!1,null,null,null),rt=ot.exports;d()(ot,{VApp:u["a"],VBtn:_["a"],VCard:x["a"],VCardActions:h["a"],VCardText:h["b"],VCol:V["a"],VContainer:g["a"],VContent:C["a"],VForm:at["a"],VIcon:k["a"],VRow:S["a"],VSpacer:F["a"],VTextField:E["a"],VToolbar:it["a"],VToolbarTitle:J["a"],VTooltip:nt["a"]});var lt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",[a("div",[a("h2",[t._v("안녕하세요!")]),a("br"),a("br")]),a("v-layout",{attrs:{column:""}},[a("v-flex",[a("v-layout",{attrs:{row:"",wrap:""}},[a("v-flex",{attrs:{lg6:""}},[a("v-flex",[a("Filecard")],1),a("v-flex",[a("br"),a("br")])],1),a("v-flex",[a("br"),a("br")]),a("v-flex",{attrs:{lg6:""}},[a("Favlist")],1)],1)],1)],1),a("v-divider"),a("v-layout",{attrs:{column:""}},[a("v-flex",[a("v-toolbar",{attrs:{flat:""}},[a("v-toolbar-title",[t._v("빠른 액세스")]),a("v-spacer")],1),a("v-simple-table",{scopedSlots:t._u([{key:"default",fn:function(){return[a("thead",[a("tr",[a("th",{staticClass:"text-left"},[t._v("Name")]),a("th",{staticClass:"text-left"},[t._v("Date")])])]),a("tbody",t._l(t.favorite,(function(e){return a("tr",{key:e.name},[a("td",[t._v(t._s(e.name))]),a("td",[t._v(t._s(e.date))])])})),0)]},proxy:!0}])}),a("v-divider")],1)],1)],1)},st=[],ct=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-toolbar",{attrs:{flat:""}},[a("v-toolbar-title",[t._v("파일 ")]),a("v-spacer"),a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"파일 검색","single-line":"","hide-details":""},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})],1),a("v-list",{attrs:{"two-line":"",subheader:""}},[a("v-subheader",{attrs:{inset:""}},[t._v("Folders")]),t._l(t.items,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",[t._v(t._s(e.iconClass))])],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)})),a("v-divider",{attrs:{inset:""}}),a("v-subheader",{attrs:{inset:""}},[t._v("Files")]),t._l(t.items2,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",[t._v(" "+t._s(e.iconClass))])],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)}))],2),a("v-file-input",{attrs:{color:"deep-purple accent-4",counter:"",label:"업로드",multiple:"",placeholder:"파일을 화면으로 드래그앤 드롭 하거나, 이곳을 클릭하세요.","prepend-icon":"mdi-paperclip",outlined:"","show-size":1e3},scopedSlots:t._u([{key:"selection",fn:function(e){var i=e.index,n=e.text;return[i<2?a("v-chip",{attrs:{color:"deep-purple accent-4",dark:"",label:"",small:""}},[t._v(" "+t._s(n)+" ")]):2===i?a("span",{staticClass:"overline grey--text text--darken-3 mx-2"},[t._v(" +"+t._s(t.files.length-2)+" File(s) ")]):t._e()]}}]),model:{value:t.files,callback:function(e){t.files=e},expression:"files"}})],1)},mt=[],vt={data:function(){return{items:[{icon:"folder",iconClass:"mdi-folder",title:"Photos",subtitle:"Jan 9, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Recipes",subtitle:"Jan 17, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Work",subtitle:"Jan 28, 2014"}],items2:[{icon:"assignment",iconClass:"mdi-file",title:"Vacation itinerary",subtitle:"Jan 20, 2014"},{icon:"call_to_action",iconClass:"mdi-PdfBox",title:"Kitchen remodel",subtitle:"Jan 10, 2014"}]}}},dt=vt,ut=a("cc20"),ft=a("23a7"),pt=a("8270"),bt=a("e0c7"),_t=Object(m["a"])(dt,ct,mt,!1,null,null,null),xt=_t.exports;d()(_t,{VBtn:_["a"],VChip:ut["a"],VDivider:H["a"],VFileInput:ft["a"],VIcon:k["a"],VList:w["a"],VListItem:P["a"],VListItemAction:T["a"],VListItemAvatar:pt["a"],VListItemContent:I["a"],VListItemSubtitle:I["b"],VListItemTitle:I["c"],VSpacer:F["a"],VSubheader:bt["a"],VTextField:E["a"],VToolbar:it["a"],VToolbarTitle:J["a"]});var ht=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-card",{staticClass:"mx-auto",attrs:{"max-width":"98%"}},[a("v-toolbar",{attrs:{color:"light-blue",dark:""}},[a("v-toolbar-title",[t._v("즐겨찾기")]),a("v-spacer")],1),a("v-list",{attrs:{"two-line":"",subheader:""}},[t._l(t.items,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",{class:[e.iconClass],domProps:{textContent:t._s(e.icon)}})],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)})),t._l(t.items2,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",{class:[e.iconClass],domProps:{textContent:t._s(e.icon)}})],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)}))],2)],1)},Vt=[],gt={data:function(){return{items:[{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Photos",subtitle:"Jan 9, 2014"},{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Recipes",subtitle:"Jan 17, 2014"},{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Work",subtitle:"Jan 28, 2014"}],items2:[{icon:"assignment",iconClass:"blue white--text",title:"Vacation itinerary",subtitle:"Jan 20, 2014"},{icon:"call_to_action",iconClass:"amber white--text",title:"Kitchen remodel",subtitle:"Jan 10, 2014"}]}}},Ct=gt,yt=Object(m["a"])(Ct,ht,Vt,!1,null,null,null),kt=yt.exports;d()(yt,{VBtn:_["a"],VCard:x["a"],VIcon:k["a"],VList:w["a"],VListItem:P["a"],VListItemAction:T["a"],VListItemAvatar:pt["a"],VListItemContent:I["a"],VListItemSubtitle:I["b"],VListItemTitle:I["c"],VSpacer:F["a"],VToolbar:it["a"],VToolbarTitle:J["a"]});var wt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-card",{staticClass:"mx-auto",attrs:{"max-width":"98%"}},[a("v-toolbar",{attrs:{color:"light-blue",dark:""}},[a("v-toolbar-title",[t._v("파일")]),a("v-spacer")],1),a("v-list",{attrs:{"two-line":"",subheader:""}},[t._l(t.items,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",{class:[e.iconClass],domProps:{textContent:t._s(e.icon)}})],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)})),t._l(t.items2,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",{class:[e.iconClass],domProps:{textContent:t._s(e.icon)}})],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)}))],2)],1)},Pt=[],Tt={data:function(){return{items:[{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Photos",subtitle:"Jan 9, 2014"},{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Recipes",subtitle:"Jan 17, 2014"},{icon:"folder",iconClass:"grey lighten-1 white--text",title:"Work",subtitle:"Jan 28, 2014"}],items2:[{icon:"assignment",iconClass:"blue white--text",title:"Vacation itinerary",subtitle:"Jan 20, 2014"},{icon:"call_to_action",iconClass:"amber white--text",title:"Kitchen remodel",subtitle:"Jan 10, 2014"}]}}},It=Tt,Lt=Object(m["a"])(It,wt,Pt,!1,null,null,null),St=Lt.exports;d()(Lt,{VBtn:_["a"],VCard:x["a"],VIcon:k["a"],VList:w["a"],VListItem:P["a"],VListItemAction:T["a"],VListItemAvatar:pt["a"],VListItemContent:I["a"],VListItemSubtitle:I["b"],VListItemTitle:I["c"],VSpacer:F["a"],VToolbar:it["a"],VToolbarTitle:J["a"]});var Ft={components:{FileList:xt,Favlist:kt,Filecard:St},data:function(){return{headers:[{text:"Dessert (100g serving)",align:"start",sortable:!1,value:"name"},{text:"Calories",value:"calories"},{text:"Fat (g)",value:"fat"},{text:"Carbs (g)",value:"carbs"},{text:"Protein (g)",value:"protein"},{text:"Iron (%)",value:"iron"}],desserts:[{name:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4,iron:"1%",format:"dir"},{name:"Ice cream sandwich",calories:237,fat:9,carbs:37,protein:4.3,iron:"1%",format:"pdf"},{name:"Eclair",calories:262,fat:16,carbs:23,protein:6,iron:"7%",format:"file"},{name:"Cupcake",calories:305,fat:3.7,carbs:67,protein:4.3,iron:"8%",format:"dir"},{name:"Gingerbread",calories:356,fat:16,carbs:49,protein:3.9,iron:"16%",format:"pdf"},{name:"Jelly bean",calories:375,fat:0,carbs:94,protein:0,iron:"0%",format:"file"},{name:"Lollipop",calories:392,fat:.2,carbs:98,protein:0,iron:"2%",format:"dir"},{name:"Honeycomb",calories:408,fat:3.2,carbs:87,protein:6.5,iron:"45%",foramt:"file"},{name:"Donut",calories:452,fat:25,carbs:51,protein:4.9,iron:"22%",foramt:"pdf"},{name:"KitKat",calories:518,fat:26,carbs:65,protein:7,iron:"6%",foramt:"dir"}],favorite:[{name:"KitKat",date:"20.05.17"},{name:"Vuetify",date:"20.05.17"}]}}},Et=Ft,Jt=Object(m["a"])(Et,lt,st,!1,null,null,null),jt=Jt.exports;d()(Jt,{VContainer:g["a"],VDivider:H["a"],VFlex:W["a"],VLayout:G["a"],VSimpleTable:Y["a"],VSpacer:F["a"],VToolbar:it["a"],VToolbarTitle:J["a"]});var Ot=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("contact")},At=[],Kt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("v-card-title",[t._v(" 연락처 "),a("v-spacer"),a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"연락처 검색","single-line":"","hide-details":""},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})],1),a("v-data-table",{staticClass:"elevation-1",attrs:{headers:t.headers,items:t.desserts,"items-per-page":10}})],1)},$t=[],Dt={data:function(){return{headers:[{text:"Name",align:"start",sortable:!1,value:"name"},{text:"Phone",value:"Phone"},{text:"E-mail",value:"Email"},{text:"Added date",value:"date"}],desserts:[{name:"Frozen Yogurt",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Ice cream sandwich",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Eclair",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Cupcake",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Gingerbread",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Jelly bean",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Lollipop",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Honeycomb",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"Donut",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"},{name:"KitKat",Phone:"010-1111-1111",Email:"asdf@asdf.com",date:"2020-05-18"}]}}},Bt=Dt,Rt=Object(m["a"])(Bt,Kt,$t,!1,null,null,null),Nt=Rt.exports;d()(Rt,{VCardTitle:h["c"],VContainer:g["a"],VDataTable:U["a"],VSpacer:F["a"],VTextField:E["a"]});var Mt={components:{contact:Nt}},zt=Mt,Ut=Object(m["a"])(zt,Ot,At,!1,null,"74388183",null),Ht=Ut.exports,Wt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("FileList")],1)},Gt=[],Yt={components:{FileList:xt,Favlist:kt},data:function(){return{headers:[{text:"Dessert (100g serving)",align:"start",sortable:!1,value:"name"},{text:"Calories",value:"calories"},{text:"Fat (g)",value:"fat"},{text:"Carbs (g)",value:"carbs"},{text:"Protein (g)",value:"protein"},{text:"Iron (%)",value:"iron"}],desserts:[{name:"Frozen Yogurt",calories:159,fat:6,carbs:24,protein:4,iron:"1%",format:"dir"},{name:"Ice cream sandwich",calories:237,fat:9,carbs:37,protein:4.3,iron:"1%",format:"pdf"},{name:"Eclair",calories:262,fat:16,carbs:23,protein:6,iron:"7%",format:"file"},{name:"Cupcake",calories:305,fat:3.7,carbs:67,protein:4.3,iron:"8%",format:"dir"},{name:"Gingerbread",calories:356,fat:16,carbs:49,protein:3.9,iron:"16%",format:"pdf"},{name:"Jelly bean",calories:375,fat:0,carbs:94,protein:0,iron:"0%",format:"file"},{name:"Lollipop",calories:392,fat:.2,carbs:98,protein:0,iron:"2%",format:"dir"},{name:"Honeycomb",calories:408,fat:3.2,carbs:87,protein:6.5,iron:"45%",foramt:"file"},{name:"Donut",calories:452,fat:25,carbs:51,protein:4.9,iron:"22%",foramt:"pdf"},{name:"KitKat",calories:518,fat:26,carbs:65,protein:7,iron:"6%",foramt:"dir"}],favorite:[{name:"KitKat",date:"20.05.17"},{name:"Vuetify",date:"20.05.17"}]}}},Qt=Yt,qt=Object(m["a"])(Qt,Wt,Gt,!1,null,null,null),Xt=qt.exports;d()(qt,{VContainer:g["a"]});var Zt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-toolbar",{attrs:{flat:""}},[a("v-toolbar-title",[t._v("즐겨찾기")]),a("v-spacer"),a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"즐겨찾기 검색","single-line":"","hide-details":""},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})],1),a("v-list",{attrs:{"two-line":"",subheader:""}},[t._l(t.items,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",[t._v(t._s(e.iconClass))])],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)})),t._l(t.items2,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",[t._v(" "+t._s(e.iconClass))])],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)}))],2)],1)},te=[],ee={data:function(){return{items:[{icon:"folder",iconClass:"mdi-folder",title:"Photos",subtitle:"Jan 9, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Recipes",subtitle:"Jan 17, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Work",subtitle:"Jan 28, 2014"}],items2:[{icon:"assignment",iconClass:"mdi-file",title:"Vacation itinerary",subtitle:"Jan 20, 2014"},{icon:"call_to_action",iconClass:"mdi-PdfBox",title:"Kitchen remodel",subtitle:"Jan 10, 2014"}]}}},ae=ee,ie=Object(m["a"])(ae,Zt,te,!1,null,null,null),ne=ie.exports;d()(ie,{VBtn:_["a"],VIcon:k["a"],VList:w["a"],VListItem:P["a"],VListItemAction:T["a"],VListItemAvatar:pt["a"],VListItemContent:I["a"],VListItemSubtitle:I["b"],VListItemTitle:I["c"],VSpacer:F["a"],VTextField:E["a"],VToolbar:it["a"],VToolbarTitle:J["a"]});var oe=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-toolbar",{attrs:{flat:""}},[a("v-toolbar-title",[t._v("빠른액세스")]),a("v-spacer"),a("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"검색","single-line":"","hide-details":""},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})],1),a("v-list",{attrs:{"two-line":"",subheader:""}},[t._l(t.items,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",[t._v(t._s(e.iconClass))])],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)})),t._l(t.items2,(function(e){return a("v-list-item",{key:e.title,on:{click:function(t){}}},[a("v-list-item-avatar",[a("v-icon",[t._v(" "+t._s(e.iconClass))])],1),a("v-list-item-content",[a("v-list-item-title",{domProps:{textContent:t._s(e.title)}}),a("v-list-item-subtitle",{domProps:{textContent:t._s(e.subtitle)}})],1),a("v-list-item-action",[a("v-btn",{attrs:{icon:""}},[a("v-icon",{attrs:{color:"grey lighten-1"}},[t._v("mdi-information")])],1)],1)],1)}))],2)],1)},re=[],le={data:function(){return{items:[{icon:"folder",iconClass:"mdi-folder",title:"Photos",subtitle:"Jan 9, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Recipes",subtitle:"Jan 17, 2014"},{icon:"folder",iconClass:"mdi-folder",title:"Work",subtitle:"Jan 28, 2014"}],items2:[{icon:"assignment",iconClass:"mdi-file",title:"Vacation itinerary",subtitle:"Jan 20, 2014"},{icon:"call_to_action",iconClass:"mdi-PdfBox",title:"Kitchen remodel",subtitle:"Jan 10, 2014"}]}}},se=le,ce=Object(m["a"])(se,oe,re,!1,null,null,null),me=ce.exports;d()(ce,{VBtn:_["a"],VIcon:k["a"],VList:w["a"],VListItem:P["a"],VListItemAction:T["a"],VListItemAvatar:pt["a"],VListItemContent:I["a"],VListItemSubtitle:I["b"],VListItemTitle:I["c"],VSpacer:F["a"],VTextField:E["a"],VToolbar:it["a"],VToolbarTitle:J["a"]});var ve=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-app",[a("feedback")],1)},de=[],ue=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-card",[a("v-toolbar",{attrs:{flat:""}},[a("v-toolbar-title",[t._v("피드백 ")]),a("v-spacer")],1),a("v-divider"),a("v-form",[a("v-textarea",{attrs:{name:"input-7-1",filled:"",label:"아쉬웠던 점을 말씀해주세요. 칭찬도 당연히 환영입니다!","auto-grow":""}}),a("v-btn",{attrs:{large:"",color:"primary"}},[t._v("SUBMIT")])],1)],1)},fe=[],pe={data:function(){return{}}},be=pe,_e=a("a844"),xe=Object(m["a"])(be,ue,fe,!1,null,"2905bb4a",null),he=xe.exports;d()(xe,{VBtn:_["a"],VCard:x["a"],VDivider:H["a"],VForm:at["a"],VSpacer:F["a"],VTextarea:_e["a"],VToolbar:it["a"],VToolbarTitle:J["a"]});var Ve={components:{feedback:he}},ge=Ve,Ce=Object(m["a"])(ge,ve,de,!1,null,"5f640232",null),ye=Ce.exports;d()(Ce,{VApp:u["a"]});var ke=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-app",{attrs:{id:"inspire"}},[a("v-content",[a("v-container",{staticClass:"fill-height",attrs:{fluid:""}},[a("v-row",{attrs:{align:"center",justify:"center"}},[a("v-col",{attrs:{cols:"12",sm:"8",md:"4"}},[a("v-card",{staticClass:"elevation-12"},[a("v-toolbar",{attrs:{color:"primary",dark:"",flat:""}},[a("v-toolbar-title",[t._v("KhuLoud")]),a("v-spacer"),a("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var i=e.on;return[a("v-btn",t._g({attrs:{href:t.source,icon:"",large:"",target:"_blank"}},i),[a("v-icon",[t._v("mdi-code-tags")])],1)]}}])},[a("span",[t._v("Source")])])],1),a("v-card-text",[a("v-form",[a("v-text-field",{attrs:{label:"ID",name:"ID",type:"text"},model:{value:t.Id,callback:function(e){t.Id=e},expression:"Id"}}),a("v-text-field",{attrs:{label:"Password",name:"password",type:"password"},model:{value:t.Password,callback:function(e){t.Password=e},expression:"Password"}}),a("v-text-field",{attrs:{label:"Name",name:"name",type:"name"},model:{value:t.Name,callback:function(e){t.Name=e},expression:"Name"}}),a("v-text-field",{attrs:{label:"E-mail",rules:t.emailRules,name:"Email"},model:{value:t.email,callback:function(e){t.email=e},expression:"email"}})],1)],1),a("v-card-actions",[a("v-spacer"),a("v-btn",{attrs:{color:"primary"},on:{click:function(e){return t.$router.push({name:"Login"})}}},[t._v("Regist")])],1)],1)],1)],1)],1)],1)],1)},we=[],Pe={props:{source:String}},Te=Pe,Ie=Object(m["a"])(Te,ke,we,!1,null,null,null),Le=Ie.exports;d()(Ie,{VApp:u["a"],VBtn:_["a"],VCard:x["a"],VCardActions:h["a"],VCardText:h["b"],VCol:V["a"],VContainer:g["a"],VContent:C["a"],VForm:at["a"],VIcon:k["a"],VRow:S["a"],VSpacer:F["a"],VTextField:E["a"],VToolbar:it["a"],VToolbarTitle:J["a"],VTooltip:nt["a"]}),i["a"].use(B["a"]);var Se=new B["a"]({mode:"history",base:"/",routes:[{path:"/",name:"Home",component:q},{path:"/main",name:"Main",component:jt},{path:"/contact",name:"Contact",component:Ht},{path:"/RegistUser",name:"RegistUser",component:Le},{path:"/login",name:"Login",component:rt},{path:"/file",name:"File",component:Xt},{path:"/fav",name:"Fav",component:ne},{path:"/quick",name:"Quick",component:me},{path:"/feedback",name:"Feedback",component:ye}]}),Fe=a("2f62");i["a"].use(Fe["a"]);var Ee=new Fe["a"].Store({state:{},mutations:{},actions:{},modules:{}}),Je=a("f309");i["a"].use(Je["a"]);var je=new Je["a"]({});i["a"].config.productionTip=!1,new i["a"]({router:Se,store:Ee,vuetify:je,render:function(t){return t(D)}}).$mount("#app")}});
2 +//# sourceMappingURL=app.c164ba17.js.map
...\ No newline at end of file ...\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 +var express = require('express');
2 +var router = express.Router();
3 +
4 +/* GET users listing. */
5 +router.get('/', function(req, res, next) {
6 + console.log("login");
7 + // res.render('userlogin/main/dropbox');
8 +});
9 +
10 +router.get('/:user_id', function(req, res, next) {
11 + console.log(req.params.user_id);
12 + console.log("loginuser");
13 + // res.render('userlogin/main/dropbox',{user_id : req.params.user_id});
14 +});
15 +
16 +module.exports = router;
1 +var express = require('express');
2 +var router = express.Router();
3 +
4 +/* GET home page. */
5 +router.get('/', function(req, res, next) {
6 + res.render('index', { title: 'Express' });
7 +});
8 +
9 +module.exports = router;
1 +var mysql = require('mysql');
2 +
3 +connection = mysql.createConnection({
4 + host: '1.201.142.243',
5 + user: 'khuloud',
6 + port: 3306,
7 + password: 'password1234',
8 + database: 'khuloud',
9 + connectionLimit: 30
10 + });
...\ No newline at end of file ...\ No newline at end of file
1 +var crypto = require('crypto');
2 +const key = "cloud_computing";
3 +
4 +exports.cryptoHash = function(pw){
5 + var hash_num = crypto.createHash('sha1');
6 + hash_num.update(pw);
7 + return hash_num.digest('hex');
8 +};
9 +exports.encrypt = function(text){
10 + var cipher = crypto.createCipher('aes-256-cbc',key);
11 + var entext = cipher.update(text,'utf8','hex');
12 + entext += cipher.final('hex');
13 + return entext;
14 +};
15 +
16 +exports.decrypt = function(text){
17 + var decipher = crypto.createDecipher('aes-256-cbc',key);
18 + var detext = decipher.update(text,'hex','utf8');
19 + detext += decipher.final('utf8');
20 + return detext;
21 +};
22 +
1 +var express = require('express');
2 +var request = require('request');
3 +var async = require('async');
4 +var router = express.Router();
5 +var cryptoM = require('./../../routes/modules/cryptoM.js');
6 +
7 +router.get('/', function(req, res, next) {
8 + //
9 +});
10 +
11 +router.post('/', function(req, res, next) {
12 + var user_id=req.body.user_id;
13 + var user_pw=req.body.user_pw;
14 + var sqlquery = "SELECT * FROM users WHERE user_id = ?";
15 + connection.query(sqlquery, user_id,function (err, rows) {
16 + if (err) {
17 + console.log("no match");
18 + } else {
19 + var bytes =cryptoM.decrypt(rows[0].user_pw);
20 + if(bytes===user_pw) {
21 + console.log("user login successfully");
22 + req.session.user_id=rows[0].user_id;
23 + res.redirect('/main');
24 + }else{
25 + console.log("wrong password!");
26 + }
27 +
28 + }
29 + });
30 +});
31 +
32 +module.exports = router;
1 +var express = require('express');
2 +var request = require('request');
3 +var async = require('async');
4 +
5 +var cryptoM = require('./../../routes/modules/cryptoM.js');
6 +
7 +var router = express.Router();
8 +
9 +router.get('/', function(req, res, next) {
10 + // res.render('userlogin/register',{
11 + // msg: "register"
12 + // });
13 +});
14 +
15 +router.post('/', function(req, res, next) {
16 + console.log(req.body);
17 + var user_id=req.body.user_id;
18 + var user_pw=req.body.user_pw;
19 + var user_email=req.body.user_email;
20 + var user_name=req.body.user_name;
21 + // var user_phone=req.body.user_phone;
22 +
23 + var sqlquery = "SELECT * FROM users WHERE user_id = ?";
24 + connection.query(sqlquery, [user_id], function (err, rows) {
25 + if (rows.length == 0) {
26 + user_pw=cryptoM.encrypt(user_pw);
27 + console.log(user_pw);
28 + var sql = 'INSERT INTO users(user_id,user_pw, user_email, user_name) values (?,?,?,?)';
29 + var values = [user_id, user_pw, user_email, user_name];
30 + connection.query(sql, values, function (err) {
31 + if (err) {
32 + console.log("inserting user failed");
33 + throw err;
34 + } else {
35 + res.redirect('/login');
36 +
37 + }
38 + });
39 + } else {
40 + res.redirect("/login");
41 + throw err;
42 + }
43 + });
44 +});
45 +
46 +module.exports = router;
1 +var express = require('express');
2 +var request = require('request');
3 +var async = require('async');
4 +var router = express.Router();
5 +var CryptoJS = require("crypto-js");
6 +
7 +function get_my_info(id,cb){
8 + console.log("get_my_info");
9 + console.log(id);
10 + var sqlquery = "SELECT * FROM users WHERE user_id = ?";
11 + var myinfo= new Array();
12 + connection.query(sqlquery,id,function(err,rows){
13 + if(!err){
14 + myinfo=rows;
15 + console.log(myinfo);
16 + cb(myinfo);
17 + } else {
18 + console.log("내 정보를 가져오는데 실패했습니다!");
19 + res.send({result: false});
20 + //throw err;
21 + }
22 + });
23 +}
24 +
25 +router.get('/', function(req, res, next) {
26 + console.log(req.session.user_id);
27 + async.series(
28 + [
29 + function (callback) {
30 + get_my_info(req.session.user_id, function (myinfo_list) {
31 + callback(null, myinfo_list);
32 + });
33 + }
34 + ],
35 + function (err, results) {
36 + res.render('dropbox/user', {
37 + myinfo: results[0]
38 + });
39 + }
40 + );
41 + //}
42 +});
43 +
44 +
45 +module.exports = router;
1 +var express = require('express');
2 +var router = express.Router();
3 +
4 +/* GET users listing. */
5 +router.get('/', function(req, res, next) {
6 + res.send('respond with a resource');
7 +});
8 +
9 +module.exports = router;
1 +extends layout
2 +
3 +block content
4 + h1= message
5 + h2= error.status
6 + pre #{error.stack}
1 +extends layout
2 +
3 +block content
4 + h1= title
5 + p Welcome to #{title}
1 +doctype html
2 +html
3 + head
4 + title= title
5 + link(rel='stylesheet', href='/stylesheets/style.css')
6 + body
7 + block content
1 module.exports = { 1 module.exports = {
2 "transpileDependencies": [ 2 "transpileDependencies": [
3 "vuetify" 3 "vuetify"
4 - ] 4 + ],
5 + devServer: {
6 + proxy: {
7 + '/api': {
8 + target: 'http://localhost:3000/api',
9 + changeOrigin: true,
10 + pathRewrite: {
11 + '^/api': ''
12 + }
13 + }
14 + }
15 + },
16 + outputDir: '../backend/public',
5 } 17 }
......