This application is deployed on DigitalOcean. Please check it out π here.
Frontend:
Backend:
Database:
Email Service:
Deployed On:
- Secure file transfer via email, or unique shareable links.
- Intuitive and friendly UI with drag & drop feature.
- Toast notifications for actions: uploading files, exceed file size limit, sending email etc.
- View upload progress on the app.
- Send large files up to 100 MB per transfer.
- Files are available up to 24 hours before being automatically and permanently erased from servers.
βββ backend/
β βββ config/
β β βββ connectToMongoDb.js
β β βββ cronScript.js
β βββ handlers/
β β βββ fileHandlers.js
β βββ models/
β β βββ File.js
β βββ handlers/
β β βββ fileHandlers.js
β β βββ cronScript.js
β βββ public/
β β βββ css/
β β β βββ style.css
β β βββ img/
β β β βββ download-sd.svg
β β β βββ logo.png
β β βββ favicon.ico
β βββ routes/
β β βββ downloadRoutes.js
β β βββ fileRoutes.js
β β βββ index.js
β β βββ showRoutes.js
β βββ services/
β β βββ emailService.js
β β βββ emailTemplate.js
β βββ uploads/
β β βββ .gitkeep
β βββ views/
β β βββ download.ejs
β βββ server.js
βββ frontend/
β βββ copy-icon.svg
β βββ favicon.ico
β βββ file.svg
β βββ index.html
β βββ index.js
β βββ logo.png
β βββ style.css
β βββ undraw-upload.svg
βββ .env.example
βββ .gitignore
βββ package-lock.json
βββ package.json
βββ README.md
In order to run the project you need node>=16
and npm>=8
installed on your machine.
git clone https://github.com/rtewari056/easyshare.git
cd easyshare
In the root
directory, run:
npm install
APP_BASE_URL=http://localhost:5002
PORT=5002
MONGO_URI="YOUR_MONGO_CONNECTION_URL"
SMTP_HOST=<YOUR_SMTP_SERVER_HOST_NAME>
SMTP_PORT=587
SMTP_USER=<YOUR_SMTP_SERVER_USER_NAME>
SMTP_PASSWORD=<YOUR_SMTP_SERVER_PASSWORD>
npm run dev
If you want to contact me, you can reach me through below handles.
easyShare is licensed under the MIT License.