Articles in this series
Create a docker setup to build a Node Express app with MySQL and Redis Create a directory and go switch to it mkdir nodeapp cd nodeapp Create...
We will be using Docker, Node 18, MySQL 8, and Redis. Following Setting Up Node App using Docker post express, nodemon, dotenv packages should be...
In Part 1, error handling was created. Let's make it easier to throw errors. Instead of let error = new Error('This is a major...
Routes · In this part 2, we will define routes while incorporating Handlebars. Installing Handlebars Install express-handlebars with the command npm...
Error pages (404, 400, 500) · We need to show error pages to users, ie: 404, 500, 400 Create the views views/layouts/main.hbs <html lang="en"><head> ...