June 2022
Intermediate to advanced
410 pages
5h 8m
English
The previous chapters explained programming practices that affect all Node.js applications. This chapter applies these fundamentals to the specific challenge of data storage using database solutions such as MongoDB and MySQL.
Web applications often require data that persists between page loads and application restarts. Consider a content management system such as WordPress: it stores articles, metadata, media, user profiles, comments, settings, plugin configurations, and more. Multiple users can log in at any time to view and update content.
The most common solution to data persistence is a database such as MongoDB, MySQL, or PostgreSQL. All database systems have the same purpose: to provide the ability to ...
Read now
Unlock full access