Skip to content

bevatsal1122/Upsurge

Repository files navigation

Logo

Upsurge | Hold Your Bit

Developed with ❤️ by Vatsal Sanchala


Upsurge

About The Project

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.

Tech. Store

  • Node.js
  • Express
  • MongoDB

Initial Setup

Prerequisites

  • npm
    npm install npm@latest -g
  • yarn
    npm install yarn

Installation

  1. Clone the Repository
    git clone https://github.com/bevatsal1122/Upsurge.git
  2. Install YARN Packages
    yarn init
  3. Configure .env File
     PORT = 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>

Interface

Image Output 0

Image Output 1

Image Output 2

Image Output 3

Image Output 4

* Suitable for viewing on all Media Devices


Roadmap

  • 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

Contact

Vatsal Sanchala - heyvatsal1506@gmail.com

Project Link: https://github.com/bevatsal1122/Upsurge

Deployment Link: https://upsurge-holdyourbit.herokuapp.com