We've seen how Node.js enables JavaScript to interact with the computer. Express helps our Node application respond to HTTP requests. Let's apply these tools to create something consumer-focused: a simple Reddit/Hacker news clone. This project will dive deep into Express features.
We will build:
A homepage similar to Hacker News, that lists all posts. A Details page, that shows the complete news content. Important note: Right now, there will be no persistent database in our application; we will simply be using a JavaScript array to hold objects in the server's RAM.
Recursion: Think of how the chicken needed the egg, but the egg needs the chicken, etc