RSS.Social

TheCodeBarbarian.com

follow: @[email protected]

Posts

Introducing @datastax/astra-mongoose: The New Way to Use DataStax Astra with Mongoose

What's New in Mongoose 8.4: transactionAsyncLocalStorage and inferRawDocType

Building a Note-Taking App With Retrieval Augmented Generation (RAG)

Topic Classifiers in Node.js Using Astra Vector Search

Introducing Mongoose 8

Retrieval Augmented Generation with Astra and Mongoose

Getting Started with Vector Databases in Node.js

Introducing Private Preview for Stargate-Mongoose Astra Support

What's New in Mongoose 7.1: BigInt Support and createCollections()

We're Working on Cassandra Support for Mongoose

Introducing Mongoose 7

What's New in Mongoose 6.8: Deno Support and Document-Specific Validation Error Messages

What's New in Mongoose 6.5: The `castObject()` and `applyDefaults()` Functions

What's New in Mongoose 6: The `sanitizeFilter` Option

Introducing Mongoose 6.0.0

What's New in Mongoose 5.13: The sanitizeProjection Option

Mongoose Internals: Compiling Models and Change Tracking

What's New in Mongoose 5.12: Populate Transform

Working with Protobufs in Node.js

Getting Started with Apache Kafka in Node.js

Practical Aspect Oriented Programming in JavaScript

What's New in Mongoose 5.11: Custom Casting for Paths

Using Vue as a Node.js Static Site Generator

Working with Mongoose in TypeScript

Async Generator Functions and Websockets in Node.js

Pretty `JSON.stringify()` Output in JavaScript

OAuth in Node.js CLI Apps

What's New in Mongoose 5.10: Global Subdocument Configuration

What's New in Mongoose 5.10: Optimistic Concurrency

What's New in Mongoose 5.10: Improved Transactions

Building a CLI Tool with Node.js

Working with the Slack API in Node.js

Working with Zip Files in Node.js

Sending Emails from Node.js Using the Mailgun API

Rubber Duck Debugging For JavaScript Developers

What JavaScript Developers Should Know About Curl

A Practical Guide to moment-timezone

New eBook: Mastering Mongoose

Accepting Stripe Payments with Node.js

Creating ePub Files with Node.js

Understand JavaScript Reduce With 5 Examples

What is the `toJSON()` Function in JavaScript?

Working With AWS Route 53 in Node.js

Working With PDFs in Node.js Using pdf-lib

GitHub OAuth Login with Node.js

Building a Code Editor with CodeMirror

Tips and Tricks for Working From Home

What's New in Mongoose 5.9: SchemaType Default Options and Better Populate Limit

Building a GitHub App With Node.js

When Should You Use MongoDB Indexes?

Passport-Free Facebook Login with Node.js

1000 Days of Code: Lessons from a 4 Year GitHub Streak

An Overview of JSX With 3 Non-React Examples

Implementing an OAuth Server With Node.js and Express

Why I Work Remotely

What's New in Mongoose 5.8: `Schema#pick()` and Better Stack Traces

My 3 Favorite JavaScript Interview Questions

Understanding JavaScript's Prototype-Based Inheritance

Formatting JavaScript Dates with Moment.js

The 80/20 Guide to SVGs in JavaScript

Mongoose Design Pattern: Store What You Query For

The 80/20 Guide to Maps in JavaScript

What's New in Mongoose 5.7: Conditional Immutability, Faster Document Arrays

A Practical Guide to Symbols in JavaScript

Async Generator Functions in JavaScript

Control Chrome from Node.js with Puppeteer

Async Await Error Handling in JavaScript

Async Functions in JavaScript

What's New in Mongoose 5.6.0: Immutable Properties

The 80/20 Guide to JavaScript Arrays

Testing Vue Apps with Puppeteer and Mocha

The 80/20 Guide to JSON.stringify in JavaScript

The 80/20 Guide to Promises in Node.js

What's New in Node.js 12: Private Class Fields

Slow Trains in MongoDB and Node.js

What's New in Node.js 12: ESM Imports

What's New in Mongoose 5.5: Static Hooks, Populate Match Functions

The 80/20 Guide to npx

An Introduction to npm

String Replace in JavaScript

Building a Form with Vue.js

An Overview of ES6 Classes

How find() Works in Mongoose

For vs forEach() vs for/in vs for/of in JavaScript

A Practical Introduction to GeoJSON with Node.js

