Posts tagged "NodeJS"

Published: April 25 2023

Next.js 13 + MySQL - User Registration and Login Tutorial with Example App

In this tutorial we'll go through an example of how to build a simple user registration, login and user management (CRUD) application with Next.js and MySQL.
Published: April 13 2023

Next.js 13 Middleware for Authentication and Error Handling on API Routes

This is a quick post to show how to add authentication and error handling middleware to all API routes of a Next.js 13 application.
Published: April 11 2023

Next.js 13 + MongoDB - User Registration and Login Tutorial with Example App

In this tutorial we'll go through an example of how to build a simple user registration, login and user management (CRUD) application with Next.js and MongoDB.
Published: April 03 2023

Mongoose + MongoDB - Fix for MongoParseError: options usecreateindex, usefindandmodify are not supported

I updated a Node.js project this morning to use the latest version of Mongoose (7.0.3) to connect to MongoDB and received the following error on startup.
Published: March 31 2023

Next.js 11 + MongoDB - Connect to Mongo database with Mongoose

How to connect from Next.js to MongoDB using Mongoose, and automatically create/update the Mongo database from code.
Published: February 08 2023

React 18 Authentication with Node.js JWT API

How to implement authentication with a React 18 front-end app and Node.js back-end API
Published: February 03 2023

Angular 14 Authentication with Node.js JWT API

How to implement authentication with an Angular front-end app and Node.js back-end API
Published: February 03 2023

Vue 3 Authentication with Node.js JWT API

How to implement authentication with a Vue 3 front-end app and Node.js back-end API
Published: November 20 2022

Angular + Node.js - Connect an Angular App to a Node.js API

This is a quick post to show how to connect an Angular front-end app to a Node.js + Express 4 back-end API.
Published: July 01 2022

Node.js + MS SQL Server - Simple API for Authentication, Registration and User Management

Simple Node.js + MS SQL Server API that supports User Registration, Login and User Management. Includes example front end apps in React, Angular and Vue.
Published: June 30 2022

Node + MSSQL - Auto Create/Update SQL Server Database with Sequelize and Tedious

A quick post to show how to automatically create and update (sync) a SQL Server database on app startup using Sequelize and Tedious
Published: June 26 2022

Node.js + MySQL - Connect to MySQL database with Sequelize & MySQL2

How to connect from Node.js to MySQL using Sequelize & MySQL2, and automatically create/update the MySQL database from code.
Published: June 20 2022

Node.js + MSSQL - Connect to SQL Server with Sequelize & Tedious

How to connect from Node.js to MS SQL Server using Sequelize & Tedious, and automatically create/update the SQL Server database from code.
Published: June 18 2022

Node.js + MS SQL Server - CRUD API Example and Tutorial

Tutorial on how to build a simple Node.js + MS SQL Server API that supports CRUD operations. Includes example front end apps in React and Angular.
Published: November 22 2021

Node.js + MySQL - CRUD API Example and Tutorial

Tutorial on how to build a simple Node.js + MySQL API that supports CRUD operations. Includes example front end apps in React and Angular.
Published: September 18 2021

Node.js - Simple Proxy to Pass Through HTTP Requests to an External URL

This is a quick example of how to proxy an HTTP request through a Node.js server to an external URL and return the response.
Published: August 29 2021

Next.js - Basic HTTP Authentication Tutorial with Example App

How to build a simple full stack login application in Next.js that uses Basic HTTP Authentication.
Published: August 23 2021

Next.js API - Global Error Handler Example & Tutorial

This is a quick post to show how to implement a global exception handler in a Next.js API.
Published: August 20 2021

Next.js API - Add Middleware to API Routes Example & Tutorial

This is a quick post to show how to add middleware to the request pipeline of a Next.js API so it supports similar functionality to ExpressJS.
Published: August 19 2021
Last updated: March 31 2023

Next.js 11 - User Registration and Login Tutorial with Example App

In this tutorial we'll go through an example of how to build a simple user registration, login and user management (CRUD) application with Next.js.
Published: August 04 2021

Next.js 11 - JWT Authentication Tutorial with Example App

This tutorial shows how to build a simple full stack login application in Next.js that uses JWT authentication.
Published: April 20 2021

Next.js 10 - CRUD Example with React Hook Form

This tutorial shows how to build a basic Next.js CRUD application with the React Hook Form library that includes pages that list, add, edit and delete records using Next.js API routes.
Published: September 17 2020

Sequelize + MySQL - Create database if it doesn't exist

This is a quick post to show how to automatically create a MySQL database on app startup with Sequelize if the database doesn't already exist.
Published: September 08 2020

Node.js + MySQL - Boilerplate API with Email Sign Up, Verification, Authentication & Forgot Password

How to build a boilerplate authentication API with Node.js and MySQL that includes email sign up & verification, authentication & role based authorization, forgot password & reset password functionality, account management (CRUD) routes with role based access control, and Swagger documentation.
Published: August 18 2020

Node.js + MySQL - Simple API for Authentication, Registration and User Management

Simple Node.js + MySQL API that supports User Registration, Login and User Management. Uses Sequelize ORM and includes example client apps built with React, Angular & Vue.
Published: July 22 2020

Node.js + Express API - Request Schema Validation with Joi

This is a quick example of how to validate HTTP request data using the joi schema validation library in a Node.js + Express API.
Published: July 20 2020

Node.js - Send Emails via SMTP with Nodemailer

