Backend Flashcards

(5 cards)

1
Q

endpoint

A

Điểm cuối của API – Ví dụ: GET /api/users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

middleware

A

Lớp trung gian xử lý request – Ví dụ: authMiddleware kiểm tra token

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

controller

A

Bộ điều khiển xử lý logic – Ví dụ: UserController::create()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

sanitize input

A

Làm sạch dữ liệu đầu vào để tránh SQL injection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ORM

A

Object Relational Mapping – Ví dụ: Sequelize, Eloquent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly