Logo Lanfrica

evergreen-realm/mutune--

Domain:

digital infrastructure

Record type:

software
Creator:
eve
Host:
MutuneRent Pro – Mombasa’s smarter property management # MutuneRent Pro 🏒 > Full-stack property management platform for Mutune Estate Agency, Mombasa, Kenya. > Designed to scale from 600+ to 2,000+ properties. --- ## Architecture ```mermaid flowchart TB subgraph Client["Frontend β€” Vercel"] SPA["React 18 + Vite SPA"] end subgraph Server["Backend β€” Render (Frankfurt)"] API["Express 4 API 29 Route Modules"] end subgraph Data["Database"] DB[(MongoDB Atlas)] end SPA -->|HTTPS| API API --> DB subgraph External["External Services"] MPESA["Safaricom M-Pesa Daraja API"] AT["Africa's Talking SMS + USSD"] KRA["KRA eTIMS Tax Invoices"] KYANDA["Kyanda KPLC / Water"] R2["Cloudflare R2 Object Storage"] CLERK["Clerk Auth & SSO"] RESEND["Resend Email"] KIMI["Kimi / Moonshot AI Chat"] SENTRY["Sentry Error Tracking"] end API --> MPESA API --> AT API --> KRA API --> KYANDA API --> R2 API --> CLERK API --> RESEND API --> KIMI API --> SENTRY SPA --> CLERK ``` --- ## Live URLs | Service | URL | |---------|-----| | **Frontend** | mutune-alpha.vercel.app | | **Backend API** | mutunerent-api.onrender.com | | **API Documentation** | mutunerent-api.onrender.com | | **Health Check** | mutunerent-api.onrender.com | --- ## Repository Structure ``` mutune/ β”œβ”€β”€ backend/ β”‚ β”œβ”€β”€ config/ # Database connection, Swagger, index sync β”‚ β”œβ”€β”€ cron/ # Scheduled jobs (late fees, lease cleanup, rent accrual) β”‚ β”œβ”€β”€ middleware/ # Auth (Clerk JWT), RBAC, sanitize, security β”‚ β”œβ”€β”€ models/ # 24 Mongoose schemas β”‚ β”œβ”€β”€ routes/ # 29 REST API route modules β”‚ β”œβ”€β”€ services/ # External integrations (M-Pesa, SMS, eTIMS, AI, etc.) β”‚ β”œβ”€β”€ tests/ # 14 test suites (Jest + Supertest) β”‚ β”œβ”€β”€ utils/ # Logger, R2 uploads, encryption, pagination β”‚ β”œβ”€β”€ server.js # Express entry point β”‚ └── .env.example # Backend env template β”‚ β”œβ”€β”€ frontend/ β”‚ β”œβ”€β”€ public/assets/ # Images, icons β”‚ β”œβ”€β”€ src/ β”‚ β”‚ β”œβ”€β”€ compon …