🖥 Web Server

Gabrielle Carvalho Gonçalves das Neves


This code is a simple HTTP server in Node.js that uses the http module to handle HTTP requests. It creates a server that listens on port 3000 and responds to requests on different routes, depending on the URL path of the request. The server reads and sends the content of different files, such as HTML and JSON, depending on the requested route. If the route is not found, it sends a "404 - Invalid Route" response.


índice