13

Want to find one and modify that to read, write file on mongoDB gridfs store

Eric Fong
  • 815
  • 1
  • 8
  • 17

3 Answers3

3

You could try Cloud Commander node.js-based orthodox file manager. It could be used as middleware for express this way:

var http        = require('http'),
    cloudcmd    = require('cloudcmd'),
    express     = require('express'),
    io          = require('socket.io'),
    app         = express(),

    PORT        = 1337,

    server,
    socket;

server = http.createServer(app);
socket = io.listen(server);

app.use(cloudcmd({
    socket: socket,     /* used by Config, Edit (optional) and Console (required)   */
    config: {           /* config data (optional)                                   */
        prefix: '/cloudcmd', /* base URL or function which returns base URL (optional)   */
    }
}));

server.listen(PORT);

When you need a file tree you could try this angular/node based example.

coderaiser
  • 749
  • 5
  • 15
2

Nodepad:

This tutorial will give you a good idea on how it was made: http://dailyjs.com/2010/11/01/node-tutorial/ As knowing how it was made it should make it heaps easer to extend it. :) It is quite basic, I'm re-writing the whole thing myself :P

Nodepad on github: https://github.com/alexyoung/nodepad

It even uses MongoDB, I'm going to do the opposite to what you wanted to do and that is make it not use MongoDB. :P

Community
  • 1
  • 1
JamesM-SiteGen
  • 802
  • 2
  • 11
  • 26
1

Take a look at https://github.com/OpusCapita/filemanager

It has a NodeJS server implementation and react client implementation.

Can be easily extended using "connectors"

visortelle
  • 1,013
  • 1
  • 10
  • 15