https://github.com/shivankk26/file-manager
In this Project, I've built a WebApp using which you can organize all the unsorted files in a folder in your local system. The Tech Stacks used are Node.js, Express.js, and JavaScript.
https://github.com/shivankk26/file-manager
backend expressjs javascript nodejs
Last synced: 3 months ago
JSON representation
In this Project, I've built a WebApp using which you can organize all the unsorted files in a folder in your local system. The Tech Stacks used are Node.js, Express.js, and JavaScript.
- Host: GitHub
- URL: https://github.com/shivankk26/file-manager
- Owner: ShivankK26
- Created: 2023-04-03T12:25:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-04T06:21:14.000Z (about 2 years ago)
- Last Synced: 2025-01-09T06:22:30.217Z (4 months ago)
- Topics: backend, expressjs, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About The Project

In this Project, I've built a WebApp using which you can organize all the unsorted files in a folder in your local system. This Project is useful if you want to organize large number of files which isn't possible to do manually.
Use the `README.md` to get started.
# Built With
The Tech Stacks use are:
# Getting Started
To get started, create basic files such as fo.js and inside the Project create another directory called commands within which create files help.js, organize.js, and tree.js.
## Prerequisites
To begin with our Project, we'll need to install some npm packages like node and express using the command given below.
* npm
```sh
npm install node express
```* Some other modules
```sh
const path = require("path");
const fs = require("fs");
```
* To ease the process of development, we'll install nodemon (Make sure you already have nodemon installed in your system, if not then [visit here](https://nodemon.io/)).```sh
npm i nodemon
```## Installation
In this Project, we'll use the path and fs module of Node.js in order to access the various file paths and perform all the file system operations.
In order to sort the different types of files, we'll create a JavaScript Object of all types of file formats available.```sh
let types =
{
media: ["mp4", "mkv", "mp3"],
archives: ["zip", "7z", "rar", "tar", "gz", "ar", "iso", "xz"],
documents: [
"docx",
"doc",
"pdf",
"xlsx",
"xls",
"odt",
"ods",
"odp",
"odg",
"odf",
"txt",
"ps",
"tex",
],
app: ["exe", "dmg", "pkg", "deb"],
image: ["jpg", "png"],
};
```# Contact
Your Name - Shivank Kapur - [email protected]
Project Link: