The following sections will guide you through building a simple contact manager app. You will write different types of code, keeping the code organized into different files and directories depending on the purpose of the code.
Collections represent database tables, and models represent individual rows within that table. With our application, we're going to be storing a bunch of people's contact information in our address book. We will have a contacts collection for all of our contacts and a different contact model for each person in our collection.
Create two new directories in our
scripts directory, one called
models and the other called