My take on a simple webServer that only allows GET requests. It is written in NodeJS and uses the http and fs modules.
- Clone the repository
- Run
npm start
to start the server - Open your browser and go to
http://localhost:3000/
to see the server in action
- Only allows GET requests
- Serves static files
- 404 error handling
- 500 error handling
- Logs requests to the console
- Customizable port