file-server is a simple terminal based file server. This is a project created for the lighthouse labs web developer bootcamp.
This project should help outline my understanding and practical usage of npm libraries including node's built in libraries fs
, net
, readline
and third party libraries including chalk
. This project is version controlled with GIT and hosted on npm.
This project does not incorporate TDD techniques.
$ npm install @mmmbacon/file-server
Run the server:
$ npm run start-server
Run the client:
$ npm run start-client
commands
List commands available
ls
List files available for download in directory
getfile [filename] [directory]
Download file given the target download directory, and the filename
booting up and connecting with client:
ls command:
getfile command: