Skip to content

GiorgiMakh/boilerplate-mongomongoose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB and Mongoose Challenges

My project for the MongoDB and Mongoose challenges for freecodecamp API developement certifications. Instructions for completing these lessons start at https://www.freecodecamp.org/learn/apis-and-microservices/mongodb-and-mongoose/

Tasks Completed

  • Install and Set Up Mongoose
  • Create a Model
  • Create and Save a Record of a Model
  • Create Many Records with model.create()
  • Use model.find() to Search Your Database
  • Use model.findOne() to Return a Single Matching Document from Your Database
  • Use model.findById() to Search Your Database By _id
  • Perform Classic Updates by Running Find, Edit, then Save
  • Perform New Updates on a Document Using model.findOneAndUpdate()
  • Delete One Document Using model.findByIdAndRemove
  • Delete Many Documents with model.remove()
  • Chain Search Query Helpers to Narrow Search Results

Buy Me a Coffee at ko-fi.com