A simple file-sharing application built using the MERN stack.
This web application allows users to securely upload and share files with others. It leverages the MERN stack for the backend and frontend development, ensuring a robust and efficient file-sharing experience.
- User Authentication: Secure user authentication and authorization.
- File Upload: Easily upload files with a straightforward interface.
- File Sharing: Share files with others via generated links.
- File Management: Organize and manage your uploaded files.
-
Frontend:
- React: A JavaScript library for building user interfaces.
- Axios: A promise-based HTTP client for making requests to the backend.
- (Include any additional frontend technologies)
-
Backend:
- Node.js: JavaScript runtime for server-side development.
- Express.js: Web application framework for Node.js.
- MongoDB: NoSQL database for storing file metadata.
- GridFS: MongoDB's specification for storing and retrieving large files.
- (Include any additional backend technologies)
-
Clone the Repository:
git clone https://github.com/DanishAbdullahPy/File-sharing-App.git cd File-sharing-App
-
Install Dependencies:
# Install backend dependencies cd backend npm install # Install frontend dependencies cd ../frontend npm install
-
Set Up MongoDB:
- Set up a MongoDB database and update the connection string in
backend/config/db.js
.
- Set up a MongoDB database and update the connection string in
-
Run the Application:
# Start the backend server cd backend npm start # Start the frontend development server cd ../frontend npm start
-
Open Your Browser:
- Navigate to http://localhost:3000 to access the application.
|-- backend # Backend server using Express.js
|-- frontend # Frontend application using React
|-- public # Public assets
|-- README.md # Project documentation
|-- .gitignore # Git ignore file
|-- package.json # Project configuration and dependencies