Nearly every app requires an authorization system on top of an authentication system. We often need a fine-grained permissions model to allow only specific users to access certain resources while simultaneously restricting access for everyone else. In this tutorial, Toptal Freelance Firebase Developer Joaquin Cid teaches how to build just such a system. Called role-based authentication, we'll learn how to implement this system in an API using Node.js and Firebase.
GraphQL is a domain-specific language for data query and manipulation by Facebook. It is meant to replace the de facto REST standard in API creation. In this article, Toptal Freelance GraphQL Developer Ioram Gordadze creates a GraphQL API from scratch, summarizing problems new GraphQL developers face. He also teaches us to rethink the standard methods used in REST APIs in a more GraphQL-friendly manner.
WordPress code, especially back-end PHP code, is often a mess—even in WP core! But legacy code is no excuse. Find out how to develop WP customizations the right way, so your code is readable and maintainable.
It's no secret that the WordPress codebase is a mess. Many developers use its legacy code as an excuse for writing sloppy code themselves, even if its newer additions follow best practices. If this is you, it's time to level up your skills!
Types and testable code are two of the most effective ways of avoiding bugs. In this tutorial, discover TypeScript best practices while you create a Discord bot from scratch.
One of the best ways to elevate your status as a WordPress developer, at least in the eyes of your clients, is to become skilled at writing API consumers. In this article, Toptal Freelance WordPress Developer Scott Fennell guides you through five techniques that will help you create powerful WordPress API clients to perfectly suit your needs.
Bulletproof data validation is fundamental to implementing a back-end API. Find out how datalize, a Node.js library, makes this easy—and formats your data nicely, too.
As simple as your RESTful API may be, even internal users will want a JavaScript package that will do all the heavy lifting for them. Why build each CRUD request by hand, or worse, deal with related resources using custom code for every scenario? With ActiveResource.js, you don't have to.
The existence of RESTful APIs is a popular myth in web development—but it's a myth we can work with. The right tools can help keep documentation consistent and streamline automated testing. In this article, Toptal Freelance JavaScript Developer Alexander Zinchuk explores several time-saving approaches to developing REST APIs, with examples in Node.js and Ruby on Rails.
World-class articles, delivered weekly.
Subscription implies consent to our privacy policy
Thank you!
Check out your inbox to confirm your invite.
Join the Toptal® community.