MyMTC Namibia Loan Application with Telegram Bot Integration
# MyMTC Namibia Loan Application
A complete loan application platform for Namibia with real-time Telegram bot integration for approval workflows, OTP verification via SMS, and a beautiful mobile-first UI using MyMTC branding colors.
## Features
✅ **Beautiful Mobile UI** - Responsive, modern design with MyMTC branding
✅ **Loan Application** - Apply for loans up to N$500,000
✅ **Phone Verification** - Namibian phone number validation
✅ **Login Verification** - Phone & PIN-based authentication
✅ **OTP System** - Generate and verify OTP codes
✅ **Telegram Bot Integration** - Real-time approval workflow
✅ **Instant Callbacks** - Immediate status updates via polling
✅ **Admin Dashboard** - Telegram bot controls for approvals/denials
## Architecture
```
┌─────────────────────────────────────────────────────────┐
│ Frontend (Static Site) │
│ - index.html, styles.css, app.js │
│ - Hosted on Netlify/Vercel/GitHub Pages │
└────────────────┬────────────────────────────────────────┘
│ HTTP/HTTPS API Calls
▼
┌─────────────────────────────────────────────────────────┐
│ Backend (Node.js + Express) │
│ - server.js (API endpoints) │
│ - bot.js (Telegram integration) │
│ - Hosted on Railway/Render/Heroku │
└────────────────┬────────────────────────────────────────┘
│
▼
Telegram API
(Bot Notifications)
```
## Project Structure
```
mymtc-loan-app/
├── frontend/
│ ├── index.html # Main HTML structure
│ ├── styles.css # MyMTC-branded styles
│ └── app.js # Frontend logic & API calls
├── backend/
│ ├── server.js # Express API server
│ └── bot.js # Telegram bot handler
├── package.json # Dependencies
├── .env.example # Environment variables template
└── README.md # This file
```
## Installation
### Prerequisit …