Skip to content

file-server is a small command line file server application written for the lighthouse labs web development bootcamp.

Notifications You must be signed in to change notification settings

mmmbacon/file-server

Repository files navigation

file-server

A simple command line file server written in javascript for node.js

What is it?

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.

Install it

$ npm install @mmmbacon/file-server

Use it

Run the server:

$ npm run start-server

Run the client:

$ npm run start-client

Application Commands

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

Screenshots

booting up and connecting with client:

image

ls command:

image

getfile command:

image

About

file-server is a small command line file server application written for the lighthouse labs web development bootcamp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published