Back-end

Showing 1-8 of 265 results

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

Enhanced Git Flow Explained

by Daniel Ivanov

Git provides basic branching operations, but advanced patterns are left up to the user. The popular "Git flow" branching model helps, but can also complicate some common procedures. Thankfully, a new variation retains the benefits, while streamlining everyday work.

14 minute readContinue Reading

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

by Marcos Henrique da Silva

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

Spring Security with JWT for REST API

by Ioram Gordadze

The Spring Security framework is the de facto industry standard when it comes to securing Spring-based apps, but it can be tricky to configure. In this article, Toptal Software Engineer Ioram Gordadze demonstrates how you can implement it without wasting too much time.

15 minute readContinue Reading

Join the Toptal® community.