<prompt> Tengeneza programu ya Node.js inayounganishwa na hifadhidata ya MongoDB, huhifadhi maelezo kuhusu filamu mbalimbali kichwa, mwongozaji, tarehe ya kutolewa, n.k., na hutoa shughuli za CRUD kupitia sehemu za mwisho za API za RESTful.PLINFORMAT  <response>: const express needexpress;const mongoose needmongoose;const bodyParser needbody-parser;const Movie hitaji.movie; Badilisha URL hii na kamba yako ya unganisho ya MongoDBconst mongoDBURL mongodb:localhost:27017moviesdb;mongoose.connectmongoDBURL, useNewUrlParser: true, useUnifiedTopology: true .then console.logImeunganishwa kwa MongoDB .catcherr console.errorHaikuweza kuunganisha kwa MongoDB, hitilafu;const app express;app.usebodyParser.json;const port process.env.PORT 3000;app.listenbandari, console.logKusikiliza kwenye bandari port...;; PATA sinema zoteapp.getapimovies, async req, res const movies wanasubiri Movie.find; tuma tenafilamu;; PATA filamu moja kwa kitambulishoapp.getapimovies:id, async req, res const movie await Movie.findByIdreq.params.id; ikiwa !filamu itarudisha hali.404.tumaFilamu haijapatikana; tuma tenafilamu;; POST filamu mpyaapp.postapimovies, async req, res const movie Filamu mpya kichwa: req.body.title, mkurugenzi: req.body.director, tarehe ya kutolewa: req.body.releaseTarehe, ; subiri filamu.hifadhi; tuma tenafilamu;; WEKA sasisha filamu iliyopoapp.putapimovies:id, async req, res const movie await Movie.findByIdAndUpdatereq.params.id, kichwa: req.body.title, mkurugenzi: req.body.director, tarehe ya kutolewa: req.body.releaseTarehe, , mpya: kweli; ikiwa !filamu itarudisha hali.404.tumaFilamu haijapatikana; tuma tenafilamu;; FUTA filamuapp.deleteapimovies:id, async req, res const movie await Movie.findByIdAndRemovereq.params.id; ikiwa !filamu itarudisha hali.404.tumaFilamu haijapatikana; tuma tenafilamu;; 