V School | Better Humans, Better Outcomes

Warmup - Racecar

Write a function that takes a string and returns true if that string is a palindrome (the same forward and backward) and false if it is not. isPalindrome("bob"); // true isPalindrome("baz"); // false **Extra credit**: Make it so spaces, capital letters, and punctuation don't stop something from being a palindrome.

Authentication Basics

Authentication is the process of allowing a user of your application to create an account, sign in, have specific user permissions, get data that only concerns them as a user, etc. Authentication includes a security concern (we don't want people to be able to see or manipulate each other's data)

Mongoose Schema Basics

Understanding Schemas A "Schema" can be a tough thing to understand at first, but in reality it's pretty straightforward. A Schema for a database is akin to a "Class" in Object-Oriented Programming. Where a class is like a blueprint for creating objects in a program, a Schema is a blueprint

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

V School | Better Humans, Better Outcomes © 2026