Men birinchi variantni (JWTlarni) nazarda tutaman va sizda barcha zarur bog'liqliklar o'rnatilgan deb o'ylayman. Ushbu holatda men faqatgina oddiy serverni yaratish uchun express.js kutubxonalaridan foydalanaman va JWTlarni amalga oshirish uchun jsonwebtoken.js. // Ushbu misoldagi kutubxona serverni ishga tushirish uchun node.js express = require('express'); const app = express(); // kutubxona Jason Web Tokens jwt = require'(jsonwebtoken') dan foydalanish uchun // POST yoki PUT talablari uchun express ishlatadigan Middleware. app. use(express.urlencoded{extended: false}); app.use{express.urlencoded{extended: false}); app.use{constToken.json} // //); faqatgina sizning SECRETO o'zgaruv
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence