const express = require('express'); const app = express(); const port = 3000; // You can use any available port app.get('/end1', (req, res) => { res.send('Hello world1!'); }); app.listen(port, () => { console.log(`Server running at http://localhost:${port}`); });