Skip to content

Commit

Permalink
Remove frontend things
Browse files Browse the repository at this point in the history
  • Loading branch information
getogrand committed Apr 16, 2017
1 parent 034f044 commit 892d0a6
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 32 deletions.
6 changes: 0 additions & 6 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const express = require('express')
const path = require('path')
const morgan = require('morgan')
const cookieParser = require('cookie-parser')
const bodyParser = require('body-parser')
Expand Down Expand Up @@ -31,18 +30,13 @@ mongoose.Promise = global.Promise

const app = express()

// view engine setup
app.set('views', path.join(__dirname, 'views'))
app.set('view engine', 'pug')

if (config.useMorgan) {
app.use(morgan('dev'))
}

app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false }))
app.use(cookieParser())
app.use(express.static(path.join(__dirname, 'public')))

app.use('/api/mails', mails)

Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
"moment": "^2.18.0",
"mongoose": "^4.9.0",
"morgan": "~1.7.0",
"pug": "~2.0.0-beta10",
"serve-favicon": "~2.3.2",
"slack-winston": "0.0.7",
"winston": "^2.3.1"
},
Expand Down
6 changes: 0 additions & 6 deletions public/stylesheets/style.sass

This file was deleted.

6 changes: 0 additions & 6 deletions views/error.pug

This file was deleted.

5 changes: 0 additions & 5 deletions views/index.pug

This file was deleted.

7 changes: 0 additions & 7 deletions views/layout.pug

This file was deleted.

0 comments on commit 892d0a6

Please sign in to comment.