Learn Model Testing with TDD
Learn the skills to create the model layer of a web application using Mongoose and TDD.
StartMongoose Fundamentals
Lesson 1 of 2
- 1Mongoose is a Node package that interacts with a running MongoDB database. Before learning about Mongoose, let’s define a couple of key terms: - Data - Database #### What is Data? Data in the…
- 2Mongo stores data in ‘binary’ JSON (BSON) documents. BSON documents have a similar structure to JavaScript objects. MongoDB stores documents in a collection. A MongoDB database is made up of t…
- 5In our original poetry application example we declared the schema type for our title as a String: const poemSchema = new mongoose.Schema({ title: String }) Often, we want to specify more than j…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory