Billmike/More-Recipes

View on GitHub
server/bin/www.js

Summary

Maintainability
A
0 mins
Test Coverage
import http from 'http';
import app from '../app';

const port = parseInt(process.env.PORT, 10) || 8000;
app.set('port', port);

const server = http.createServer(app);
server.listen(port);