User Tools

Site Tools


tanszek:oktatas:informatikai_rendszerek_epitese:express.js_alapok

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tanszek:oktatas:informatikai_rendszerek_epitese:express.js_alapok [2026/03/11 12:22] kissatanszek:oktatas:informatikai_rendszerek_epitese:express.js_alapok [2026/03/11 12:24] (current) kissa
Line 11: Line 11:
   - Projekt mappa létrehozása: ''mkdir backend && cd backend''   - Projekt mappa létrehozása: ''mkdir backend && cd backend''
   - NPM csomag létrehozása: ''npm init''   - NPM csomag létrehozása: ''npm init''
-  - tsconfig fájl létrehozása: ''tsc --init'' +  - tsconfig fájl létrehozása: ''tsc %%--%%init'' 
-  - Express.js csomag telepítése: ''npm install express --save'' +  - Express.js csomag telepítése: ''npm install express %%--%%save'' 
-  - Típus csomagok telepítése: ''npm install @types/node @types/express --save-dev''+  - Típus csomagok telepítése: ''npm install @types/node @types/express %%--%%save-dev''
   - ''index.ts'' fájl létrehozása.   - ''index.ts'' fájl létrehozása.
  
Line 29: Line 29:
  
  
-//„Express is a routing and middleware web framework that has minimal functionality of its own: An Express application is essentially a series of middleware function calls.+//„Express is a routing and middleware web framework that has minimal functionality of its own: An Express application is essentially a series of middleware function calls.// 
 + 
 +//Middleware functions are functions that have access to the request object (req), the response object (res), and the next middleware function in the application’s request-response cycle.”//
  
-Middleware functions are functions that have access to the request object (req), the response object (res), and the next middleware function in the application’s request-response cycle.”// 
 – [[https://expressjs.com/en/guide/using-middleware.html|Express: Using middlewares]] – [[https://expressjs.com/en/guide/using-middleware.html|Express: Using middlewares]]
  
  
 {{:tanszek:oktatas:informatikai_rendszerek_epitese:pasted:20260311-121733.png}} {{:tanszek:oktatas:informatikai_rendszerek_epitese:pasted:20260311-121733.png}}
tanszek/oktatas/informatikai_rendszerek_epitese/express.js_alapok.1773231730.txt.gz · Last modified: 2026/03/11 12:22 by kissa