Initial commit: Tablet lending system with user-tablet many-to-many relationship

- Database schema: tablets, users, loans (junction table)
- CLI app: minimal_app.py
- Web apps: app.py (Flask), simple_app.py (http.server)
- Features: loan management, search, user loans view, project notes
- Git structure: CONTRIBUTING.md, .gitignore

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
ijuanes 2026-06-03 10:43:17 +01:00
commit 8a8d2f02fa
25 changed files with 2885 additions and 0 deletions

20
debug_server.py Normal file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env python3
from http.server import HTTPServer, BaseHTTPRequestHandler
class DebugHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.send_header('Content-type', 'text/plain')
self.end_headers()
self.wfile.write(b'Hello from Tablet Management Server!')
def run():
try:
server = HTTPServer(('', 8000), DebugHandler)
print("Debug server running on port 8000")
server.serve_forever()
except Exception as e:
print(f"Error: {e}")
if __name__ == '__main__':
run()