Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 624 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 624 Bytes

Web_Server

AD320 Assignment

Steps to run the server

  1. Open express0.js with VS Code
  2. Make sure express module is install through npm, if not, enter npm install express in Terminal and run it.
  3. Enter node express0.js in Terminal and run it
  4. You shall see "Express server is running" in console.Now you can visit the server in web browser!

When you visit Localhost:3000/ , you will see this page. Screenshot HelloWorld.png

When you visit Localhost:3000/about, you will see this page. Screenshot AboutPage.png

When you visit other path, such as Localhost:3000/aboutjfk, you will see this page. Screenshot 404.png