Category: Node.js

Recent Post

Receive form data in Node.js (with and without files)

Receive form data that is url-encoded or of type 'multipart/form-data'

Get URL Parameters in Node.js

URL parameters are data in string format that can be added to the end of a URL.

Serve Static Files in Node.js with Express

You can use Express as a static file server for a HTML website or SPA.

Build a REST API with Node.js and Express

Express provides a simple sytnax for creating a REST API in Node.js.

NodeMailer Tutorial: Send Emails in Node.js

How to emails to one or more addresses and including attachments.

Handle a File Upload in Node.js and Express with Multer

Multer allows files and any additional form data to be easily parsed from a request.

How to Schedule Tasks in Node.js

You can schedule tasks in Node.js using the node-schedule library.

Get the IP address of a user in Node.js

You only need a one-liner to get the IP address of a user in Node.js.

Using the File System module (‘fs’) in Node.js

Running JavaScript in Node.js, you have access to the file system.