{"id":44879,"date":"2024-01-31T11:30:28","date_gmt":"2024-01-31T08:30:28","guid":{"rendered":"https:\/\/foxminded.ua\/?p=44879"},"modified":"2024-01-31T11:30:30","modified_gmt":"2024-01-31T08:30:30","slug":"express-js","status":"publish","type":"post","link":"https:\/\/foxminded.ua\/ru\/express-js\/","title":{"rendered":"\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c Express.js"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Express.js \u2014 \u044d\u0442\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f Node.js, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0435\u0431- \u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. Express.js \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 API Node.js, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0418\u0441\u0442\u043e\u0440\u0438\u044f Express.js \u043d\u0430\u0447\u0430\u043b\u0430\u0441\u044c \u0441\u043e \u0441\u0442\u0440\u0435\u043c\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0433\u0438\u0431\u043a\u0438\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f Node.js, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u0441\u0442\u0430\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. TJ Holowaychuk, \u0430\u0432\u0442\u043e\u0440 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430, \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043a\u0430\u0440\u043a\u0430\u0441\u043e\u043c Sinatra, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Ruby. \u041e\u043d \u0441\u0442\u0440\u0435\u043c\u0438\u043b\u0441\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0437\u043c, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421 \u0442\u0435\u0445 \u043f\u043e\u0440 \u043e\u043d \u0441\u0442\u0430\u043b \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u0435\u0431-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432 \u0434\u043b\u044f Node.js (\u0435\u0433\u043e \u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0438\u0437\u0443\u0447\u0430\u044e\u0442 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u044b \u043a\u0443\u0440\u0441\u0430 NODE.JS \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 FoxmindED).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u0435\u0433\u043e\u0434\u043d\u044f Express.js \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043e\u0442\u044a\u0435\u043c\u043b\u0435\u043c\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b Node.js \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442 \u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0431\u043e\u0440\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n\n\n    <div class=\"adv_block\">\r\n        <div class=\"top_text\">\u041d\u0430 \u043a\u0443\u0440\u0441\u0435 <a href=\"https:\/\/foxminded.ua\/ru\/node-js-1\/\">NODE.JS<\/a> \u043e\u0442 FoxmindED \u0442\u044b \u043c\u043e\u0436\u0435\u0448\u044c \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0438 \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u043c \u043e\u043f\u044b\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u0442\u043e\u0440\u0430 \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Express.js.<\/div>\r\n        \r\n        <a href=\"https:\/\/foxminded.ua\/ru\/node-js-1\/\" class=\"adv_block_btn btn btn-primary\">\r\n            \u0414\u0435\u0442\u0430\u043b\u0438 \u043a\u0443\u0440\u0441\u0430        <\/a>\r\n    <\/div>\r\n\n\n\n<h2 class=\"wp-block-heading\">\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Express.js \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f.<\/li>\n\n\n\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432: \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0430\u043c\u0438 (Jade, Handlebars \u0438 EJS).<\/li>\n\n\n\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445: \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043b\u0435\u0433\u043a\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 (MongoDB, PostgreSQL \u0438 MySQL).<\/li>\n\n\n\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Express.js \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 HTTP-\u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f (PUT) \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f (DELETE) \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-da171da102fcdbf6d0b2efc38becf403\" style=\"background-color:#abb7c2d4\"><code>\/\/ Update user with specified ID\n\napp.put('\/users\/:id', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ User update logic\n\n&nbsp;&nbsp;res.send('User updated successfully');\n\n});\n\n\/\/ Deleting a user with the specified ID\n\napp.delete('\/users\/:id', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Logic for deleting a user\n\n&nbsp;&nbsp;res.send('User deleted successfully');\n\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0435 \u041f\u041e \u0432 Express.js \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0435\u0440\u0435\u0434 \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432. \u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f middleware \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-857d4ea27fda94ac16f9ae11d7486adc\" style=\"background-color:#abb7c2d4\"><code>const authMiddleware = (req, res, next) =&gt; {\n\n&nbsp;&nbsp;if (!req.user) {\n\n&nbsp;&nbsp;&nbsp;&nbsp;res.status(401).send('Not authorized');\n\n&nbsp;&nbsp;&nbsp;&nbsp;return;\n\n&nbsp;&nbsp;}\n\n&nbsp;&nbsp;next();\n\n};\n\n\/\/ Applying middleware to a route\n\napp.use('\/secure-route', authMiddleware);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d \u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c, \u043a \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Express.js \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435: <em>npm install express<\/em><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d Node.js.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0427\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0438 \u0444\u0430\u0439\u043b index.js. \u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-496d5ee53378a132ba92b7f53153e588\" style=\"background-color:#abb7c2d4\"><code>const express = require('express');\n\nconst app = express();\n\napp.get('\/', (req, res) =&gt; {\n\n&nbsp;&nbsp;res.send('Hello, world!');\n\n});\n\napp.listen(3000);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0435\u0435 \u043d\u0430 \u0432\u0441\u0435 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443 (\/) \u0441\u0442\u0440\u043e\u043a\u043e\u0439 &#171;Hello, world!&#187;.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435: <em>node index.js<\/em><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 http:\/\/localhost:3000 \u0432 \u0432\u0430\u0448\u0435\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 Express.js \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>index.js: \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u044b.<\/li>\n\n\n\n<li>\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u044b: \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/li>\n\n\n\n<li>\u041f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0435 \u041f\u041e: \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/li>\n\n\n\n<li>\u0428\u0430\u0431\u043b\u043e\u043d\u044b: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 HTML-\u043a\u043e\u0434\u0430.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 Express.js \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0431\u0430\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 URL-\u0430\u0434\u0440\u0435\u0441\u043e\u0432. \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 route() \u043e\u0431\u044a\u0435\u043a\u0442\u0430 app. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a \/users\/:id:<\/p>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-dd53d12654c34b094cb1bf9647eff799\" style=\"background-color:#abb7c2d4\"><code>app.get('\/users\/:id', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Request processing logic\n\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d URL-\u0430\u0434\u0440\u0435\u0441\u0430 \/users\/:id, \u0433\u0434\u0435 :id &#8212; \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0430\u044f \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Express.js \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a post(), put() \u0438 delete(). \u041e\u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c\u0443 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-31f9e6704dd32dd9d6da4c4dbf502978\" style=\"background-color:#abb7c2d4\"><code>app.get('\/', (req, res) =&gt; {\n\n&nbsp;&nbsp;res.send('Hello, world!');\n\n});<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443 \/users:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-7e4a1d9343576f03e779b85c79bda089\" style=\"background-color:#abb7c2d4\"><code>app.get('\/users', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Request processing logic\n\n});\n\napp.post('\/users', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Request processing logic\n\n});\n\napp.put('\/users\/:id', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ User update logic\n\n});\n\napp.delete('\/users\/:id', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Logic for deleting a user\n\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0430\u043a\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>use(): \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432 \u043a\u043e\u043d\u0435\u0446 \u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/li>\n\n\n\n<li>useBefore(): \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0432 \u043d\u0430\u0447\u0430\u043b\u043e \u0446\u0435\u043f\u043e\u0447\u043a\u0438.<\/li>\n\n\n\n<li>delete(): \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0438\u0437 \u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-6abae2ef2854bd7bbf10756163eaf35d\" style=\"background-color:#abb7c2d4\"><code>app.get('\/', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Request processing logic\n\n});\n\n\/\/ Adding a route to the end of the route chain\n\napp.use('\/users', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Request processing logic\n\n});<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c (Middleware)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Middleware \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u0443\u044e \u043f\u0435\u0440\u0435\u0434 \u0438\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u0412 Express.js \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 use() \u043e\u0431\u044a\u0435\u043a\u0442\u0430 app. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430, \u0434\u043e\u0431\u0430\u0432\u0438\u043c middleware \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-3837b16545df98252325aa416da01737\" style=\"background-color:#abb7c2d4\"><code>const authMiddleware = (req, res, next) =&gt; {\n\n&nbsp;&nbsp;if (!req.user) {\n\n&nbsp;&nbsp;&nbsp;&nbsp;res.status(401).send('Not authorized');\n\n&nbsp;&nbsp;&nbsp;&nbsp;return;\n\n&nbsp;&nbsp;}\n\n&nbsp;&nbsp;next();\n\n};\n\napp.use(authMiddleware);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a middleware \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u044b req \u0438 res, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e next(), \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0449\u0443\u044e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 middleware \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 middleware \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-9ec52946b1a4288c7b5d2c290325e40e\" style=\"background-color:#abb7c2d4\"><code>const customMiddleware = (req, res, next) =&gt; {\n\n&nbsp;&nbsp;\/\/ Your logic middleware\n\n&nbsp;&nbsp;next();\n\n};\n\napp.use(customMiddleware);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Express.js \u0442\u0430\u043a\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 \u043e\u0431\u0448\u0438\u0440\u043d\u0443\u044e \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a middleware:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>helmet: \u0437\u0430\u0449\u0438\u0442\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0442 \u0430\u0442\u0430\u043a.<\/li>\n\n\n\n<li>morgan: \u0437\u0430\u043f\u0438\u0441\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u0430 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.<\/li>\n\n\n\n<li>cors: \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 CORS \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 Express.js.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 API&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">RESTful API, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430\u043c REST, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 HTTP-\u043c\u0435\u0442\u043e\u0434\u044b \u0434\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043d\u0430\u0434 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438. \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0433\u043e API \u0441 Express.js \u043d\u0443\u0436\u043d\u043e:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b (\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438, \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b, \u0437\u0430\u043a\u0430\u0437\u044b \u0438 \u0442. \u0434.).<\/li>\n\n\n\n<li>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 (\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435, \u0447\u0442\u0435\u043d\u0438\u0435, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435, \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435).<\/li>\n\n\n\n<li>\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b (\u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u0430 \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0437\u0430\u043f\u0440\u043e\u0441\u044b).<\/li>\n\n\n\n<li>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0439\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 Express.js \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432).<\/li>\n\n\n\n<li>\u041e\u0442\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u043e\u0442\u0432\u0435\u0442\u044b (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043c\u0435\u0442\u043e\u0434\u044b res.send() \u0438\u043b\u0438 res.json().<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f Express.js \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0442\u0432\u0435\u0442\u0430:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 GET-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 req.query \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0434 \u043d\u0438\u0436\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 GET-\u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443 \/users, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-da67f7d6d85019c8da4ff5a31b0e8823\" style=\"background-color:#abb7c2d4\"><code>app.get('\/users', (req, res) =&gt; {\n\n&nbsp;&nbsp;\/\/ Get list of users\n\n&nbsp;&nbsp;const users = &#91;\n\n&nbsp;&nbsp;&nbsp;&nbsp;{ id: 1, name: 'John Doe' },\n\n&nbsp;&nbsp;&nbsp;&nbsp;{ id: 2, name: 'Jane Doe' },\n\n&nbsp;&nbsp;];\n\n&nbsp;&nbsp;\/\/ Send reply\n\n&nbsp;&nbsp;res.json(users);\n\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u042d\u0442\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Express.js \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON \u0441 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u2014 \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u044b\u0439 \u0430\u0441\u043f\u0435\u043a\u0442 \u043b\u044e\u0431\u043e\u0433\u043e \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. Express.js \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0432\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b HTTPS: \u043e\u043d \u0448\u0438\u0444\u0440\u0443\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435, \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. \u042d\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0430.<\/li>\n\n\n\n<li>\u0412\u0441\u0435\u0433\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0443\u0433\u0440\u043e\u0437.<\/li>\n\n\n\n<li>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a middleware, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0437\u0430\u0449\u0438\u0442\u0438\u0442\u044c \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0442 \u0430\u0442\u0430\u043a. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 helmet \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 \u043e\u0431\u0449\u0438\u0445 \u0430\u0442\u0430\u043a, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a XSS \u0438 SQL-\u0438\u043d\u044a\u0435\u043a\u0446\u0438\u0438.<\/li>\n\n\n\n<li>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u044f\u0432\u0438\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg?strip=all&quality=92&webp=92&avif=90&sharp=1\" alt=\"Https\" class=\"wp-image-45015\" srcset=\"https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1 1024w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost-300x169.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1 300w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost-768x432.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1 768w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1 1366w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=136 136w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=409 409w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=546 546w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=683 683w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=819 819w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=956 956w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=1092 1092w, https:\/\/esvt4mphmap.exactdn.com\/wp-content\/uploads\/2024\/01\/https-bezopasnost.jpg?strip=all&amp;quality=92&amp;webp=92&amp;avif=90&amp;sharp=1&amp;w=1229 1229w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u044b:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u041e\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u043e\u0447\u044c \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438.<\/li>\n\n\n\n<li>\u0417\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u0427\u0435\u043c \u0438\u0445 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u0432\u0430\u0448\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c, \u0442\u0435\u043c \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043e\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c.<\/li>\n\n\n\n<li>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u044b. \u0412\u044b\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0438\u0445 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0430 \u0438 \u043f\u043e\u0438\u0441\u043a.<\/li>\n\n\n\n<li>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u043a\u043e\u0434. \u041f\u0440\u043e\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u043d\u0430\u043b\u0438\u0437 \u043a\u043e\u0434\u0430 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u043c\u0435\u0441\u0442\u0430, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u043d\u0435\u0441\u0442\u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Express.js \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0431\u0430\u0437\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0447\u0435\u0440\u0435\u0437 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432. \u0412\u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MongoDB: Mongoose<\/li>\n\n\n\n<li>PostgreSQL: knex.js<\/li>\n\n\n\n<li>MySQL: mysql2<\/li>\n\n\n\n<li>SQLite: sqlite3<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u0427\u0442\u043e\u0431\u044b \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c Express.js \u0441 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0448\u0430\u0433\u0438:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445: <em>npm install &lt;driver_name&gt;<\/em><\/li>\n\n\n\n<li>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-0e621500810f4d6dae96c703137e6eff\" style=\"background-color:#abb7c2d4\"><code>const database = new &lt;driver_name&gt;({\n\n&nbsp;&nbsp;\/\/ Database Connection Options\n\n});<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043d\u0430\u0434 \u0431\u0430\u0437\u043e\u0439 \u0434\u0430\u043d\u043d\u044b\u0445:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-4c12752662bc2832242dd34f21c01154\" style=\"background-color:#abb7c2d4\"><code>\/\/Examples of database operations\n\nconst user = await database.collection('users').insertOne({ name: 'John Doe', age: 30 });\n\nconst user = await database.collection('users').findOne({ id: 1 });\n\nawait database.collection('users').updateOne({ id: 1 }, { age: 31 });\n\nawait database.collection('users').deleteOne({ id: 1 });<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0410 \u0442\u0435\u043f\u0435\u0440\u044c, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 MongoDB \u0438 PostgreSQL \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u043d\u0430 Express.js:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MongoDB:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-cb52bd17bcbdd5a81803665d9b9f200f\" style=\"background-color:#abb7c2d4\"><code>const MongoClient = require('mongodb').MongoClient;\n\nconst database = new MongoClient('mongodb:\/\/localhost:27017\/my-database');\n\n\/\/ An example of creating an entry in the users collection\n\ndatabase.connect((err) =&gt; {\n\n&nbsp;&nbsp;if (err) {\n\n&nbsp;&nbsp;&nbsp;&nbsp;console.error(err);\n\n&nbsp;&nbsp;&nbsp;&nbsp;return;\n\n&nbsp;&nbsp;}\n\n&nbsp;&nbsp;const user = { name: 'John Doe', age: 30 };\n\n&nbsp;&nbsp;database.collection('users').insertOne(user, (err, result) =&gt; {\n\n&nbsp;&nbsp;&nbsp;&nbsp;if (err) {\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;console.error(err);\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return;\n\n&nbsp;&nbsp;&nbsp;&nbsp;}\n\n&nbsp;&nbsp;&nbsp;&nbsp;console.log('Entry created successfully');\n\n&nbsp;&nbsp;});\n\n});<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PostgreSQL:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code g-pt-20 g-pb-20 g-pr-20 g-pl-20 has-black-color has-text-color has-background has-link-color wp-elements-5af170653d4c0bfe38ec5694e2131474\" style=\"background-color:#abb7c2d4\"><code>const knex = require('knex');\n\nconst database = knex({\n\n&nbsp;&nbsp;connection: {\n\n&nbsp;&nbsp;&nbsp;&nbsp;host: 'localhost',\n\n&nbsp;&nbsp;&nbsp;&nbsp;port: 5432,\n\n&nbsp;&nbsp;&nbsp;&nbsp;database: 'my-database',\n\n&nbsp;&nbsp;&nbsp;&nbsp;user: 'postgres',\n\n&nbsp;&nbsp;&nbsp;&nbsp;password: 'secret',\n\n&nbsp;&nbsp;},\n\n});\n\n\/\/ Example of creating a record in the users table\n\ndatabase('users').insert({ name: 'John Doe', age: 30 }).then((result) =&gt; {\n\n&nbsp;&nbsp;console.log('\u0417\u0430\u043f\u0438\u0441\u044c \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0430');\n\n});<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 Express.js, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0415\u0434\u0438\u043d\u0438\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435:<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0444\u043e\u043a\u0443\u0441 \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0435\u0434\u0438\u043d\u0438\u0446 \u043a\u043e\u0434\u0430;<\/li>\n\n\n\n<li>\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u0435\u043d \u0434\u043b\u044f \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u044f\u0445 \u043a\u043e\u0434\u0430.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435:<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0444\u043e\u043a\u0443\u0441 \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0435\u0434\u0438\u043d\u0438\u0446\u0430\u043c\u0438 \u043a\u043e\u0434\u0430;<\/li>\n\n\n\n<li>\u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435:<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0444\u043e\u043a\u0443\u0441 \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0446\u0435\u043b\u043e\u043c;<\/li>\n\n\n\n<li>\u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u0435\u0442, \u0447\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445.<\/li>\n<\/ul>\n\n\n    <div class=\"adv_youtube\">\r\n        <div class=\"adv_youtube_block g-bg-white d-flex align-items-center justify-content-center\">\r\n            <img decoding=\"async\" src=\"https:\/\/esvt4mphmap.exactdn.com\/wp-content\/themes\/foxminded\/icon\/general\/adv_logo.png?strip=all&quality=92&webp=92&avif=90&sharp=1&w=640\">\r\n            <div class=\"bubble_text\">\r\n                <span>\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u043d\u0430\u0448 \u042e\u0442\u0443\u0431-\u043a\u0430\u043d\u0430\u043b!<\/span> \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0432\u0438\u0434\u0435\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u0443\u0436\u0435 \u0436\u0434\u0443\u0442 \u0432\u0430\u0441!                <a class=\"btn btn-primary btn-primary-icon\" href=\"https:\/\/www.youtube.com\/c\/SergeyNemchinskiy\">\r\n                    <img decoding=\"async\" src=\"https:\/\/esvt4mphmap.exactdn.com\/wp-content\/themes\/foxminded\/icon\/general\/youtube_btn_icon.svg\">\r\n                    YouTube   \r\n                <\/a>\r\n            <\/div>\r\n        <\/div>\r\n        <div class=\"adv_mentoring_block g-bg-white d-flex align-items-center justify-content-center\">\r\n            <img decoding=\"async\" src=\"https:\/\/esvt4mphmap.exactdn.com\/wp-content\/themes\/foxminded\/icon\/general\/adv_logo.png?strip=all&quality=92&webp=92&avif=90&sharp=1&w=640\">\r\n            <div class=\"bubble_text\">\r\n                <span>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043e\u0439 \u043a\u0443\u0440\u0441!<\/span> \u041f\u0443\u0442\u044c \u043a \u043a\u0430\u0440\u044c\u0435\u0440\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0437\u0434\u0435\u0441\u044c!                <a class=\"btn btn-primary\" href=\"https:\/\/foxminded.ua\/ru\/junior-course\/\">\r\n                    \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c                    <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n                    <path d=\"M11.6927 5.8584L11.6927 9.19173L4.25937 9.19173L4.23437 10.8667L11.6927 10.8667L11.6927 14.1917L15.8594 10.0251L11.6927 5.8584Z\" fill=\"white\"\/>\r\n                    <\/svg>\r\n                <\/a>\r\n            <\/div>\r\n        <\/div>\r\n    <\/div>\r\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u043e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 (\u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u043a\u043e\u0434\u0435) \u0434\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 Express.js:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Node Inspector &#8212; \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043e\u0442\u043b\u0430\u0434\u043a\u0438.<\/li>\n\n\n\n<li>Chrome DevTools &#8212; \u043d\u0430\u0431\u043e\u0440 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f Express.js.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041a\u0430\u043a\u0438\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043e\u0442\u043b\u0430\u0434\u043a\u0438?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u0422\u043e\u0447\u043a\u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0430:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445;<\/li>\n\n\n\n<li>\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445;<\/li>\n\n\n\n<li>\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f\u043c.<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u0448\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0434\u043b\u044f \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430;<\/li>\n\n\n\n<li>\u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Express.js \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043e \u043c\u043e\u0449\u043d\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 middleware. \u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u0431\u043e\u043b\u0435\u0435 \u0433\u043b\u0443\u0431\u043e\u043a\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0441\u0432\u043e\u0438\u0442\u044c \u0435\u0433\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b \u0438 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u0411\u0430\u0439\u043a\u0438 \u043f\u0440\u043e JavaScript \u0438 Node.js \u0441 \u0422\u0438\u043c\u0443\u0440\u043e\u043c \u0428\u0435\u043c\u0441\u0435\u0434\u0438\u043d\u043e\u0432\u044b\u043c\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/hoKKYKMadQs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Express.js \u2014 \u044d\u0442\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f Node.js, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0435\u0431- \u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. Express.js \u043e\u0441\u043d\u043e\u0432\u0430\u043d \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 API Node.js, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0435\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438. \u0418\u0441\u0442\u043e\u0440\u0438\u044f Express.js \u043d\u0430\u0447\u0430\u043b\u0430\u0441\u044c \u0441\u043e \u0441\u0442\u0440\u0435\u043c\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0433\u0438\u0431\u043a\u0438\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f Node.js, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u0441\u0442\u0430\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. TJ Holowaychuk, \u0430\u0432\u0442\u043e\u0440 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430, \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043a\u0430\u0440\u043a\u0430\u0441\u043e\u043c Sinatra, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-44879","post","type-post","status-publish","format-standard","hentry","category-learning"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Express js: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430<\/title>\n<meta name=\"description\" content=\"Express js: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c (Middleware). \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 API. \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/foxminded.ua\/ru\/express-js\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Express js: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\" \/>\n<meta property=\"og:description\" content=\"Express js: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c (Middleware). \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 API. \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/foxminded.ua\/ru\/express-js\/\" \/>\n<meta property=\"og:site_name\" content=\"FoxmindEd\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/foxmindedco\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-31T08:30:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-31T08:30:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg\" \/>\n<meta name=\"author\" content=\"FoxmindEd\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"FoxmindEd\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 \u043c\u0438\u043d\u0443\u0442\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/\"},\"author\":{\"name\":\"FoxmindEd\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#\\\/schema\\\/person\\\/0f3b73af29931ba2d321986fa1b84880\"},\"headline\":\"\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c Express.js\",\"datePublished\":\"2024-01-31T08:30:28+00:00\",\"dateModified\":\"2024-01-31T08:30:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/\"},\"wordCount\":1068,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/foxminded.ua\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/https-bezopasnost-1024x576.jpg\",\"articleSection\":[\"\u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/\",\"url\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/\",\"name\":\"Express js: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/foxminded.ua\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/https-bezopasnost-1024x576.jpg\",\"datePublished\":\"2024-01-31T08:30:28+00:00\",\"dateModified\":\"2024-01-31T08:30:30+00:00\",\"description\":\"Express js: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c (Middleware). \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 API. \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#primaryimage\",\"url\":\"https:\\\/\\\/foxminded.ua\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/https-bezopasnost-1024x576.jpg\",\"contentUrl\":\"https:\\\/\\\/foxminded.ua\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/https-bezopasnost-1024x576.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/express-js\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043e\u043b\u043e\u0432\u043d\u0430\",\"item\":\"https:\\\/\\\/foxminded.ua\\\/ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c Express.js\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#website\",\"url\":\"https:\\\/\\\/foxminded.ua\\\/\",\"name\":\"FoxmindEd\",\"description\":\"\u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u0430\u0439\u0442 \u043d\u0430 WordPress\",\"publisher\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/foxminded.ua\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#organization\",\"name\":\"FoxmindEd\",\"url\":\"https:\\\/\\\/foxminded.ua\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/foxminded.ua\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/foxminded_sign_logo_orange.webp\",\"contentUrl\":\"https:\\\/\\\/foxminded.ua\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/foxminded_sign_logo_orange.webp\",\"width\":2063,\"height\":2222,\"caption\":\"FoxmindEd\"},\"image\":{\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/foxmindedco\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/foxminded.ua\\\/#\\\/schema\\\/person\\\/0f3b73af29931ba2d321986fa1b84880\",\"name\":\"FoxmindEd\",\"sameAs\":[\"https:\\\/\\\/foxminded.ua\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Express js: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430","description":"Express js: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c (Middleware). \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 API. \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/foxminded.ua\/ru\/express-js\/","og_locale":"ru_RU","og_type":"article","og_title":"Express js: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430","og_description":"Express js: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c (Middleware). \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 API. \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.","og_url":"https:\/\/foxminded.ua\/ru\/express-js\/","og_site_name":"FoxmindEd","article_publisher":"https:\/\/www.facebook.com\/foxmindedco\/","article_published_time":"2024-01-31T08:30:28+00:00","article_modified_time":"2024-01-31T08:30:30+00:00","og_image":[{"url":"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg","type":"","width":"","height":""}],"author":"FoxmindEd","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"FoxmindEd","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"6 \u043c\u0438\u043d\u0443\u0442"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/foxminded.ua\/ru\/express-js\/#article","isPartOf":{"@id":"https:\/\/foxminded.ua\/ru\/express-js\/"},"author":{"name":"FoxmindEd","@id":"https:\/\/foxminded.ua\/#\/schema\/person\/0f3b73af29931ba2d321986fa1b84880"},"headline":"\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c Express.js","datePublished":"2024-01-31T08:30:28+00:00","dateModified":"2024-01-31T08:30:30+00:00","mainEntityOfPage":{"@id":"https:\/\/foxminded.ua\/ru\/express-js\/"},"wordCount":1068,"commentCount":0,"publisher":{"@id":"https:\/\/foxminded.ua\/#organization"},"image":{"@id":"https:\/\/foxminded.ua\/ru\/express-js\/#primaryimage"},"thumbnailUrl":"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg","articleSection":["\u041e\u0431\u0443\u0447\u0435\u043d\u0438\u0435"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/foxminded.ua\/ru\/express-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/foxminded.ua\/ru\/express-js\/","url":"https:\/\/foxminded.ua\/ru\/express-js\/","name":"Express js: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430","isPartOf":{"@id":"https:\/\/foxminded.ua\/#website"},"primaryImageOfPage":{"@id":"https:\/\/foxminded.ua\/ru\/express-js\/#primaryimage"},"image":{"@id":"https:\/\/foxminded.ua\/ru\/express-js\/#primaryimage"},"thumbnailUrl":"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg","datePublished":"2024-01-31T08:30:28+00:00","dateModified":"2024-01-31T08:30:30+00:00","description":"Express js: \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u044f, \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u043c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0435\u043c (Middleware). \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 API. \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c.","breadcrumb":{"@id":"https:\/\/foxminded.ua\/ru\/express-js\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/foxminded.ua\/ru\/express-js\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/foxminded.ua\/ru\/express-js\/#primaryimage","url":"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg","contentUrl":"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/01\/https-bezopasnost-1024x576.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/foxminded.ua\/ru\/express-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043e\u043b\u043e\u0432\u043d\u0430","item":"https:\/\/foxminded.ua\/ru\/"},{"@type":"ListItem","position":2,"name":"\u041e\u0441\u043d\u043e\u0432\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c Express.js"}]},{"@type":"WebSite","@id":"https:\/\/foxminded.ua\/#website","url":"https:\/\/foxminded.ua\/","name":"FoxmindEd","description":"\u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u0441\u0430\u0439\u0442 \u043d\u0430 WordPress","publisher":{"@id":"https:\/\/foxminded.ua\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/foxminded.ua\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/foxminded.ua\/#organization","name":"FoxmindEd","url":"https:\/\/foxminded.ua\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/foxminded.ua\/#\/schema\/logo\/image\/","url":"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/08\/foxminded_sign_logo_orange.webp","contentUrl":"https:\/\/foxminded.ua\/wp-content\/uploads\/2024\/08\/foxminded_sign_logo_orange.webp","width":2063,"height":2222,"caption":"FoxmindEd"},"image":{"@id":"https:\/\/foxminded.ua\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/foxmindedco\/"]},{"@type":"Person","@id":"https:\/\/foxminded.ua\/#\/schema\/person\/0f3b73af29931ba2d321986fa1b84880","name":"FoxmindEd","sameAs":["https:\/\/foxminded.ua"]}]}},"_links":{"self":[{"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/posts\/44879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/comments?post=44879"}],"version-history":[{"count":23,"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/posts\/44879\/revisions"}],"predecessor-version":[{"id":54940,"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/posts\/44879\/revisions\/54940"}],"wp:attachment":[{"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/media?parent=44879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/categories?post=44879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/foxminded.ua\/ru\/wp-json\/wp\/v2\/tags?post=44879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}