API

Showing 1-9 of 27 results
EngineeringIcon ChevronWeb Front-end

How to Build a Role-based API with Firebase Authentication

By Joaquin Cid

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.

15 minute readContinue Reading
EngineeringIcon ChevronBack-end

Creating Your First GraphQL API

By Ioram Gordadze

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.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Approach Modern WordPress Development (Part 2)

By Andrey Shalashov

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.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

How to Approach Modern WordPress Development (Part 1)

By Andrey Shalashov

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!

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Working With TypeScript, Dependency Injection, and Discord Bots

By Michał Krakiewicz

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.

10 minute readContinue Reading
EngineeringIcon ChevronTechnology

Five Battle-tested Techniques Your WordPress API Developer Isn't Using

By Scott Fennell

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.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

Smart Node.js Form Validation

By Andrej Adamcik

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.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

ActiveResource.js: Building a Powerful JavaScript SDK For Your JSON API, Fast

By Nick Landgrebe

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.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

5 Things You Have Never Done With a REST Specification

By Alexander Zinchuk

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.

13 minute readContinue Reading

Join the Toptal® community.