Learn how to build RESTful web APIs with Node.js and integrate with real-world APIs such as Twitter, Facebook, and GitHub.
- [Saleh] Welcome to RESTful Web API Design with Node.js video course by Packt Publishing. I am Saleh Hamedeh, and I am a senior computer science student at Georgia Tech. At Georgia Tech I serve as president of gt-webdev, the university's web development club. Throughout my college years I worked with web applications and APIs at two companies, BrainJocks and Yahoo! You can find me at www.shamedeh.com A RESTful API is the best solution to integrate applications built on multiple platforms, such as Android, iOS and web.
In this course you will use Node.js and Express to consume and build RESTful APIs. In section one, we learn what REST is, both in theory and in practice. In section two, we build a client for Twitter's REST API. In section three, we develop our own RESTful API server, and build a web client that uses that API. In section four, we take a deep dive into two real world APIs, to learn about some of their design decisions.
And finally in section five, we look at tools and techniques that help us deliver high quality APIs. Throughout the course you will build Twitter Notes, an application that allows us to post notes on our friends on Twitter. We will use Twitter's API to implement login, and download the friends, and then we will build our own API to add the notes feature. After we build the API, we will write acceptance tests and perform load tests to ensure that the API works correctly and efficiently.
And we will be able to build APIs that anyone can easily use. Let's start building those APIs.
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