Bu juda oddiy Express (populyar Node.js veb-framework) ilovasi: const express = require('express'); const app = express(); app.get('/', (req, res) => { res.send('Hello World!'); }); app.listen(3000, () => { console.log('Example app listening on port 3000!'); }); Bu serverni ishga tushiradi va 3000 portda tinglaydi. U bosh sahifaga (/) so'rovlar uchun "Hello World!" bilan javob beradi. Siz uni node app.js bilan ishga tushirasiz (bu erda app.js ushbu kodni o'z ichiga olgan fayl nomi). Shubhasiz, bu juda oddiy misol, siz ko'proq yo'nalishlarni qo'shasiz, statik fayllarni xizmat qilasiz, ma'lumotlar bazasiga ulanish uchun va
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence