Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

# fileSharing

software engineering project: File sharing

When uploading a file to share between users, the sender can choose between drag and drop or search the file. Once sent, the receiver gets and email with a link to download the file. To download, the receiver must be logged in to get access to the list of files available to download. Each file is only available for 3 days or until it is downloaded. The receiver can also preview the files and get information such as format, size, date and time of upload and remaining time until deletion.

Team Members

Dependencies

  • Koa
  • nodeJS

*: Basic features Logged-in users upload files to the server. Email a link to download the file. The files are not stored in the public directory. The download link with a # string, not the file name.

**: intermediate features Files are deleted after downloaded or after 3 days. All files should download.

***: advanced features Choose the username of who can access it. This username must already exist. Logged in user have a list of the files they can download. All files in the list should have: type of file, size, date and time of upload and time until deletion.

Team members

Guilherme Josh Preeth Sofia

Installation

The install the packages:

  • npm install

Git

Tutorial on how to work with git branches:


Running


Debugging

Debugging can be made with VS Code by pressing f5 or with nmp run watch


Folder Structure

Valente3/
├── index.js
├── README.md
│     
├── modules/
│   └── user.js
│   
├──public/    
│     ├── avatars/
│     │   └──avatar.png
│     ├──images/
│     │   ├──bell.svg
│     │   ├──logo.pn
│     │   ├──facebook.svg
│     │   ├──instagram.svg
│     │   ├──linkedin.svg
│     │   ├──search.svg
│     │   ├──subject.svg
│     │   └──twitter.svg
│     ├──css/
│     │   └──tylesheet.css
│     └──style.css
│ 
├──unit tests/
│     └──user.spec.js  
│
├──views/
│     ├──error.handlebars
│     ├──index.handlebars
│     ├──login.handlebars
│     ├──register.handlebars
│     ├──nav.hatml
│     ├──about.html
│     ├──download.html
│     ├──footer.html
│     └──homepage.html
│
├──authors/
│     ├──sofia.png
│     ├──josh.png
│
└──layout/
      ├──abput page.png
      ├──contacts page.png
      ├──homepage.png
      ├──log-in pop-up.png
      ├──my downloads.png
      ├──username.png
      └──website layout.xd