Posts tagged "MongoDB"

Published: July 28 2023

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

How to build a simple user registration, login and user management (CRUD) application with Next.js 13 (App Router) and MongoDB using TypeScript
Published: June 09 2023

Fix for MongooseServerSelectionError: connect ECONNREFUSED ::1:27017

Just ran into this error after updating from Node 16 to Node 18.
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: 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: February 05 2020

Connect to remote MongoDB on AWS EC2 simply and securely via SSH tunnel

To connect to a remote MongoDB server running on AWS EC2 that only allows local connections you can use an SSH tunnel, also known as SSH port forwarding.
Published: September 03 2019

MongoDB - How to backup and restore a database

This is a quick example to show how to easily backup and restore a MongoDB database from the command line, using the current date as the backup folder name (YYYYMMDD)
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: 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: 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: 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).
Supported by