This video deals with setting up the development environment so that we are ready to create our application.
- View Offline
- Hello and welcome to the last video of the section.…In the previous video, we learned about…the REST architecture. In this video,…we are going to get our hands dirty.…We will create an Express.js application.…Express.js is a lightweight Node.js web framework.…Then, we will generate Twitter API keys so that we can…gain access to Twitter's data. Finally, we will install…MongoDB. MongoDB is a document based database…that we can use to store user data.…Before we create an Express.js application, let us look…at what Express.js can do for us. As a web framework,…Express.js gives us an interface for accepting HTTP requests…on any port. Reading the data in HTTP requests,…which includes HTTP methods, URL paths, headers, or bodies.…
Creating HTTP responses, and sending the responses…back to the clients.…To create an Express.js application, we first need to…create a Node.js application. Let's do that.…First, let's start by creating a directory for our…application. We will name our directory twitter-notes.…Let's go into that directory, and draw an npm in it.…
This Node.js training course gives you an overview of a RESTful API and the logical steps of building one. It explores three different APIs, focusing on their similarities and differences to effectively implement one. Author Saleh Hamadeh starts off by defining APIs, showing how they can be built on top of HTTP and listing the properties that make an API RESTful. Then learn how to develop Twitter Notes, a sample web application that lets its users leave notes for their Twitter friends. You'll use Twitter's API to implement a login flow and then design a web API. In addition, you'll get a closer look at two other real-world APIs—Facebook API and GitHub API. Finally, learn some best practices to keep APIs secure, maintainable, and efficient.
- Identifying REST resources
- Setting up the development environment
- Consuming a RESTful API
- Creating an OAuth login request
- Getting an access token
- Saving data in MongoDB
- Building a RESTful API
- Looking at APIs in the real world
- Best practices for building RESTful APIs