This video explains the front end of the application. Look at the key user moments and then see how to test the user-perceived performance.
- [Saleh] In the previous video,…we looked at load testing our API…and at making the most of our service CPUs.…In this video, we will look at the other end…of the application, the front end.…We will start by looking at…the key user moments in web applications.…Then, we will look at how to test…the user perceived performance…using Chrome Dev Tools and Lighthouse.…Before we talk about user perceived performance,…let's ask ourselves,…why should we care about the front end?…After all, we are building an API.…
Oftentimes, we build APIs for our own applications.…For these applications, user perceived performance…is what really matters.…If our app's load happens on the front end,…no matter how we improve our API,…users will still feel that our web app is slow.…To measure user perceived performance,…we look our for three key user moments.…The first paint, the first meaningful paint…and the Time to Interactive.…
The first paint happens when anything on the page changes.…It could be the color of one pixel…or the background color of the entire page.…
This Node.js course gives you an overview of a RESTful API and the logical steps of creating one. It explores three different APIs, focusing on their similarities and differences and how to effectively implement one. Instructor 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. Learn how to develop Twitter Notes, a sample web application that lets users leave notes for their Twitter friends. Use Twitter's API to implement a login flow and then design a web API. Additionally, get a closer look at several other real-world APIs, and 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
- Testing user-perceived performance
- Looking at APIs in the real world
- Best practices for building RESTful APIs