Convert Values to Strings in JavaScript with Archetype

What's New in ES2019: Array flat and flatMap, Object.fromEntries

Object.assign vs Object Spread in Node.js

Convert a String to a Number in JavaScript

What's New in Mongoose 5.4: Model Events and Populate Count

Async Stack Traces in Node.js 12

What's New in Mongoose 5.4: Global SchemaType Configuration

Mongoose Prototype Pollution Vulnerability Disclosure

10 Lessons from My 20's

Accepting Credit Cards with Stripe Elements and Preact

Static Properties in JavaScript Classes with Inheritance

Building a Form with Preact

Creating and Reading QR Codes with Node.js

What's New in Mongoose 5.3: Async Iterators

What's New in Mongoose 5.3: `orFail()` and Global `toObject` Options

A Beginner's Guide to Redux-Observable

Bundling a Node.js Function for AWS Lambda with Webpack

Keeping a Changelog in Node.js

Using Monogram to Upgrade From MongoDB Node Driver 2.x to 3.x

An Overview of BigInt in Node.js

Introducing Awaitjs-Express: Async Function Support for Express

Building a Serverless App with MongoDB Stitch

An Overview of Buffers in Node.js

An Overview of Destructuring Assignments in Node.js

Offline Caching With Service Workers

Web Analytics with MongoDB Stitch

Redux Saga vs Async/Await

Getting Started with Async Iterators in Node.js

Testing a Vanilla JS App with Cypress

Building REST APIs with Async/Await and Fastify

What's New in Mongoose 5.2.0: syncIndexes()

A Node.js Perspective on MongoDB 4.0: Transactions

Introducing run-rs, a Zero Config MongoDB Replica Set Runner

Async/Await with React and Redux using Thunks

New Ebook: Mastering Async/Await

Stock Price Notifications with Mongoose and MongoDB Change Streams

Announcing Acquit 1.0.0: Generate Docs from Mocha Tests

Getting Started With Ripple (XRP) and Node.js

What's New in Mongoose 5.1: Map Support

Sending Web Push Notifications from Node.js

The Difference Between Async/Await and Generators

Getting Started With Google Cloud Functions and MongoDB

Write Your Own Node.js Promise Library from Scratch

Getting Started With IBM Cloud Functions and MongoDB

Getting Started With Azure Functions and MongoDB

Single Link Clustering with Node.js

Building a Wine Tasting Neural Network with Node.js

Algorithm Interview Questions in JavaScript: Glob Matching

Using Promise.prototype.finally in Node.js

A Node.js Perspective on MongoDB 3.6: $lookup and $expr

A Node.js Perspective on MongoDB 3.6: Change Streams

A Node.js Perspective on MongoDB 3.6: Array Filters

What's New in Mongoose 5: Improved Connections

What's New in Mongoose 5: Improved Post Hooks

Preview: Write Your Own Express.js From Scratch

Introducing Mongoose 5.0.0-rc0

Wrangling GeoJSON with Turf.js

Managing Embedded Documents with Monogram

What's New In Mongoose 4.13: Aggregation Middleware

What's New In Mongoose 4.13: Dynamic Refs and Fields for Virtual Populate

Mutual Exclusion Patterns with Node.js Promises

What's New in Mongoose 4.12: Errors for Custom Query Functions

What's New in Mongoose 4.12: Improved Connection Events

What's New in Mongoose 4.12: Single Embedded Discriminators

Casting and Validating GeoJSON With Archetype

Managing Connections with the MongoDB Node.js Driver

Queueing Function Calls with Node.js and MongoDB

Thoughts on User Passwords in REST APIs

The 80/20 Guide to Express Error Handling

The Importance of APIs in a Full Stack World

Introducing Monogram, the Anti-ODM for Node.js and MongoDB

What's New in Mongoose 4.11: useMongoClient

What's New in Mongoose 4.11: Virtuals with Lean Queries

Enforcing Uniqueness With MongoDB Partial Indexes in Node.js

What's New in Mongoose 4.10: The runSettersOnQuery Option

Building Your Own Load Balancer with ExpressJS

Using Async/Await with Mocha, Express, and Mongoose

What's New in Mongoose 4.10: Unique in Arrays

Building a Realtime Chat With Next.js and PubNub

Standalone Express API Binaries with pkg

Building a Next.js App With MongoDB

Basic Functional Programming With Async/Await

Server-side Rendering With Preact and Firebase

