Alternative

Node.js series Part 4. Express Website with authentication and authorization in a Mac Production Environment

Date: 18.06.2020

Author: Patrick Rottländer

In Part 3 of my node.js series we created a simple blog app and we used a MongoDB to store the application Data. This simple blog app has no user authentication and no HTML Webinterface. The simple blog app runs in a terminal session and while the app is running the terminal is blocked. So the app is not running in a real production environment. In this part 4 I will show how to set up an express app using authentication and authorization running in a productions ready environment on a Mac OS. And this express app will have a fancy Web-Interface. Here I have to say that I am not a web designer. I think my web design is fancy but others are more likely to say that this design is a typical technocratic or nerdy design. Who cares.

Read more
Alternative

Node.js series Part 3. The Simple Express Blog App with MongoDB

Date: 10.05.2020

Author: Patrick Rottländer

In Part 2 of my node.js series we have learned details about the most important functionalities of Express.js. We developed a small blog app that store data in a data file. With HTTP POST requests we can store data in the data file and with HTTP GET requests we can read data from the file and display data via the the response. In this Part 3 of my node.js series I extend the blog app with a MongoDB. So all of the application data are no longer stored in a data file but instead in a database. You will learn how data models and data controllers are implemented using Mongoose and some more interesting details how data operations can be defined.

Read more