server.js 211 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 const express = require('express'); const app = express(); const port = 5000; const test = require('../router/test'); app.use("/api", test); app.listen(port, ()=> console.log('Server is running on :', port));