manthankool / full-stack-hiring-challenge-2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment-2018: Instructions

Implement a virtual "File manager" using NodeJs. This should be a webapp.

You can proceed in following steps:-

  1. Designing a data structure for storing file/folder metadata (hierarchy of files/folder).
  2. Use a database to store it. (can store in file too)
  3. Now create a /browse API this receives a query parameter as path and based on that you can able to explore the file system.
  4. Create a /create API that receives parameters as path, content, type(file or folder).
  5. Similarly create and API endpoint for /delete.
  6. Organise above in a way that it feels like a proper file-manager. (like adding a dialogue for creating a file/folder etc.)

Bonus:

  1. Create /update API endpoint.
  2. Integrate the Update API above properly in UI flow.

Note

You should be able to browse through all files using /browse. The files hierarchy can be like;

newdocs/
├── client-dashboard.md
└── pages
    ├── auth
    │   └── oauth.md
    └── auth.md

Fork this assignment, put your code on github then submit.

About