First create an express app:
const express = require('express');
const app = express();
Then you can define routes like this:
app.get('/someUri', function (req, res, next) {})
That structure works for all HTTP methods, and expects a path as the first argument, and a handler for that path, w...