← Semua produk
Buku
Practical Backend: Build Real-World APIs with Node.js
A 47-page, hands-on guide to building secure, correct, production-ready APIs with Node.js, Express 5 and SQLite.
RM 30.00
Bayaran sekali · Muat turun segera · PDF · 216.0 KB
Bayaran selamat melalui perbankan dalam talian FPX
Tentang buku ini
Stop following toy tutorials. In this book you build a real Inventory & Sales API (the kind a shop, warehouse or café could run on) and learn the habits that separate hobby code from production code.
What you'll learn:
• How a backend really works: requests, responses and the three promises every API must keep
• HTTP and REST done right: methods, status codes, resource design, money in sen
• Express 5 app structure that stays clean as it grows
• Database design with real constraints, a stock ledger, views and migrations
• Validation with Zod and a single, safe error handler
• Authentication: bcrypt, JWT, timing-safe login
• Authorization and security: roles, rate limiting, SQL injection, CORS, Helmet
• Transactions that keep stock and sales correct, even when things fail
• Business reports in SQL: low stock, stock value, revenue and profit
• Testing with Node's built-in test runner
• Going to production: Docker, HTTPS, backups, monitoring
Includes a security checklist and HTTP cheat sheet. Every code example comes from a working, tested project.
Format: PDF, 47 pages, 12 chapters + 3 appendices. Language: English.