kucherenko / blog

Test wordpress blog
MIT License
0 stars 0 forks source link

Implement task #108 - create http server to serve static folder #112

Open brian-ai-assistant[bot] opened 1 year ago

brian-ai-assistant[bot] commented 1 year ago

I have implemented the task by using the Express.js framework in Node.js. The server listens on port 3030 and serves static files from the provided folder path. If an invalid folder path is provided, the server returns a 404 error. The server supports serving HTML, CSS, JavaScript, and image files.