I have my routes defined in server.js file which is below -
const express = require("express"); const path = require("path"); //Creating