Getting Started With MongoDB, Node.js, and Restify

Getting Started With MongoDB, Node.js, and Restify

http://ift.tt/2rl0Nln

With the multitudes of JavaScript frameworks available these days, there are countless options for building APIs. Many users can become overwhelmed and lose sight of the most important factors when it comes to building a REST API: speed, ease of use, and overall presence of the framework in the JavaScript community. In this post, we’ll be covering how to set up a simple API with full CRUD operations using the ever-popular Restify framework backed by a MongoDB database. For sake of simplicity, we’ll create a basic “to-do” style API.

Installing Node.js

Let’s get started by installing Node.js (if you already have Node.js installed, feel free to skip to the next section of this post). If you are on a Mac, the easiest way to install Node.js is via Homebrew, a package manager for macOS.

java

via DZone.com Feed https://dzone.com

May 25, 2017 at 03:30PM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s