Project: lb_tinyurl

Express.js·1 min read·May 1, 2025

URL Icon

A URL shortener is an online service that allows users to convert long URLs into shorter and easier to share URLs. When users click on these shortened URLs, they are automatically redirected to the original URL.

The objective of this project is to build a URL shortener API with Express.js, that implements an error-handling middleware function that standardizes and centralizes server errors.

General instructions

Here are the general instructions to complete this project:

  1. The project's directory must be named lb_tinyurl.

  2. The project must be written in Node.js.

  3. The project must use the express and nanoid packages.

The server