Junior — Middle
Which framework do you use most often in your work?
sobes.tech AI
Answer from AI
In my work with Node.js, I most often use the Express.js framework. It is lightweight, flexible, and allows for quick development of server applications and REST APIs. Here's an example of a simple server using Express:
const express = require('express');
const app = express();
app.get('/', (req, res) => {
res.send('Hello World!');
});
app.listen(3000, () => {
console.log('Server is running on port 3000');
});
Express is well-suited for most web development tasks on Node.js.