English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 2.5 Hours | 526 MB
In this hands-on course, you’ll learn how to use Node.js, Restify and Mongo to build a slick RESTful API in record time.
Node.js is quickly emerging a new and POWERFUL development framework — and it’s time that you learn it.
While many courses out there focus on giving you a theoretical understanding of Node.js but not much in the way of practical example, this course is the opposite. This course is a hands-on course and we’ll start creating our API right off the bat. In less than a couple hours, we’ll build a simple CRUD (Create/Read/Update/Delete) API that will help boost your confidence and motivate you to continue learning!
In this course, you’ll learn how to build a simple but robust RESTful API using the Node.js & Restify frameworks.
You’ll learn how to:
- Use Node.js and Restify to create fully RESTful APIs
- Leverage existing classes and frameworks to cut down development time
- Create a simple API with CRUD (Create/Read/Update/Delete) functionality
- Fetch user information from a remote Mongo database (DBaaS)
- Sanitize and validate data using CodeIgniter’s built in form validation libraries
Things that are good to have before taking this course:
- Javascript
- MVC (Model-View-Controller)
- Asynchronous callbacks and event-driven programming
- Node.js (not required, but a plus)
Table of Contents
Settings Things Up
1 Introduction
2 Course Philosophies
3 Prerequisites
4 Installing Node.js and npm
5 Some Quick Theory
The Building Blocks
6 Restify
7 A Closer Look at the Code
8 A Quirk of Working With Node.js
9 Nodemon
10 Testing your APIs with Postman
11 Creating a Fake Database
12 Our First User API Call
13 POST – Creating New Users
14 Server.use
15 A Sidenote When Testing Our API
16 GET – Fetching a User
17 PUT – Updating a User
18 DELETE – Deleting a User
Validation Re-factoring and Code Cleanup
19 Cleanup I Standardizing Our Responses
20 Cleanup II Error Handling
21 Cleanup III Going Modular
22 Parameter Validation
23 Parameter Validation Part II
Bringing in a Mongo Database
24 Creating a Remote Mongo Database
25 Mongoose
26 The User Model
27 Rounding Off Our GET API Calls
28 Rounding Off Our PUT DELETE API Calls
Extras and Other Fun Stuff
29 Using API Keys with Basic Auth
30 IP Whitelisting
31 API Throttling
32 Stay Tuned Early Birds
Resolve the captcha to access the links!