/http_server

This is a simple HTTP web server that hosts very basic HTML pages. The objective of this work is to understand response header content-types, error codes and some methods of Node.js http module. Its a small module of a full stack website project.

Primary LanguageHTMLMIT LicenseMIT

HTTP Web Server

This is a simple HTTP web server that hosts very basic HTML pages. The objective of this work is to understand response header content-types, error codes and some methods of Node.js http module. Its a small module of a full stack website project.

Demo

chrome_gYK1BAln0h

Technologies Used

html5 css3 javascript nodejs

Lessons Learned

  • Creating a basic HTTP web server.
  • Learned about response header content-type, error codes and some methods of Node.js http module.

Authors

@mayankdrvr

License

MIT

Run on Local System

  • Clone the project
  git clone https://github.com/mayankdrvr/http_server.git
  node server.js
  • Go to http://localhost:1340/ to view the web server.
  • If port:1340 is already occupied by some other process, it can be changed in server.js file in the listen() object of http module.