Oreilly - RESTful API Design with Node, Express, and MongoDB
by Leart Gjoni | Publisher: Packt Publishing | Release Date: April 2019 | ISBN: 9781838642723
Master REST APIs by implementing best practicesAbout This VideoBuild efficient and secure RESTful web APIsEfficiently use outlined techniques to build reliable and highly available REST-based applicationsApply best practices to your solution architecturesIn DetailThe convergence of social networking, cloud computing, and the era of mobile applications has created a new generation of emerging technologies that allow different networked devices to communicate with each other over the Internet via REST.REST provides the benefits of being stateless; easing scalability, visibility, and reliability; and being platform- and language-agnostic. This course is a practical, hands-on guide that provides you with clear and pragmatic information so you can take advantage of the real power of RESTful services; it gives you a solid foundation from which to use them in your applications.In this course, you will master various design principles for building RESTful services. You will understand advanced topics related to OAuth and security with respect to RESTful services. This course also takes you through caching techniques, validation, rate-limiting, asynchronous operations, and other best practices to improve application responsiveness. It delves into best practices for performing pagination, documentation, and testing RESTful services.By the end of the course, you will be able to successfully use the concepts you've learned about to design and implement applications based on RESTful services.Downloading the example code for this course: You can download the example code files for this course on GitHub at the following link: https://github.com/PacktPublishing/RESTful-API-Design-with-Node-Express-and-MongoDB. If you require support please email:
[email protected] - Chapter 1 : Getting Ready with the Setup
- The Course Overview 00:04:06
- Instagram Clone API 00:06:32
- Setting Up the Development Environment 00:09:36
- Chapter 2 : RESTful API Concepts and Principles
- What Are RESTful APIs? 00:10:29
- Express App Boilerplate 00:05:41
- Integrate Error Handling 00:03:08
- Diving into Validations 00:05:42
- Consume and Test with Postman 00:03:27
- Chapter 3 : CRUD Operations to Create API
- Creating the Post Model 00:06:54
- Store Post and Multer 00:06:58
- Adding Post Index and Show Routes 00:03:58
- Update Post Route 00:03:22
- Delete Post Route 00:04:45
- Chapter 4 : Authentication and Security of the App
- JWT and User Model 00:05:58
- Passport for Authentication 00:07:47
- Login Endpoint 00:04:51
- Signup Endpoint 00:05:51
- Authenticate Routes 00:08:08
- Chapter 5 : Real-World Features Addition to API
- Following Feature Considerations 00:02:03
- User Schema Tweaks 00:02:33
- Follow Endpoint 00:03:03
- Fix Posts Index Route 00:02:34
- Consume and Test New Features 00:07:36
- Chapter 6 : Advanced Concepts - Caching and Rate Limiting
- Add Posts Pagination 00:06:34
- Integrate Rate Limiting 00:05:39
- Discover Caching and Redis 00:06:36
- How to Cache Queries? 00:05:55
- Serve Valid Data 00:04:33
- Chapter 7 : Deploying the Application for Public
- Explore the Cloud Provider 00:04:33
- Explore the Database Provider 00:04:28
- Production Tweaks to Codebase 00:07:25
- Final Testing of Public API 00:05:00
- Wrap-Up 00:05:44