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.
- A homepage similar to Hacker News, that lists all posts.
- A Details page, that shows the complete news content.
- A form to send a new post (not right now, but in a separate workshop).
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.