Skip to content
Filesharing
Branch: master
Clone or download
Latest commit 1446a06 Apr 23, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
out Initial Upload Apr 23, 2020
public Initial Upload Apr 23, 2020
routs Initial Upload Apr 23, 2020
unit tests Initial Upload Apr 23, 2020
views Initial Upload Apr 23, 2020
README.md Initial Upload Apr 23, 2020
TablesDatabase.js Initial Upload Apr 23, 2020
index.js Initial Upload Apr 23, 2020
jsdoc.conf Initial Upload Apr 23, 2020
package-lock.json Initial Upload Apr 23, 2020
package.json Initial Upload Apr 23, 2020

README.md

# 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
You can’t perform that action at this time.