Minimalist web framework for Node.js REST APIs
Express is the standard routing framework for Node.js, offering simple middleware structures to compile REST APIs.
const express = require('express');
const app = express();
app.get('/api', (req, res) => {
res.json({ success: true });
});
app.listen(3000);