Uplode Simple file storage CWEB Final Project By: Will Schulzetenberg
Follow along at: https://sugarobjects.com
What is Uplode? Simple file storage LAMP stack Introduction
Mission Target Audience Upload files without logging in Set amount of allowed downloads Easy to share a documents Similar to Pastebin, but for files Mission Target Audience
Development Tools PHP Storm Vim Composer MySQL Workbench Git Let’s Encrypt Angry Hosting Development Tools
APIs Frameworks Libraries PHP Twig Auryn HTTP Fast Route Whoops Front End Materialize List.js jQuery Paper Material Icons APIs Frameworks Libraries
ERD The database Simple database Would like to make it better All tables are connected to the user by foreign keys ERD The database
Modules Download/Upload Live Search Comments Register Login Admin
Upload No account necessary Able to limit amount of downloads before deletion Registered users have more options: Private files Make private instead of delete after limit reached Files are deleted with the user
Downloads File type specific images Can download archives Live search all public files Click file name for file detail page Downloads
Comments File Details Comments available on every file Shows user who posted Can post while not logged in Shows more details about file Can download the file Deleted with file or user
Registration Passwords are hashed and salted Automatically assigned user role
Login Privileges Logged in users can edit and delete their files Rename Update to new file Toggle private status When logged in shows users private files Login Privileges
Can manage files and users Currently only delete is available Admin
Results I use it all the time Accomplished the goals I had set Happy with the download limits Easy to add more to it in the future HTTPS
Lessons Learned Difficulties Localhost to production Shared hosting No remote shell access Planning the database better I like Github… Working with multiple computers When it breaks Used interfaces, classes, and namespaces Was harder at first but made it easier by the end
Interesting Problems File Upload to image Download limit on archives Convert to PDF then to JPG…no Download limit on archives Live Search Couldn’t get the cards to do what I wanted Used List.js instead Foreign keys CASCADE DELETE Interesting Problems
Future… Let users update the download limit Refine the database structure Automated file preview Improve admin functionality Future…
Questions? Thank you for your time!