gdscpce / gdscpce/hacktober-codesnippet

Implement Middleware for Static Storage Using Multer

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## Description:
We need to create a Node.js middleware that allows for the renaming and secure static storage of files with specific name attributes using the Multer library. This enhancement is crucial to enable efficient and secure file management within our Node.js application.

___
### Details:
The issue involves the development of a middleware component that exhibits the following key functionalities:

**File Renaming**: The middleware should be capable of renaming files based on specific attributes within their names. This is essential for maintaining an organized and structured file storage system.

**Static Storage**: The middleware should securely store these renamed files in a static location. This ensures that files are readily accessible and can be efficiently served to clients.

**Multer Integration**: The solution should leverage the Multer library, which is a popular middleware for handling multipart/form-data, including file uploads. This integration will simplify the file upload and management process.

**Screenshot**:

![Screenshot from 2023-10-23 20-11-42](https://github.com/gdscpce/hacktober-codesnippet/assets/86515544/bcfbbd7b-53c6-486e-9c84-5eccd81725e2)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the Node.js upload-handling code and determine the expected static storage location and filename attributes; done means a Multer-backed middleware securely renames and stores files as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.