Mongoose.js connects your MongoDB clusters or collections with your Node.js app. It enables you to create schemas for your documents. Mongoose provides a lot...
Topic: Node.js
How to Create a Simple REST API using TypeScript and Node.js
Typescript is a superset of JavaScript with additional features such as static types checking. Typescript is gaining a lot of popularity among JavaScript...
Session Management in Node.js using ExpressJS and Express Session
A website is based on the HTTP protocol. HTTP is a stateless protocol which means at the end of every request and response cycle, the client and the server...
A Vanilla Node.js REST API without Frameworks such us Express
Node.js is a very popular JavaScript framework. It shines most when used to build back-end services and APIs. Node.js developers often utilize...
Getting Started with Push Notifications in Node.js using Service Workers
A push notification is a message that pops on the screen when a mobile or a web application is performing another activity. In modern web applications, push...
How to Generate QR Code Using Node.js
Have you ever wanted to build an application that generates QR codes of text or URLs using Node.js? If so, then you are in the right place. In this tutorial,...
How to use CORS in Node.js with Express
Node.js is an open-source and cross-platform runtime used when executing JavaScript code on the server-side. One of the popular Node.js server frameworks is...
How to Get SSL HTTPS for Localhost
This article will take you through the process of provisioning SSL certificates for local servers. Building a web application for a production server requires...
Documenting a Node.js REST API using Swagger
Swagger is a software tool used for designing, building, documenting, and using RESTful APIs. It follows the OpenAPI specification. An API (Application...