Skip to content

The File Sharing Backend is a Node.js application that enables secure file uploads, authentication using JWT, and private/public file sharing. It uses Multer for file handling and MongoDB for data storage, making it suitable for a wide range of file sharing applications.

Notifications You must be signed in to change notification settings

DevManpreet5/File-sharing-backend

Repository files navigation

File Sharing Backend

Home Page Uploaded File No Access

This Node.js backend application provides file sharing capabilities using Multer for file uploads, JWT for authentication, and features for private/public file sharing with short URLs.

Features

  • File Uploads: Allows users to upload files to the server.
  • JWT Authentication: Secure authentication using JSON Web Tokens (JWT).
  • Private/Public File Sharing: Users can mark files as private (only accessible to the owner) or public (accessible to anyone with the link).
  • Short URLs: Automatically generates short URLs for public files for easy sharing.
  • File Access Control: Ensures that private files are only accessible to the owner.

Tech Stack

  • Node.js: Backend environment for server-side JavaScript.
  • Express: Web framework for Node.js.
  • Multer: Middleware for handling file uploads.
  • JWT: JSON Web Tokens for authentication.
  • MongoDB: Database for storing file metadata and user information.

About

The File Sharing Backend is a Node.js application that enables secure file uploads, authentication using JWT, and private/public file sharing. It uses Multer for file handling and MongoDB for data storage, making it suitable for a wide range of file sharing applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published