Learn the basics of building Node.js websites with Express and Pug by developing an application that searches Hacker News' top stories.
Full tutorial: How to Build a Node.js Application with Express and Pug.
You must have Node.js and npm installed on your machine. This project was built against the following versions:
- Node.js v16.14.0.
- npm v8.3.1.
- Clone this repo to your machine
git clone https://github.com/betterstack-community/hacker-news
cd
into the project folder and runnpm install
to download dependencies.- Execute the command below to start the development server:
npm run dev
- Visit http://localhost:3000 in your browser.
The code used in this project and in the linked tutorial are licensed under the Apache License, Version 2.0.