<prompt> Unda seva ya Node.js inayotumia mfumo wa Express na kuunganishwa na hifadhidata ya MongoDB. Seva inapaswa kufichua miisho RESTful ya kuunda, kusoma, kusasisha, na kufuta vipengee vya Task vyenye kichwa, maelezo, na sifa za tarehe ya kukamilisha.PLINFORMAT  <response>: javascriptconst express needexpress;const bodyParser needbody-parser;const mongoose needmongoose;const app express;app.usebodyParser.json; Unganisha kwa MongoDBmongoose.connectmongodb:localhost:27017task-manager, useNewUrlParser: kweli, useUnifiedTopology: kweli,;const db mongoose.unganisho;db.onkosa, console.error.bindconsole, hitilafu ya muunganisho:;db.mara mojafungua, console.logImeunganishwa kwa MongoDB;; Fafanua schema ya Kaziconst taskSchema new mongoose.Schema kichwa: kamba, maelezo: kamba, tarehe ya mwisho: Tarehe,;const Task mongoose.modelTask, taskSchema; Miisho yenye utulivuapp.posttasks, async req, res const task Kazi mpya req.body; subiri task.save; hali.asili201.tumakazi;;app.gettasks, async req, res const tasks subiri Task.find; tuma tena kazi;;app.gettasks:id, async req, res const task await Task.findByIdreq.params.id; ikiwa !task itarudisha res.sendStatus404; res.tumakazi;;app.puttasks:id, async req, res const task await Task.findByIdAndUpdatereq.params.id, req.body, mpya: true ; ikiwa !task itarudisha res.sendStatus404; res.tumakazi;;app.deletetasks:id, async req, res const task await Task.findByIdAndDeletereq.params.id; ikiwa !task itarudisha res.sendStatus404; res.sendStatus204;; Anzisha sevaconst port process.env.PORT 3000;app.listenbandari, console.logSeva inayoendesha kwenye bandari port;; 