Commit f0fdf551 authored by nilanjandaw's avatar nilanjandaw

added logging

parent f4eac542
......@@ -8,10 +8,12 @@ const express = require('express')
const bodyParser = require('body-parser')
const fileUpload = require('express-fileupload');
const redis = require('redis')
const morgan = require('morgan')
let client = redis.createClient();
const app = express()
app.use(morgan('combined'))
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json())
app.use(fileUpload())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment