Posts Tagged: Express

Building a Simple Node.js Express API

At the end of my last post, Connecting MongoDB to Node.js, I walked through a brief example of how to connect a local MongoDB server to a Node.js Express app. We finished with an app that basically does nothing except create a model for a Todo and connect to a local Mongo database. So if...

Read More

Connecting MongoDB to Node.js

If you read my post Getting Started with MongoDB, I went over some basic instructions to start a mongoDB server on a windows PC. This post will be all about connecting that database to a local Node.js express back-end, so if you aren’t up to speed with Mongo be sure to check out that post...

Read More