Skip to content

mohitranjan256/File-Management-CRUD-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FILE-MANAGEMENT

Backened Server :

  1. Upload a file
  2. Get list of all the files
  3. Download a file
  4. Update a file
  5. Delete a file

Tech Stack

Server: Node, Express

Database: MongoDB

Run Locally

Clone the project

  git clone https://github.com/monster256/webteam-task-3.git

Go to the project directory

  cd webteam-task-3

Install dependencies

  npm install

Start the server

  nodemon index.js

API

Link Heroku

   https://web-team-task-3.herokuapp.com/

API Reference

UPLOAD FILES

  POST /upload
Parameter Type Description
Name string Required. Name
fileImage file Required.File must be selected (Any type of File ex: pdf,jpg,etc..)

GET ALL FILES DETAILS

  GET /getdetail

DOWNLOAD A FILE

  PUT /download/${id}
Parameter Type Description
id string Required. Id of File to Download

UPDATE A FILE

  GET /update/${id}
Parameter Type Description
id string Required. Id of File to Update

DELETE A FILE

  GET /delete/${id}
Parameter Type Description
id string Required. Id of File to Delete

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published