Best way to do this document sharing app?

I am trying to create an app that will allow users to upload documents to a centralized location and search/download documents from that location. When they submit a document, I want them to be able to add a description of the document. This description would be used by the search feature so my users can do searches based on keywords found in the descriptions. What would be the best way to do this? I was thinking that maybe the description that they write on the text box in the gui would be entered in a spreadsheet or database by my script and the search feature would search that database or spreadsheet, but maybe there is a better way to do this. Also, this all needs to be centralized because the app will be used by different users on different computers. Thanks in advance :cool: