Skip to content

andremarques94/web-server-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS GET WebServer

My take on a simple webServer that only allows GET requests. It is written in NodeJS and uses the http and fs modules.

How to use

  1. Clone the repository
  2. Run npm start to start the server
  3. Open your browser and go to http://localhost:3000/ to see the server in action

Features

  • Only allows GET requests
  • Serves static files
  • 404 error handling
  • 500 error handling
  • Logs requests to the console
  • Customizable port

About

my take on nodejs native api to create a web server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published