ShareSTI is a lightweight campus lending app built with static HTML/CSS, jQuery, and a PHP JSON-file backend.
login.html- sign in and sign up flowindex.html- lender view for posting and managing lendable itemsborrower.html- borrower view for requesting and borrowing itemsshared.js- shared frontend logic and API helpersapi.php- PHP backend using JSON files indata/styles.css- application styling.htaccess- deployment rules for HTTPS and cache behavior
The data/ directory is used as runtime storage for:
- users
- sessions
- items
- requests
- borrow requests
- notifications
- history
These files are intentionally committed in a clean state to avoid storing personal data or active session tokens in source control.
This repository was cleaned up to remove stale or unused files and to scrub committed identifying information from runtime JSON files.
- Removed the unused Node backend file
server.js - Removed the broken Visual Studio solution file
ShareSTI.sln - Cleared committed JSON runtime data in
data/ - Added ignore rules for future
dumps/folders and temporary clutter
For more detail, see docs/privacy-and-cleanup.md.
Serve the repository with a PHP-capable web server and make sure the data/ directory is writable.
Open login.html in the browser through that server, not directly from the filesystem.
The backend supports a reset endpoint for local development:
api.php?reset=confirm
That clears all JSON records in data/.