Visão Geral
O Curso Node.js Fundamentals é a porta de entrada definitiva para quem deseja dominar o runtime JavaScript mais utilizado no mercado. Você aprenderá do zero até a construção de APIs RESTful robustas, manipulação de arquivos, streams, bancos NoSQL e SQL, autenticação e deploy em produção. Perfeito para desenvolvedores front-end que querem virar full-stack, profissionais de outras linguagens em transição ou iniciantes que desejam entrar no mercado com uma tecnologia de alta empregabilidade.
Conteúdo Programatico
Module 1: Node.js Introduction & Core Concepts
- History and Node.js architecture
- Event Loop, Libuv and non-blocking I/O
- Global objects vs Browser
- Module systems: CommonJS vs ESM
Module 2: NPM Ecosystem & Project Setup
- package.json deep dive
- Semantic versioning and lock files
- Modern tools: PNPM, Bun, Turborepo basics
- ESLint + Prettier + EditorConfig
Module 3: Building HTTP Servers
- Native HTTP module
- Express.js from scratch to advanced
- Middleware stack and error handling
- Routing, params, query strings and body parsing
Module 4: REST API Development
- REST principles and Richardson maturity model
- Status codes, content negotiation and versioning
- DTOs, validation with Zod and Joi
- Pagination, filtering and sorting
Module 5: Databases Integration
- MongoDB with Mongoose (ODM patterns)
- PostgreSQL with Prisma ORM and raw Query Builder
- SQLite for local development
- Transactions and connection pooling
Module 6: Authentication & Authorization
- Password hashing with bcrypt
- JWT + Refresh Token strategy
- Role/Permission systems
- OAuth 2.0 basics with Google and GitHub
Module 7: Advanced Node.js Features
- Streams (Readable, Writable, Transform, Duplex)
- Buffer manipulation and file uploads
- Worker Threads and performance
- Cluster mode and PM2 basics
Module 8: Testing & Quality
- Jest + Supertest for unit and E2E tests
- Test doubles (mocks, stubs, spies)
- Coverage and TDD approach
- Testing authenticated routes
Module 9: Production & Deployment
- Environment variables and dotenv
- Logging with Winston and Morgan
- Rate limiting and CORS
- Deploy on Vercel, Railway, Render and AWS Elastic Beanstalk
- Dockerizing Node.js applications (bonus)