Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 2.57 KB

File metadata and controls

30 lines (21 loc) · 2.57 KB

MongoDB/ Mongoose

MongoDB

  1. Get started with databases on Windows Subsystem for Linux
  2. how to completely remove mongoDB with all instance from ubuntu
  3. How do I remove old mongo tools?
  4. how can I see what ports mongo is listening on from mongo shell? sudo lsof -iTCP -sTCP:LISTEN | grep mongo This is result for mongodb running on my local computer: mongod 92 mongodb 12u IPv4 16464 0t0 TCP localhost:27017 (LISTEN)
  5. How do I see what packages are installed on Ubuntu Linux?

Data Modelling

  1. Data Modeling Introduction See section on Data Model Examples and Patterns -> Helpful explanation on how to think about relationships between collections

Mongoose

  1. Express Tutorial Part 3: Using a Database (with Mongoose) Altho MDN web docs is THE ref, found this not so straightfwd
  2. Connect MongoDB to Node using Express and Mongoose Has examples of using Postman
  3. How to use express with mongoose This seems to be the most straight fwd...
  4. Creating the User Model Building User model w some validation and password authentication
  5. How to Seed MongoDB Database From Node: The Simplest Way
  6. Mongoose order of methods
  7. Updating Documents in Mongoose Need to clear of the difference between documents and Models!!

Referencing how-to

  1. Referencing another schema in Mongoose

  2. Building query using chaining syntax See the section under Executing