diff options
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -1,23 +0,0 @@ -const feathers = require('@feathersjs/feathers'); -const express = require('@feathersjs/express'); -const socketio = require('@feathersjs/socketio'); -const cors = require('cors') - -const services = require('./services'); - - -const app = express(feathers()); - -app.use(express.json()); -app.use(express.urlencoded({ extended: true })); -app.use(express.static(__dirname)); -app.use(express.errorHandler()); -app.use(cors()); - -app.configure(express.rest()); -app.configure(socketio()); -app.configure(services); - - -module.exports = app; - |