<prompt> Unda programu kamili ya wavuti kwa kutumia React na Express ambayo inaruhusu watumiaji kujisajili, kuingia na kudhibiti orodha ya kazi za kibinafsi. Majukumu yanapaswa kuhifadhiwa katika hifadhidata ya PostgreSQL, na watumiaji wanapaswa kuwa na uwezo wa kuongeza, kuhariri, kufuta na kutia alama kazi kuwa zimekamilika.PLINFORMAT  <response>: seva.jsconst express needexpress;const cors needcors;const path neednjia;const app express;app.usecors;app.useexpress.json; Njia za kuingizaconst authRoutes hitaji.routesauth;const taskRoutes hitaji.routestasks; Tumia njiaapp.useapiauth, authRoutes;app.useapitasks, TaskRoutes; Tumikia faili tuli kwa utengenezajiikiwa process.env.NODE_ENV uzalishaji app.useexpress.staticpath.join__dirname, dist; app.get, req, res res.sendFilepath.resolve__dirname, dist, index.html; ;const PORT process.env.PORT 5000;app.listenPORT, console.logSeva inayoendesha kwenye bandari PORT; webpack.config.jsconst path neednjia;const HtmlWebpackPlugin needhtml-webpack-plugin;module.exports ingizo: .clientindex.js, pato: njia: path.join__dirname, dist, jina la faili: bundle.js , moduli: kanuni: mtihani: .jsx?, ondoa: nodi_moduli, tumia: kipakiaji: babel-loader, chaguzi: mipangilio ya awali: babelpreset-env, babelpreset-react , jaribio: .css, tumia: style-loader, css-loader , programu-jalizi: HtmlWebpackPlugin mpya kiolezo: .clientindex.html , suluhisha: viendelezi: .js, .jsx ; .babelrc presets: babelpreset-env, babelpreset-react hati za kifurushi.jsonscripts: start: node server.js, dev: kwa wakati mmoja nodemon server.js webpack --mode development --watch, build: webpack --mode production 