Upsurge is a Quick File Sharing Web App where Files under 50 MB can be uploaded after which you get a Download Link. You can also share the Resource Link through Email by adding your Email ID and the Receiver's Email ID. The Receiver gets an Email with Download Page Link and File Information. Using Download Page, you can download the File anytime anywhere within 24 hours of uploading since the Download Link expires after 24 hours.
- npm
npm install npm@latest -g
- yarn
npm install yarn
- Clone the Repository
git clone https://github.com/bevatsal1122/Upsurge.git
- Install YARN Packages
yarn init
- Configure
.env
FilePORT = 5000 DEVELOPER_MODE = true DB = "<YourMongoDBClusterConnectionLink>" HOST = http://localhost:5000 SMTP_SERVER = <SMTP-Server> SMTP_PORT = <SMTP-Port> SMTP_AUTH_LOGIN = <SMTP-Login> SMTP_AUTH_PASS = <SMTP-Master_Password>
-
Enable CORS Policy if requesing from other Domain URL
Install cors Package
yarn add cors
- Update server.js
const cors = require('cors'); app.use(cors());
-
Run server.js File
Developement Mode
yarn dev
Production Mode
- Update .env File
DEVELOPER_MODE = false
yarn prod
Vatsal Sanchala - heyvatsal1506@gmail.com
Project Link: https://github.com/bevatsal1122/Upsurge
Deployment Link: https://upsurge-holdyourbit.herokuapp.com