Chapter 8. The server database
- The role of the database in an SPA
- Understanding the Node.js MongoDB driver
- Implementing CRUD operations
- Using JSV for data validation
- Pushing data changes to the client with Socket.IO
This chapter builds on code we’ve written in chapter 7. We recommend copying the entire directory structure for that chapter into a new “chapter_8” directory and updating the files there.