<prompt> Unda Node.js RESTful API inayoauni shughuli za CRUD kwenye hifadhidata ya PostgreSQL. API inapaswa kushughulikia maombi ya kudhibiti huluki ya Task yenye sifa kama vile kichwa, maelezo, tarehe ya kukamilisha na hali.PLINFORMAT  <response>: const express needexpress;const bodyParser needbody-parser;const Task need.taskModel;const app express;app.usebodyParser.json; Pata kazi zoteapp.gettasks, async req, res const tasks await Task.getAll; res.jsonkazi;; Pata kazi kwa kitambulishoapp.gettasks:id, async req, res const task await Task.getByIdreq.params.id; res.jsonkazi;; Unda kazi mpyaapp.posttasks, async req, res const title, maelezo, tarehe_ya_kutarajiwa, hali req.body; const task subiri Task.createcheo, maelezo, tarehe_ya_kutarajiwa, hali; hali.status201.jsonkazi;; Sasisha kazi iliyopoapp.puttasks:id, async req, res const title, maelezo, tarehe_ya_kutarajiwa, hali req.body; const task subiri Task.updatereq.params.id, kichwa, maelezo, tarehe_ya_kutarajiwa, hali; res.jsonkazi;; Futa kaziapp.deletetasks:id, async req, res const task subiri Task.deletereq.params.id; res.jsonkazi;;const port process.env.PORT 3000;app.listenbandari, console.logSeva inayoendesha kwenye mlango wa port; 