iris/_benchmarks/expressjs/app.js
kataras 15feaf0237 Update to version 8.5.5 | Read HISTORY.md
Former-commit-id: dced7d472edabbab4f80c76051f13261928a8dea
2017-11-02 05:54:33 +02:00

14 lines
334 B
JavaScript

process.env.NODE_ENV = 'production';
const express = require('express');
const app = express();
app.get('/api/values/:id', function (req, res) {
res.send('value');
});
app.listen(5000, function () {
console.log(
'Now listening on: http://localhost:5000\nApplication started. Press CTRL+C to shut down.'
)
});