Node.js Codeless API Creation: Up And Running With Swagger
4.1 (143 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
6,000 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Node.js Codeless API Creation: Up And Running With Swagger to your Wishlist.

Add to Wishlist

Node.js Codeless API Creation: Up And Running With Swagger

Use Swagger To Generate a Node.js API Without Knowing Any Code, Work with React(SPA) , and Load Test and Monitor A API
4.1 (143 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
6,000 students enrolled
Created by Dr. Luke Angel
Last updated 1/2017
English
Price: Free
Includes:
  • 1 hour on-demand video
  • 1 Article
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Build A Open Spec API using swagger and Node.js
  • Get a Node.js API up and running with no coding required
  • Understand how to edit the swagger yaml file
  • Be able to connect a Swagger Node.js API to a Elastic Search Database
  • Be able to connect a React Single Page Application (SPA) to a Node. js Swagger Generated API.
  • Be able to put up a endpoint in under 10 minutes with moc data being returned​
  • Set up monitoring on a Node.js Endpoint
  • Be able to load test a Node.js Swagger Generated API.
View Curriculum
Requirements
  • A general understanding of node.js would be good but not required
  • A general understanding of java script would be good but you can follow along with me.
Description

Hi and Welcome to Node API's: Up and Running with Swagger (Open API Spec).

In the Up and Running Series Courses we dive straight into the working examples. There are little to no slides in these courses. No long running intro videos and no installation videos. This is a learn by real world working example course. These courses are set up so that in about 1 hour you will be up and running with a new technology.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This course is complete but I released it as a ALPHA for FREE to get FEEDBACK. My goal is to make FIVE STAR courses  if there is anything missing please contact me so I can make this course a five star course for you. This course is new type of course that is I am trying out and its code only course so remember that I am not going to do slides installs or exercises. The goal is that I am going to walk you though the project as one big exercise. I made the course this way based on feedback from other courses i have. If you think it needs some additional information that its missing please let me know. Please remember this before your rate it harshly because you were expecting it to be made a certain way.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

In this course Luke Angel, a Sr. Technical Cross Platform Program Manager working at companies ranging from startups to Fortune 100's, building technology-driven marketing solutions with global reach and Netflix scale. Will guide through every step of creating a Node.JS API using Swagger. We will build a ToDo API that stores notes using the swagger OpenAPI Specification. We will start with a blank API definition and then using the Swagger Editor start to define the structure of API via its YAML structure. From there we will go open up several endpoints and Luke will show you how to implement all of the HTTP CRUD verbs (GET, POST, PUT, DELETE). From there we will see how you can work with passing in data from both the body and the query string.

   We then connect to both a MOC DB for testing and A Live Elastic Search instance for our data store.

  Once we have the API up and running its time to get a REACT Client Application(SPA) connected.  If that wasn't enough we learn how to build monitoring into our API server and then how to use how jMeter the open source load testing tool from Apache.

  Along the way, we will discover how to implement additional details required for a fully functional API such as authorization, authentication, requests and responses. We will also learn about the powerful capabilities of Swagger to generate server side code and client libraries.

     We will do all this in a byte size hour. Are you ready to get up and running with the some of the hottest tech in the market right now? Then Sign up to the course today.

By The End of the course you will be able to:

  1. Build A Open Spec API using swagger and Node.js
  2. Get a Node.js API up and running with no coding required
  3. Understand how to edit the swagger YAML file
  4. Be able to connect a Swagger Node.js API to a Elastic Search Database
  5. Be able to connect a React Single Page Application (SPA) to a Node. js Swagger Generated API. 
  6. Be able to put up a endpoint in under 10 minutes with moc data being returned
  7. Set up monitoring on a Node.js Endpoint
  8. Be able to load test a Node.js Swagger Generated API.
Who is the target audience?
  • Anyone who wants to put up a Application Programming Interface (API)
  • Those who don't have server technology experience but wish to gain this skill
  • Those who want to only have to write both client and server code in one language: Javascript
  • Those who want to grasp Swagger and Open API's
Students Who Viewed This Course Also Viewed
Curriculum For This Course
18 Lectures
01:02:10
+
Welcome
2 Lectures 02:07

Course Overview

Course Overview
01:43

this section has the exercise files for the course.

Exercise Files
00:24
+
Put up a API With No Code Using The Swagger Editor
7 Lectures 14:17

Swagger is a project used to describe restful APIs using the OpenAPI Specification. It allows you to document your API so consumers understand the endpoints, parameters, and responses. In this lesson, I'll show you how to install the swagger command line tool, create a new API project using swagger, and introduce you to the swagger API editor.

Generate our NODE.JS API Using The Swagger Generator
03:38

Schema definitions allow you to define the format and types of data sent and received by your API. This allows consumers of your API to be confident in using your API. In this lesson, you will learn how to create a schema definition for the Todo API server. 

Use Swaggers Editor To Modify Our API Schema Definition
02:21

Create A HTTP GET Endpoint For Our Swagger Generated Node.js API
01:22

Create A HTTP POST Endpoint For Our Swagger Generated Node.js API
01:31

Add URL Paramaters To Our HTTP GET Endpoint For Our Swagger Generated Node.Js API

Use Swagger To Add URL Paramaters to our GET Endpoint for our Node.js API
02:05

This lesson demonstrates how to access the ID of a Todo item being deleted from the URL parameters when used with an HTTP DELETE method.

Use Swagger To Create A DELETE Endpoint For Our Node.js API
01:42

In this lesson, you will learn how to define multiple parameters in the API specification to identify the ID of the Todo item being updated in the URL, as well as the contents for the updated Todo item in the body of the request.

Use Swagger To Create A PUT Endpoint For Our Node.Js API
01:38
+
Advanced Swagger Features
6 Lectures 23:53

APIs created with Swagger have a built-in mock function, allowing you to mock responses from your API prior to writing the backend code to make it functional. In addition to learning how to enable this feature, I will show you how to write your own functions to enhance the mock responses returned when using the Swagger mock feature.

Use Swagger To Create A MOCK Datastore For Our Node.Js API
03:20

This lesson will teach you how to create the javascript functions defined by the Swagger specification to return all Todo items to the client when requested with an HTTP GET method.

Create A Node.Js Function For An HTTP GET Request For A Swagger API
05:55

This lesson shows you how to create the functions defined in the Todo API specification to create new Todo items when received in HTTP POST methods. You will also see the errors you will get when CORS is not properly configured and how to resolve them by installing the NPM CORS package.

Create A Node.Js Function For An HTTP POST Request For A Swagger API
04:43

Create A Node.js function for an HTTP Get request with URL parameters
03:44

Create a Node.js function for an HTTP DELETE request for a Swagger API
03:06

This lesson will teach you how to update a Todo item in Elasticsearch when received from an HTTP PUT method in your API server built with Swagger.

Create a Node.js function for an HTTP PUT request for a Swagger API
03:05
+
Bonus Chapters
3 Lectures 21:53
Make A REACT Application And Connect It to Our Node.js API Created With Swagger
06:24

There are a lot of great monitoring tools available for Node.js. It is also incredibly easy to build monitoring into your application. In this lesson, we will add precision monitoring to the function calls in the Todo API server, log it to the console, and persist those results to Elasticsearch where they can later be reviewed, graphed, and analyzed.

Create A Monitoring Framework For OurNode.JS Api Server Created With Swagger
07:18

The last step before deploying your new API server into production is to load test it. Load testing allows you to better understand the performance characteristics as well as forecast load and capacity. Fortunately, load testing is incredibly easy and I'll show you exactly how to create a load test plan, test the response from the API server to ensure it is responding correctly, and scale your test up to simulate as many users as needed."

Load Testing Our Swagger Created Node.Js API Server Using Apache JMETER
08:11
About the Instructor
Dr. Luke Angel
4.0 Average rating
1,637 Reviews
22,531 Students
18 Courses
Sr. Technical Cross Platform Program Manager

Hello!

Thanks for looking at my courses. I am excited to bring you some awesome lessons I have learned along the way. I also love to talk about my favorite products that really help me stay ahead of the curve. I am an Architect, Developer, Product/Project Manger, and humble hustler focusing on building next generation application.

I am currently working as a Sr. Technical Cross Platform Program Manager at a Fortune 500 company building technology-driven marketing solutions with global reach and Netflix scale. I lead teams of developers to new heights by giving top of the line guidance on product deliverables, organizational techniques, and in general kicking butt. I hope you find my courses enjoyable and please contact me if you have any questions or would like any additional content covered that is not in one of the courses.

I am a PMP expert and PRINCE2 consultant.