JavaScript

Express.js

Në shqip përdoret i njëjti emër.

ShpjegimiSQ

Express-i është framework-u më i njohur për të ndërtuar backend me Node.js: me pak rreshta krijon një server që pret kërkesa dhe kthen faqe ose JSON — shpesh hapi i parë drejt ndërtimit të API-ve.

EnglishEN

Express is the best-known framework for building backends with Node.js: in a few lines you create a server that receives requests and sends back pages or JSON — often the first step towards building APIs.

Si ta mendosh

Si një kioskë e vogël ushqimi: e ngre shpejt, me pak pajisje, dhe fillon t'u shërbesh klientëve menjëherë.

Lexoje në anglisht

Like a small food kiosk: quick to set up, with little equipment, and you start serving customers straight away.

Shembull kodijavascript

import express from "express";
const app = express();
app.get("/api/pershendetje", (req, res) => res.json({ mesazhi: "Tungjatjeta!" }));
app.listen(3000);

Terma të lidhur