How to build a simple user registration, login and user management (CRUD) application with Next.js 13 (App Router) and MongoDB using TypeScript
I ran into a weird problem this morning that had me stumped for a few hours. One of my client components was causing Chrome to lock up and max out my CPU without giving me any error message.
Just ran into this error after updating from Node 16 to Node 18.
I recently integrated Google AdSense into my AngularJS blog and this is how I got it working.
How to connect to a MySQL database in Next.js using Sequelize and MySQL2
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.
How to detect route changes with Next.js Router to execute code on location change in a Next.js (React) client app.
Quick example of how to create and access environment variables in Next.js with a dotenv (.env) file
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.
How to connect from Next.js to MongoDB using Mongoose, and automatically create/update the Mongo database from code.
Published: September 04 2021
This is a quick example of how to implement a required checkbox field in Next.js the React Hook Form library.
Published: September 03 2021
This is a quick example of how to setup form validation in Next.js with the React Hook Form library.
Published: August 31 2021
This is a quick example of how to build a form in Next.js with the React Hook Form library that supports both create and update modes.
Published: August 30 2021
A quick post to show how to redirect users to the login page in a Next.js front-end (React) app.
Published: August 29 2021
How to build a simple full stack login application in Next.js that uses Basic HTTP Authentication.
Published: August 28 2021
This is a quick post to show how to manage (read/write) data in a JSON flat file with Next.js, it's useful for building example apps or for when you need to get up and running quickly before setting up a full database such as MongoDB, MySQL, SQL Server etc.
Published: August 26 2021
A tutorial and example showing how to implement alert / toaster notifications in Next.js.
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.
If you're building a Next.js app that uses a Node.js module that only exists on the server-side such as the file system (fs) module, you may see the following error on build because the module can't be found on the client-side (the browser).
This is a quick post to show how to create a custom NavLink component in Next.js that extends the built-in Link component to add the CSS className "active" when the href attribute matches the current URL.
How to create a custom Link component that wraps the built-in Next.js link component to make it work more like the standard link component from React Router.
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.