Project: lb_pastebin
Express.js·1 min read·May 1, 2025

A pastebin is an online content-hosting service that allows users to store plain text snippets, such as text, links, source code, and more.
The objective of this project is to build a pastebin API with Express.js, that implements a multipurpose validation middleware that can selectively check route parameters, query string parameters, and message body of incoming HTTP requests.
General instructions
Here are the general instructions to complete this project:
-
The project's directory must be named
lb_pastebin. -
The project must be written in Node.js.
-
The project must use the
express,joi, andnanoidpackages. -
The service can use any type of data storage, such as a relational database, in-memory storage, and so on. If the service uses a database, it must connect to and interact with it using the Sequelize ORM.