REST

Showing 1-9 of 17 results

Share

gRPC vs. REST: Getting Started With the Best API Protocol

gRPC, REST’s up-and-coming competitor, approaches synchronous communication from another angle, offering protocol buffers and typed contracts. What does that mean for your project?

9 minute readContinue Reading
Laszlo Gyori

Laszlo Gyori

Building a Node.js/TypeScript REST API, Part 3: MongoDB, Authentication, and Automated Tests

Our Express.js REST API series ends with a bang! Learn how to add a Dockerized MongoDB instance, Mongoose, JWT authentication, user permissions, and automated testing with Mocha, Chai, and SuperTest.

25+ minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

Building a Node.js/TypeScript REST API, Part 2: Models, Middleware, and Services

The Express.js REST API journey continues! Move from models to full DAOs and DTOs, validate requests with middleware, separate services from controllers, and prepare for a real database.

17 minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

Building a Node.js/TypeScript REST API, Part 1: Express.js

Learn practical TypeScript patterns with interfaces and extended classes. Avoid messy console.log() statements with Winston and the Node.js debug module. Create an Express.js-powered REST API back end from scratch!

12 minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

Creating a Secure REST API in Node.js

As patterns go, REST APIs are so useful and ubiquitous that every web developer, regardless of language or platform, should know how to build them.

In this article, Toptal JavaScript Developer Marcos Henrique da Silva shows how to create a simple and secure REST API for user management on Node.js.

13 minute readContinue Reading
Marcos Henrique da Silva

Marcos Henrique da Silva

High-performing Apps With Python: A FastAPI Tutorial

Good programming language frameworks make it easy to produce quality products faster. Great frameworks even make the whole development experience enjoyable. FastAPI is a new Python web framework that’s powerful and enjoyable to use.

7 minute readContinue Reading
Zubair Ahmed

Zubair Ahmed

The Back End: Using Gatsby.js and Node.js for Static Site Updates

Static websites are simple and fast, but it’s also possible to automate updates to them to keep them fresh and relevant. Find out how to generate daily-updated HTML pages that track the latest releases of popular GitHub repositories.

10 minute readContinue Reading
Furkan Yavuz

Furkan Yavuz

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

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
Nick Landgrebe

Nick Landgrebe

5 Things You Have Never Done With a REST Specification

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
Alexander Zinchuk

Alexander Zinchuk

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.