node.js

A 6-post collection

MEAN and Cosmos DB - Part 5: Querying Cosmos DB

Building MEAN Apps with Cosmos DB - Part 5: Querying Cosmos DB I've released a new videos series that shows how to build MEAN apps using Cosmos DB. Each video in the series will be a couple of minutes and show how each part of the application works. This next video shows how to connect to the MongoDB database with Azure Cosmos DB, using Mongoose, and query it for data. This video series explores: Exploring the Angular, Express, Node, and Cosmos DB app Building the Node.js and Express.js app, along with the Angular CLI Angular and Express APIs Creating and Deploying Cosmos DB Querying Cosmos DB Coming Soon Coming Soon Topics will include: Building and running the API...


MEAN and Cosmos DB - Part 4: Creating and Deploying Cosmos DB

Building MEAN Apps with Cosmos DB - Part 4: Creating and Deploying Cosmos DB I've released a new videos series that shows how to build MEAN apps using Cosmos DB. Each video in the series will be a couple of minutes and show how each part of the application works. This next video shows how to create the MongoDB database with Azure Cosmos DB, and deploy it to Azure. This video series explores: Exploring the Angular, Express, Node, and Cosmos DB app Building the Node.js and Express.js app, along with the Angular CLI Angular and Express APIs Creating and Deploying Cosmos DB Querying Cosmos DB Coming Soon Coming Soon Topics will include: Building and running the API with...


MEAN and Cosmos DB - Part 3: Angular and Express APIs

Building MEAN Apps with Cosmos DB - Part 3: Angular and Expres APIs I've released a new videos series that shows how to build MEAN apps using Cosmos DB. Each video in the series will be a couple of minutes and show how each part of the application works. This next video shows how to create the UI with Angular and connect to the Express APIs. I build out the Angular component to show the heroes list, and to allow editing, inserting, and deleting of heroes. I create the Angular service that connects to the Express APIs and run it in the browser! This video series explores: Exploring the Angular, Express, Node, and Cosmos DB app Building the Node.js...


MEAN and Cosmos DB - Part 1: Introduction

Building MEAN Apps with Cosmos DB I've released a new video series that shows how to build MEAN apps using Cosmos DB. Each video in the series will be a couple of minutes and show how each part of the application works. The first video is out now (see below)! I build a lot of apps with MongoDB, Express, Angular and Node (MEAN). MongoDB just works so well with these, but recently I've been using Cosmos DB on Azure in its place because it's easy to use, scale, is super fast, and I don't have to change how I code. Cosmos DB makes it easy to step right in where I used to use Mongo, because it lets me use...


Multiple Versions of Node with n

What happens when a new version of node is released? What if you need version 0.10.36 for one app and 4.4.2 for another? Did you know version 6 is out now too? Yikes! it would be great if we could manage multiple versions of node on the same computer. Well, we can with n or nvm! These are 2 different tools that allow us to host multiple versions of node. We can use it to select which version to activate, and the toggle back to another version in seconds. They are super helpful. I prefer n, but it only works on a Mac. We can install it by running npm i -g n. Simply run n...