This is a quick example of how to send an email in Node.js using the nodemailer email sending module.
Published: July 20 2020

Node.js - Hash and Verify Passwords with Bcrypt

This is a quick example of how to hash and verify passwords in Node.js using the bcryptjs password hashing library which is a pure JavaScript implementation of the bcrypt password hashing function.
Published: June 17 2020
Last updated: July 02 2020

Node.js + MongoDB API - JWT Authentication with Refresh Tokens

How to implement JWT authentication with refresh tokens in an Node.js + MongoDB API. Includes example client app built with Angular.
Published: May 13 2020
Last updated: August 30 2020

Node + Mongo - Boilerplate API with Email Sign Up, Verification, Authentication & Forgot Password

How to build a boilerplate authentication API with Node.js and MongoDB that includes email sign up & verification, authentication & role based authorization, forgot password & reset password functionality, account management (CRUD) routes with role based access control, and Swagger documentation.
Published: December 14 2019
Last updated: January 23 2020

Vue.js + Node.js on AWS - How to Deploy a MEVN Stack App to Amazon EC2

In this tutorial we're going to setup a production ready web server from scratch on the Amazon EC2 (Elastic Compute Cloud) service, then deploy a custom MEVN Stack application to it that supports user registration and authentication.
Published: December 02 2019
Last updated: January 20 2020

Angular + Node.js on AWS - How to Deploy a MEAN Stack App to Amazon EC2

In this tutorial we're going to setup a production ready web server from scratch on the Amazon EC2 (Elastic Compute Cloud) service, then deploy a custom MEAN Stack application to it that supports user registration and authentication.
Published: November 18 2019
Last updated: January 22 2020

React + Node.js on AWS - How to Deploy a MERN Stack App to Amazon EC2

In this tutorial we're going to setup a production ready web server from scratch on the Amazon EC2 (Elastic Compute Cloud) service, then deploy a custom MERN Stack application to it that supports user registration and authentication.
Published: August 12 2019

Vue.js + Node - Server Side Pagination Tutorial & Example

A simple example of how to implement server-side pagination in Vue.js with a Node.js backend API.
Published: July 18 2019

React + Node - Server Side Pagination Tutorial & Example

A simple example of how to implement server-side pagination in React with a Node.js backend API.
Published: June 28 2019

Angular 8 + Node - Server Side Pagination Tutorial & Example

A simple example of how to implement server-side pagination in Angular 8 with a Node.js backend API.
Published: December 06 2018

Deploy to Heroku - Node + Mongo API for Authentication, Registration and User Management

A quick tutorial to go through the steps to deploy a Node.js + MongoDB Authentication API to the Heroku Cloud and test it with Postman.
Published: November 28 2018
Last updated: July 02 2020

Node.js - Role Based Authorization Tutorial with Example API

How to build an API with role based authorization / access control in Node.js & JavaScript. Includes example client apps built with Angular, React and Vue.
Published: September 26 2018

Setup Node.js + MongoDB Production Server on Ubuntu 18.04 - Ubuntu 19.04

Scripts for automatically setting up a production web server with Node.js 10.x, MongoDB 4.0, PM2 and NGINX on Ubuntu 18.04 - Ubuntu 19.04
Published: September 24 2018
Last updated: September 10 2020

NodeJS - Basic Authentication Tutorial with Example API

How to implement Basic HTTP Authentication in Node.js with JavaScript. Includes example client apps built with React, Angular & Vue.
Published: August 06 2018
Last updated: April 14 2023

Node.js + Express 4 - JWT Authentication Tutorial with Example API

How to implement JWT authentication in Node.js with Express.js. Includes example client apps built with React, Angular, Vue & Blazor.
Published: June 14 2018
Last updated: July 02 2020

NodeJS + MongoDB - Simple API for Authentication, Registration and User Management

A clean and simple custom NodeJS API for Login, Registration and User Management. Includes example client apps built with React, Angular & Vue, and instructions on testing with Postman and deploying to AWS and Heroku.
Published: May 23 2018

Node - Get Public Key From Private Key with JavaScript

How to get the public key from a private key using JavaScript running on Node. Useful for AWS Key Pairs.
Published: February 24 2017

Angular 2 - Refresh Without 404 in Node & IIS

How to prevent 404s after page refresh for Angular 2 apps running under Node or IIS
Published: February 22 2017
Last updated: January 23 2018

MEAN with Angular 2/5 - User Registration and Login Example & Tutorial

An example and tutorial of how to implement user registration and login functionality using the MEAN Stack with Angular 2/5
Published: October 29 2016

MEANie - Lightweight MEAN Stack CMS & Blogging Platform

MEANie is an open source website CMS (Content Management System) and blogging platform developed using the MEAN Stack (MongoDB, Express, AngularJS and Node).
Published: July 26 2016

AngularJS - Enable HTML5 Mode Page Refresh Without 404 Errors in NodeJS and IIS

How to prevent 404 errors after page refresh in Angular apps using html5mode under NodeJS & IIS.
Published: June 22 2016

NodeJS - Setup a Simple HTTP Server / Local Web Server

This is a quick post to show you how to setup a simple HTTP web server on your local machine using NodeJS.
Published: November 20 2013

Getting Foreman working on Windows 7 after installing the Heroku Toolbelt

Getting foreman up and running on Windows 7 after installing the Heroku Toolbelt - how to fix the problems with "'foreman' is not recognized as an internal or external command" and "Bad file descriptor"
Supported by