WildShare is a simple file-sharing application built with React and Node.js. Users can upload images, and the application provides a shareable link for each uploaded file.
- File Upload: Easily upload image files through an intuitive interface.
- Copy Link: Copy the generated link to share with others.
- Progress Bar: Track the progress of file uploads.
- Responsive Design: Works seamlessly on various devices.
-
Frontend:
- React
- Material-UI
-
Backend:
- Node.js
- Express
- MongoDB
- Multer (file upload)
-
Create a
.env
file in thebackend
directory to configure your MongoDB connection and other environment variables:MONGO_URI = <your-mongodb-uri> APP_BASE_URL = <your-frontend-url>
-
Update the frontend API endpoint in
frontend/src/Constants.js
:class Constants { static API_URL = "<your-api-url>"; }
Make sure to import the
Constants
class and use${Constants.API_URL}
in place of the API URL.
-
Start the backend server:
cd backend npm index.js
-
Start the frontend application:
cd frontend npm start
-
Open your browser and navigate to
http://localhost:3000
to use WildShare.