const express = require('express');
const app = express();
const manipulateString = require('./stringManipulator');

app.get('/:unix(\\d+)', (req, res) => {
  res.send(manipulateString(req.params.unix));
});

app.listen(8000);

const express = require('express');
const app = express();
const manipulateString = require('./stringManipulator');

app.get('/:string', (req, res) => {
  res.send(manipulateString(req.params.string));
});

app.listen(8000, () => console.log('App is running on http://localhost:8000'));

Implement routing for all strings