Learning notes
Learning notes
Pinned
AI summary: The author describes 'driven learning' (learning driven by a goal/problem/task), first encountered during a senior's sharing session. Initially unclear, the concept became practical when needing remote debugging for a lab project. Learning frp (a tool for intranet penetration) quickly solved the problem. Key advantages: strong initiative (learning what's needed, not forced), deeper understanding and practical application, and suitability for self-directed lifelong learning.
AI summary: The author shares their experience learning NestJS, contrasting it with traditional Node.js frameworks like Express. They highlight NestJS's opinionated structure, which enforces modularity and clear code organization, ultimately leading to cleaner, more maintainable projects. Key concepts covered include dependency injection, decorator-driven development, the request lifecycle (Middleware, Guard, Interceptor, Pipe, Controller, Service, Filter), TypeORM for database operations, data validation with class-validator, JWT authentication, environment configuration, logging, testing with Jest, and exception filters. The author concludes that NestJS provides a robust methodology for backend development, and the architectural thinking learned is more valuable than memorizing APIs.