Unhandled Promise Rejections in Node.js

Node.js Task Scheduling With Agenda and MongoDB

Managing Node.js Versions Without External Tools

Common Async/Await Design Patterns in Node.js

The 80/20 Guide to Async/Await in Node.js

Getting Started With WebAssembly in Node.js

A Node.js Perspective on MongoDB 3.4: Collations

Building REST APIs with Observables

The saveErrorIfNotFound Option in Mongoose 4.8

Embedded Discriminators in Mongoose 4.8

A Node.js Perspective on MongoDB 3.4: Decimal Type

A Node.js Perspective on MongoDB 3.4: $facet

A Node.js Perspective on MongoDB 3.4: $graphLookup

Casting MongoDB Queries with Archetype

Static Typing is Dead: Runtime Type Casting with Archetype

This Thanksgiving I'm Thankful for Observables

10 Lessons from 10 Years as a Software Engineer

Thoughts on ES6 Proxies Performance

The 80/20 Guide to MongoDB Geospatial Queries

Using Ramda as a Dependency Injector

Mongoose 4.5 Custom Query Methods

Mongoose 4.5 Virtual Populate

Mongoose 4.5 Error Handling

React Native: The Bad Parts

Cursors in Mongoose 4.5

3 Common Co Design Patterns

I Don't Want To Hire You If You Can't Reverse a Binary Tree

GitHub is My Favorite Private npm Registry

Replacing AngularJS' $httpBackend With Superagent

Setting Up Circle CI With Node.js

Diving Into React Native Java to Keep the Android Screen On

Write Your Own Co Using ES2015 Generators

Introducing Dookie, A Better Way To Import/Export MongoDB Data

3 Neat Tricks With npm run

Introducing The 80/20 Guide to ES2015 Generators

Mongoose 2015 Year in Review

A Node.js Perspective on MongoDB 3.2, Part 2: $lookup and $sample

A Node.js Perspective on MongoDB 3.2: Bitwise Query Operators

Ionic Framework and LoopBack, Part IV: Testing with Travis

The MongoDB Node.js Driver's New Streaming GridFS API

Ionic Framework and LoopBack, Part III: Building an Ionic App

Ionic Framework and LoopBack, Part II: Directives with the AngularJS LoopBack SDK

Ionic Framework and LoopBack, Part I: Building a LoopBack REST API

An 80/20 Guide to Mongoose Discriminators

Crunching NBA Finals History with MongoDB

Testing AngularJS Directives

Testing Client-side JavaScript with Karma

An 80/20 Guide to ECMAScript 6 Proxies

Shippable: An Alternative Take on Travis

Callback Hell is a Myth

Testing and Documenting Node.js APIs with Mocha and Acquit

An 80/20 Guide to Mongoose Plugins

Why I (Almost) Never Use npm's -g Flag

Better AngularJS Form Validation with Mongoose

Building Better npm Modules with Travis and Coveralls

Static Site Generators are Overkill

An 80/20 Guide to AngularJS HTTP Interceptors

Creating REST APIs and Clients with LoopBack and AngularJS

What's new in Mongoose 3.9.7

New Blog and Book Announcement

Defending Against Query Selector Injection Attacks

The Future of MongooseJS

What's New in Mongoose 3.8.9

A NodeJS Perspective on What's New in MongoDB 2.6, Part II: Aggregation $out

A NodeJS Perspective on What's New in MongoDB 2.6, Part I: Text Search

Plugging USDA Nutrition Data into MongoDB

Why Math is Necessary for CS Majors

The Optimal Setup for Listening to Talks at 2x Playback Speed

Crunching 30 Years of NBA Data with MongoDB Aggregation

What You Need To Know About AngularJS Data Binding

My Top 5 Paleo Lifestyle Hacks for New Yorkers

The 80/20 Guide to Writing and Using AngularJS Filters

Want To Ace Your Next Developer Interview? Channel Andrew Luck

Price Internationalization with the MEAN Stack

The 80/20 Guide to Writing AngularJS Directives

Introduction to the MEAN Stack, Part Two: Building and Testing a To-do List

Introduction to the MEAN Stack, Part One: Setting Up Your Tools

8 Reasons Why Better Nutrition Makes You a Better Developer

Mistakes You're Probably Making With MongooseJS, And How To Fix Them

How to Easily Validate Any Form Ever Using AngularJS

The MEAN Stack: MongoDB, ExpressJS, AngularJS, and Node.js