Back-end

Showing 1-9 of 44 results
EngineeringIcon ChevronBack-end

Using Express.js Routes for Promise-based Error Handling

by Vitaly Senko

Maintainable Express.js code after scaling means making common code more feature-rich while reducing boilerplate. Find out how to enable promise-based route code and centralize both error handling and normal-results handling in Express.js apps.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

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
EngineeringIcon ChevronBack-end

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
EngineeringIcon ChevronBack-end

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
EngineeringIcon ChevronBack-end

Create a WhatsApp Chatbot, Not an App

by Aminadav Glickshtein

Feedback on an enterprise web app prompted an experiment. Could a WhatsApp chatbot replace it? Would people like it better? Would it be more useful?

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Language Server Protocol Tutorial: From VSCode to Vim

by Jeremy Greer

The main artifact of all your work is most likely plain text files. So why don't you use Notepad to create them? Find out how the Language Server Protocol can transform text editors into code editors, without coupling.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Keep It Encrypted, Keep It Safe: Working with ESNI, DoH, and DoT

by Brian Wojtczak

Internet privacy's cutting-edge technology includes encrypted server name indication (ESNI) and encrypted DNS in the form of DNS over HTTPS (DoH). Find out what they are, why they exist, and how they work.

11 minute readContinue Reading
EngineeringIcon ChevronBack-end

Performance and Efficiency: Working with HTTP/3

by Brian Wojtczak

HTTP/3 is on the horizon, but many aren't even familiar with HTTP/2 yet. Find out what HTTP/3 means for web development, administration, and the internet.

15 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

The Strengths and Benefits of Micro Frontends

by Bob Myers

Micro-frontend architectures decompose a front-end app into individual, semi-independent "microapps" working loosely together. This can help make large projects more manageable, e.g. when transitioning from legacy codebases.

12 minute readContinue Reading

Join the Toptal® community.