import express from 'express';
import { arr } from './index.js';
const app = express();
const port = 3000
app.get("/products", (req,res) => {
res.json(arr);
});
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})