Starting the data model
Once the basic building blocks are in place, it is time to start working on the data model. For the SportsStore application, the key data is a catalog of products from which customers will make selections. Run the commands shown in Listing 16.32 in the sportsstore
folder to install the data storage packages.
Listing 16.32: Adding data storage packages
npm install [email protected]
npm install [email protected]
For quick reference, these packages are described in Table 16.6. I am going to use SQLite during development because it is easy to set up and then change to PostgreSQL, which is a more conventional database server, in Chapter 21 to prepare for deployment.
Table 16.6: The data packages
Name |
Description |
|
This package contains the SQLite database manager, which stores its... |