← All Notes
Topic

Mastery: Backend Nestjs

5 notes in this topic.

A focused collection of notes and references on Mastery: Backend Nestjs.

mastery-backend-nestjs
Basic
January 29, 20262 min read

NestJS with Database: Prisma Integration & Docker Compose

สูตรสำเร็จเชื่อมต่อ Database: ตั้งค่า Prisma ORM ใน NestJS, การทำ Migration, และรัน Postgres ด้วย Docker Compose

mastery-backend-nestjs
Advanced
January 30, 20262 min read

NestJS Dependency Injection: พลังแห่งเวทมนตร์ Inversion of Control

ไขความลับเบื้องหลัง NestJS: ทำไมเราถึงไม่ต้อง 'new Class()' เอง? เข้าใจ DI Container, Providers และหัวใจของการเขียนโค้ดที่ Test ง่ายระดับ Senior

mastery-backend-nestjs
Advanced
January 29, 20262 min read

NestJS Error Handling: Interceptors & Filters

ทำ API ให้ Standard: แปลง Response ทุกอันให้อยู่ในรูปแบบเดียวกัน และดักจับ Error ด้วย Exception Filters

mastery-backend-nestjs
Advanced
January 29, 20262 min read

NestJS Testing Strategy: Unit Test vs E2E Test

NestJS ให้ Jest มาตั้งแต่เกิด! เรียนรู้วิธี Mock Dependencies เพื่อทำ Unit Test และการยิง API จริงด้วย Supertest (E2E)

mastery-backend-nestjs
January 30, 20262 min read

NestJS Architecture Mastery: สร้างระบบระดับ Enterprise ให้แข็งแกร่ง

เจาะลึกโครงสร้าง NestJS ตั้งแต่ปัญหาการจัดการโค้ด ไปจนถึง Dependency Injection และตารางเปรียบเทียบความแตกต่างกับ Express