Files
nodejs-fm/README.md

1.0 KiB

nodejs-fm

Build Status

A simple file manager for managing files on a remote fs using Node.

Dependencies: express body-parser @fortawesome/fontawesome-free chai mocha chai-http jquery requests sqlite3

Checklist

  • Folder Traversal
  • Filesystem viewing
  • Upload
  • Auth

Usage

Use settings.json and point it to a valid address, and select a required port. Default 8080

For the backend, the jsons have this form

Requests:

{
    loc: "<valid location>"
}

Responses (Only for directory traversals):

{
    loc: "<location>",
    back: "<location>|null",
    contents:[
        {
            name:"<filename>",
            path:"<location>",
            isDir: "<true|false>"
        },
        ...
    ]
}

Credit

  • Samuel Thornton: Material Design Box Shadows
  • StackOverflow: Troubleshooting errors
  • Google: All knowing