const express = require('express'); const app = express(); const port = 3000; app.get('/', (req, res) => { res.send('
Version 1.0.0
') }) app.get('/products', (req, res) =>{ res.send([ { productId: '1', price: 100 }, { productId: '2', price: 200 } ]) }) app.listen(port, ()=>{ console.log('Demmo app is up and listening to port: ${port}'); })