Express.js

Showing 1-7 of 7 results

Share
Vitaly Senko

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
Marcos Henrique da Silva

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
Marcos Henrique da Silva

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
Marcos Henrique da Silva

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
Kevin Bloch

Cabin Fever Coding: A Node.js Back-end Tutorial

By Kevin Bloch
Missing the luxury of a good, old-fashioned remote control when the laptop is beyond easy reach? Transform your old smartphone into a remote and learn some basic Node.js/Express/Pug along the way.
16 minute readContinue Reading
Jovan Jovanovic

Let LoopBack Do It: A Walkthrough of the Node API Framework You've Been Dreaming Of

By Jovan Jovanovic
While Ruby has Rails and Python has Django, the dominant application development framework for Node has yet to be established. But, there is a powerful contender gaining steam: LoopBack, an open source API framework built by StrongLoop, the creators of Express. Let's take a closer look at LoopBack and it's capabilities by turning everything into practice and building an example application.
14 minute readContinue Reading
Alejandro Hernandez

Init.js: A Guide to the Why and How of Full-Stack JavaScript

By Alejandro Hernandez
After much thought, I decided to engineer a solution to the idea abandonment problem. I call it the ‘Init' project (or Init.js). The core of the idea is to have a single project to start them all, to let the developer or the technical founder make all of the essential decisions at once, and receive an appropriate starting template based on those decisions.
14 minute readContinue Reading

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.