Modul wajib untuk aplikasi (contoh: Express). Development (devDependencies): Hanya untuk pengembangan (contoh: testing tools). npm install jest --save-dev 3. Versioning NPM menggunakan Semantic Versioning (SemVer): ^1.2.3: Update minor/patch (1.x.x). ~1.2.3: Hanya patch (1.2.x). 4. Scripts ... mongoose = require('mongoose'); const User = mongoose.model('User', { name: String }); 5. React Library frontend untuk UI (bisa digunakan dengan Node.js untuk SSR): npm install react react-dom 6. Socket.IO Real-time communication (chat, live updates): npm install socket.io 7. Jest Testing
testing Jest
- Home
- testing Jest