Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 467 Bytes

File metadata and controls

13 lines (7 loc) · 467 Bytes

FileServerSystem

->Developed a File Server API using Express.js and Node.js

->Implemented File Operations: GET /files: Returns a list of files in the ./files/ directory. GET /file/:filename: Returns the content of a specified file.

->Error Handling: Managed errors with appropriate HTTP status codes and messages, including 404 for file not found and 500 for server errors

->Utilized Node.js fs Module: Used the built-in fs module for file system operations.