import express from 'express';
import cors from 'cors';

import userToken from '../middleware/userToken';
import showAuth from '../actions/showAuth';

const app = express();

app.disable('x-powered-by');

app.use(cors());
app.use(userToken);
app.use(showAuth);

export default app;
