V School | Better Humans, Better Outcomes

Mongoose CRUD (Create, Read, Update, Delete)

We've covered the basics of making queries in the MongoDB Shell, but since we'll mostly be writing our queries in our server's JavaScript code using Mongoose, it makes sense to understand how Mongoose does queries. We'll be covering basic CRUD (Create, Read, Update, Delete) operations. With Mongoose, you can perform

Express req.params and req.query

When you're first learning about the Request/Response cycle, there's a fairly confusing topic that you'll run into frequently: URL parameters and query parameters (also called query strings). The reason these can be confusing is because people frequently interchange the two terms. So we're going to clarify what they are

Express Router

You have now experienced the beauty and simplicity of Node and Express - and you have created a few simple back-end servers and enabled your client to talk to it. How cool! So far we've been putting all of our routes on the app object that was created with the

Warmup - Server by Memory

Your job is to use what you have learned and spin up a NodeJs/Express server with a MongoDB that works. Requirements: * GET endpoint /cars * POST endpoint /cars * PUT endpoint /cars/:carId * DELETE endpoint /cars/:carId * MongoDB name should be cars * GET endpoint /person * POST endpoint /person * PUT endpoint /person/

Todo Express

Create a simple Express Server that manages a list of todos (which at this point will just be held in an array on the server, since we haven't gotten to including databases yet). Todos should have a data format similar to: { "name": "The name", "description": "The description of the todo"

V School | Better Humans, Better Outcomes © 2026