Get a simple fact related to web development
- A browser (e.g., Chrome)
- A text editor (e.g., VS Code, or Notepad++, or Chrome)
- Node.js non-blocking event loop supports many concurrent requests
- Express framework for web apps offers concise, easy-to-use API
- Built-in objects for application, request, response, with HTTP verb methods
- Node.js installed
- npm Node Package Manager (comes with Node.js)
npm install
"Open PowerShell Here as Admin" and start your app with node:
npm run dev
- Open a web browser. Try these URLs
- http://127.0.0.1:3002/ or http://localhost:3002/.
- http://localhost:3002/fact
- http://localhost:3002/fact/0
- http://localhost:3002/fact/?id=1
- Node.js platform
- Express web framework API
- npm (Node package manager)
- npx (npm package runner; npm + execute)
- nodemon
- package.json
- .gitignore
- route
- web request
- web response
- web security & Helmet