Oluserti / Storage-Drive-FP

A web application to upload files, notes and store username and password for different websites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Storage-Drive

A web application to upload files, notes and store username and password for different websites. This project is under development. Selenium Webdriver will be added.

  • This web app is deployed to heroku: https://storage-drive.herokuapp.com
    • Initial load time will be more than 10 seconds as it takes time for heroku to start the web app. Heroku stops the app if we don't use the web app for more than half hour to save server time.
    • To test the file upload, please select the file of least size. Its best if we create a new text document with only few bytes of size.

How to install:

  1. Using terminal clone this repo by this command:
git clone https://github.com/ritish78/Storage-Drive.git
  1. Once the files is in your system, you can open it in IDE of your choice with Maven.
  2. In the terminal of IDE, type:
mvn clean install
  1. Then, you can start the StorageDriveApplication.java or in terminal you can type:
mvn spring-boot:run
  1. Then the embedded server Tomcat, will start the application on port 9000.

End Points available:

  • For User:
    • GET /home
    • GET /login
    • GET /signup
    • POST /signup
  • For File:
    • POST /file/upload
    • GET /file/delete
    • GET /file/download
  • For Note:
    • POST /note/new
    • GET /note/delete
    • GET /note
  • For Credential:
    • POST /credential/new
    • GET /credential/delete
    • GET /credential

Class Diagram:

data diagram 2nd

Usage:

  • Going to http://localhost:9000 in web browser. We get the Login page as default page.

    • This app is also deployed to heroku. You can check it out without cloning this repo. login screen
  • Filling details in Sign Up page: Filling details in sign up page

  • We signed up successfully it redirects to login page and then filling the details in login page: after signing up

  • Home page after we sign in with correct credentials. This screenshot includes the name of the user logged in. Haven't changed other screenshots to adjust for inclusion of username in screenshot in the new update: Home page after entering correct details

  • We can't get to the Home page if we provide incorrect details: Incorrect details

  • Adding first file: Adding first file

  • We get this screen if the file upload is successful: File Upload successfull

  • Adding more files: NOTE: We should see the upload date of the File. That feature was added later. Adding more files

  • Cliking on Download button of the first file will download the file into the local machine: Clicking on download button

  • Clicking in Delete button of the first file will delete the file from database: Clicking on delete button of file

  • Adding file with the same file name in database will throw an error: Adding file with same file name in database

  • Adding notes: Adding notes

  • Adding more notes: Adding more notes

  • Adding credential for other website: Adding credential of other website

  • Adding more username/email and password. In this page, we let the user only see the salted and hashed password: Adding more credential

  • By clicking on the Edit button you can view the password: Clicking on Edit button of credential

  • Creating another user to test authorization. Another user

  • Empty Home page for new created user. One user can't view the files and other details of another user: another user home screen

About

A web application to upload files, notes and store username and password for different websites


Languages

Language:Java 53.0%Language:HTML 47.0%