Back-end

Showing 1-8 of 268 results

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

by Marcos Henrique da Silva

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

Solving Bottlenecks With SQL Indexes and Partitions

by Mirko Marović

Indexes and partitioning can help with SQL performance, but they're not cure-alls. Through everyday examples of date range and LIKE queries, find out how to "think like an RDBMS" to make yours run faster.

14 minute readContinue Reading

Linters Implemented by Ruby Libraries

by Robert Pankowecki

When you hear the word “linter,” you probably think about particular widely used tools. But there’s a different kind of linters. In this article, Toptal Back-end Architect Robert Pankowecki introduces you to linters implemented by Ruby libraries and details their capabilities.

8 minute readContinue Reading

Reduce Boilerplate Code With Scala Macros and Quasiquotes

by Alain-Michel Chomnoue Nghemning

The concise syntax of Scala usually helps developers avoid writing boilerplate. When repetitive code is required anyway, developers can use macros and quasiquotes to keep code clean and maintainable. Here's how.

6 minute readContinue Reading

A Kubernetes Service Mesh Comparison

by Guillaume Dury

As microservices architecture continues to evolve, interservice communication has become a significant challenge to manage. Service meshes are becoming the standard solution, but how do popular and up-and-coming service meshes compare?

25 minute readContinue Reading

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

by Marcos Henrique da Silva

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

Billing Extraction: A Tale of GraphQL Internal API Optimization

by Maciek Rząsa

Extracting functional components from a monolithic app into a service can be a daunting task but choosing the right tools and techniques for the job can expedite the process. In this article, Toptal Back-end Engineer Maciek Rzasa recounts how his team extracted billing functionality from the Toptal platform and how they overcame a series of performance issues.

11 minute readContinue Reading

The Definitive Guide to DateTime Manipulation

by Punit Jajodia

Time and date manipulation is notoriously difficult. Developers encountering time zone rules, leap seconds, differences in locale-specific formatting are wise to resort to popular time and date manipulation libraries. But without thinking about how exactly they work, it's still easy to create all sorts of obscure bugs.

23 minute readContinue Reading

Join the Toptal® community.