Steps to test npm package dependencies locally without publishing to npm.
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.
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.
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.
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.
How to connect from Next.js to MongoDB using Mongoose, and automatically create/update the Mongo database from code.
Published: February 08 2023
How to implement authentication with a React 18 front-end app and Node.js back-end API
Published: February 03 2023
How to implement authentication with an Angular front-end app and Node.js back-end API
Published: February 03 2023
How to implement authentication with a Vue 3 front-end app and Node.js back-end API
Published: November 20 2022
This is a quick post to show how to connect an Angular front-end app to a Node.js + Express 4 back-end API.
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.
A quick post to show how to automatically create and update (sync) a SQL Server database on app startup using Sequelize and Tedious
How to connect from Node.js to MySQL using Sequelize & MySQL2, and automatically create/update the MySQL database from code.
How to connect from Node.js to MS SQL Server using Sequelize & Tedious, and automatically create/update the SQL Server database from code.
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
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
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
How to build a simple full stack login application in Next.js that uses Basic HTTP Authentication.
Published: August 23 2021
This is a quick post to show how to implement a global exception handler in a Next.js API.
Published: August 20 2021
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
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
This tutorial shows how to build a simple full stack login application in Next.js that uses JWT authentication.
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
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
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
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.
This is a quick example of how to validate HTTP request data using the joi schema validation library in a Node.js + Express API.
This is a quick example of how to send an email in Node.js using the nodemailer email sending module.
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
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
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
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
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
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
A simple example of how to implement server-side pagination in Vue.js with a Node.js backend API.
A simple example of how to implement server-side pagination in React with a Node.js backend API.
A simple example of how to implement server-side pagination in Angular 8 with a Node.js backend API.
Published: December 06 2018
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
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
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
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
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
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.
How to get the public key from a private key using JavaScript running on Node. Useful for AWS Key Pairs.
Published: February 24 2017
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
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 is an open source website CMS (Content Management System) and blogging platform developed using the MEAN Stack (MongoDB, Express, AngularJS and Node).
How to prevent 404 errors after page refresh in Angular apps using html5mode under NodeJS & IIS.
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 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"