diff --git a/Deployment_Report_Positeasy.pdf b/Deployment_Report_Positeasy.pdf deleted file mode 100644 index ace31941..00000000 Binary files a/Deployment_Report_Positeasy.pdf and /dev/null differ diff --git a/RIT_Logo.png b/RIT_Logo.png deleted file mode 100644 index d1fd6c3f..00000000 Binary files a/RIT_Logo.png and /dev/null differ diff --git a/Ritz/.DS_Store b/Ritz/.DS_Store deleted file mode 100644 index 33a52a4f..00000000 Binary files a/Ritz/.DS_Store and /dev/null differ diff --git a/Ritz/Ritz-Stack.png b/Ritz/Ritz-Stack.png deleted file mode 100644 index ea253a7a..00000000 Binary files a/Ritz/Ritz-Stack.png and /dev/null differ diff --git a/Ritz/Ritz.psd b/Ritz/Ritz.psd deleted file mode 100644 index e5e5771c..00000000 Binary files a/Ritz/Ritz.psd and /dev/null differ diff --git a/Ritz/color-vector.png b/Ritz/color-vector.png deleted file mode 100644 index 9239807c..00000000 Binary files a/Ritz/color-vector.png and /dev/null differ diff --git a/Ritz/color-vector.svg b/Ritz/color-vector.svg deleted file mode 100644 index b5ce49c0..00000000 --- a/Ritz/color-vector.svg +++ /dev/null @@ -1,1052 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Ritz/download.png b/Ritz/download.png deleted file mode 100644 index ee3afd25..00000000 Binary files a/Ritz/download.png and /dev/null differ diff --git a/Ritz/front.png b/Ritz/front.png deleted file mode 100644 index 3d5167f0..00000000 Binary files a/Ritz/front.png and /dev/null differ diff --git a/Ritz/image-removebg-preview (6) 2.png b/Ritz/image-removebg-preview (6) 2.png deleted file mode 100644 index 64262338..00000000 Binary files a/Ritz/image-removebg-preview (6) 2.png and /dev/null differ diff --git a/Ritz/image-removebg-preview (6) copy.png b/Ritz/image-removebg-preview (6) copy.png deleted file mode 100644 index 612d8bbd..00000000 Binary files a/Ritz/image-removebg-preview (6) copy.png and /dev/null differ diff --git a/Ritz/image-removebg-preview (6).png b/Ritz/image-removebg-preview (6).png deleted file mode 100644 index b790fd75..00000000 Binary files a/Ritz/image-removebg-preview (6).png and /dev/null differ diff --git a/Tillo.png b/Tillo.png deleted file mode 100644 index 7bdd84ca..00000000 Binary files a/Tillo.png and /dev/null differ diff --git a/api-dashboard/package-lock.json b/api-dashboard/package-lock.json index 03deaca2..41fd74c8 100644 --- a/api-dashboard/package-lock.json +++ b/api-dashboard/package-lock.json @@ -1367,9 +1367,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1387,9 +1384,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1407,9 +1401,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1427,9 +1418,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1447,9 +1435,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1467,9 +1452,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1974,9 +1956,9 @@ } }, "node_modules/brace-expansion": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz", - "integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz", + "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==", "dev": true, "license": "MIT", "dependencies": { @@ -2864,9 +2846,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2888,9 +2867,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2912,9 +2888,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -2936,9 +2909,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -3182,9 +3152,9 @@ } }, "node_modules/postcss": { - "version": "8.5.22", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.22.tgz", - "integrity": "sha512-KBDEIpLrvpv16pp3K0Fw+UCoZfopFjjgeB+0tA/aaThfEE74kKDLrgg603YvOWJyg3+WYtyq3xYsQWsIyZlPqQ==", + "version": "8.5.25", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.25.tgz", + "integrity": "sha512-DTPx3RWSSnWyzLxQnlH0rJP+EW5ekl16ZU4/psbIhA0e53kJfdgaN5vKM+xP7yJtXVu+nfdVFmlgFDEKAe4Pyw==", "dev": true, "funding": [ { diff --git a/generate_report.py b/generate_report.py deleted file mode 100644 index 460adab5..00000000 --- a/generate_report.py +++ /dev/null @@ -1,110 +0,0 @@ -from fpdf import FPDF - -class DeploymentReport(FPDF): - def header(self): - self.set_fill_color(20, 40, 80) # Navy Blue - self.rect(0, 0, 210, 40, 'F') - self.set_text_color(255, 255, 255) - self.set_font('Arial', 'B', 16) - self.cell(0, 20, 'Deployment Analysis Report', ln=True, align='C') - self.set_font('Arial', '', 12) - self.cell(0, 10, 'Tillo - Canteen Automation Ecosystem', ln=True, align='C') - self.ln(20) - - def footer(self): - self.set_y(-15) - self.set_font('Arial', 'I', 8) - self.set_text_color(128, 128, 128) - self.cell(0, 10, f'Page {self.page_no()} | Generated by Claude Code', align='C') - - def section_title(self, title): - self.ln(5) - self.set_font('Arial', 'B', 14) - self.set_text_color(20, 40, 80) - self.cell(0, 10, title, ln=True) - self.ln(2) - self.set_draw_color(20, 40, 80) - self.line(self.get_x(), self.get_y(), self.get_x() + 190, self.get_y()) - self.ln(5) - - def section_body(self, text): - self.set_font('Arial', '', 11) - self.set_text_color(0, 0, 0) - self.multi_cell(0, 7, text) - self.ln(3) - - def create_table(self, header, data): - self.ln(5) - self.set_font('Arial', 'B', 10) - self.set_fill_color(230, 230, 230) - - col_width = 190 / len(header) - for i, h in enumerate(header): - self.cell(col_width, 10, h, 1, 0, 'C', fill=True) - self.ln() - - self.set_font('Arial', '', 9) - for row in data: - for item in row: - self.cell(col_width, 10, str(item), 1) - self.ln() - self.ln(5) - -pdf = DeploymentReport() -pdf.add_page() - -# Section 1: Infrastructure Analysis -pdf.section_title("1. Infrastructure Analysis & Resource Requirements") -infra_text = ( - "The system follows a Hub-and-Spoke architecture with a central Java backend and three React frontends.\n\n" - "Backend (Java 17 / Spring Boot):\n" - "- CPU: 4 vCPUs recommended for high-concurrency request processing.\n" - "- RAM: 8GB RAM is the critical baseline to avoid Out-Of-Memory (OOM) crashes during peak hours.\n\n" - "Database (PostgreSQL):\n" - "- High-performance NVMe SSD is essential to prevent I/O bottlenecks, especially during daily archival tasks.\n" - "- Recommended: 2 vCPUs / 4GB RAM.\n\n" - "Frontends (React/Vite):\n" - "- Purely static assets; should be served via a Global CDN for low latency." -) -pdf.section_body(infra_text) - -# Section 2: Deployment Options -pdf.section_title("2. Deployment Options") - -pdf.set_font('Arial', 'B', 12) -pdf.cell(0, 10, "Option A: The Managed Powerhouse (GCP/AWS)", ln=True) -pdf.section_body("Best for Enterprise reliability and automatic scaling. Use Cloud Run/Fargate for Backend, Managed SQL for DB, and S3/CloudFront for Frontends. Pros: Highest reliability. Cons: Highest cost.") - -pdf.set_font('Arial', 'B', 12) -pdf.cell(0, 10, "Option B: The Developer's Balance (DigitalOcean/Railway)", ln=True) -pdf.section_body("Recommended. Best balance of cost, ease of use, and stability. Use Premium Droplets (4vCPU/8GB) and Managed PostgreSQL. Frontends on Vercel/Netlify. Pros: Predictable pricing, fast setup.") - -pdf.set_font('Arial', 'B', 12) -pdf.cell(0, 10, "Option C: The Budget Optimizer (Hetzner/OVH)", ln=True) -pdf.section_body("Best for minimum cost. Single powerful VPS hosting both API and DB via Docker Compose. Frontends on Cloudflare Pages. Pros: Lowest cost. Cons: High maintenance burden.") - -# Section 3: Comparison Matrix -pdf.section_title("3. Comparison Matrix") -header = ["Dimension", "Option A", "Option B", "Option C"] -data = [ - ["Monthly Cost", "High (~$150+)", "Medium (~$60-90)", "Low (~$20-40)"], - ["Setup Effort", "Medium", "Low", "High"], - ["Scalability", "Automatic", "Manual/Vertical", "Manual/Vertical"], - ["Reliability", "99.99%", "99.9%", "Moderate"], - ["Maintenance", "Near Zero", "Low", "High"] -] -pdf.create_table(header, data) - -# Section 4: Operational Strategy -pdf.section_title("4. Operational Strategy") -ops_text = ( - "CI/CD Flow: GitHub Actions -> Maven/Vite Build -> Docker Image -> Rolling Update.\n\n" - "Security:\n" - "- Secret Management: Use environment variable managers; never commit .env files.\n" - "- CORS Strategy: Set APP_CORS_ORIGINS to allow only the three specific production frontend domains.\n" - "- Backups: Automated daily snapshots via managed database providers.\n\n" - "Monitoring: Implement Spring Boot Actuator to monitor JVM heap and thread counts in real-time." -) -pdf.section_body(ops_text) - -pdf.output("Deployment_Report_Tillo.pdf") diff --git a/image.png b/image.png deleted file mode 100644 index ebcc088d..00000000 Binary files a/image.png and /dev/null differ diff --git a/push_to_git.bat b/push_to_git.bat deleted file mode 100644 index 366b0004..00000000 --- a/push_to_git.bat +++ /dev/null @@ -1,7 +0,0 @@ -@echo off -git init -git remote add origin https://github.com/Canteen-Automation/RIT-Canteen.git -git checkout -b Abiram -git add . -git commit -m "Pushing code to Abiram branch" -git push -u origin Abiram --force diff --git a/test_qr_print.html b/test_qr_print.html deleted file mode 100644 index 0c5ef5ff..00000000 --- a/test_qr_print.html +++ /dev/null @@ -1,401 +0,0 @@ - - - - - - Test QR — Tillo - - - - - -

🖨️ Test QR — Print Preview

- - -
- - -
-
-
- - - -
- RIT Canteen -
- Tillo · Order Receipt -
- ⚠️ TEST ORDER — NOT REAL -
-
- - -
- -
- - -
-
- Order # - #TEST -
-
- Ref ID - ORD-TESTPRINT -
-
- Customer - Test Customer -
-
- Payment - Ritz Token -
-
- Type - Dine-in -
-
- -
- - -
-
- Samosa × 1 - ₹25 -
-
- Masala Tea × 2 - ₹60 -
-
- Veg Burger × 1 - ₹120 -
-
- Total - ₹205 -
-
- -
- - -
- 🔒 This QR cannot be marked as Delivered.
- Use for print quality & scan testing only. -
- - - -
- - - -

- The QR encodes ORD-TESTPRINT. - The terminal will get a 404 — Order Not Found when it tries to look this up, - so it can never be accidentally marked as delivered. -

- - - - diff --git a/tillo_spinner.gif b/tillo_spinner.gif deleted file mode 100644 index df79042d..00000000 Binary files a/tillo_spinner.gif and /dev/null differ