A modern loan management web application built with React, Vite, and Tailwind CSS, powered by Supabase, React Query, and Context API for efficient state and data management.
Group-Lendr is designed to simplify group-based lending systems (such as SACCOs, chamas, or microfinance groups). It provides a centralized platform to manage members, loans, repayments, and contributions with real-time insights.
- React – Frontend UI library
- Vite – Fast build tool and dev server
- Tailwind CSS – Utility-first styling
- Supabase – Backend (Database + Auth)
- React Query (@tanstack/react-query) – Server state management & caching
- Context API – Client-side auth state management
- Secure authentication powered by Supabase Auth
- Auth state managed globally using Context API
- Protected routes (only authenticated users can access pages)
-
Overview of key metrics:
- Total loans
- Active loans
- Inactive loans
- Overdue loans
- Contributions summary
-
List of all members
-
Each member includes:
-
Loan records
-
Loan statuses:
- Active
- Inactive
- Overdue
-
Repayment history
-
Monthly contributions
-
-
View all loans in the system
-
Track:
- Total amount
- Amount paid
- Pending balance
- Loan status
-
Loan details page:
- Complete repayment history
- Payment breakdown
- View contributions across all members
- Track monthly contributions easily
-
Supabase handles:
- Database (PostgreSQL)
- Authentication
-
React Query handles:
- Data fetching
- Caching
- Background updates
- Server state synchronization
-
Context API handles:
- Authentication state
- User session management
src/
│
├── components/ # Reusable UI components
├── pages/ # Dashboard, Members, Loans, Contributions
├── hooks/ # Custom hooks (React Query hooks)
├── lib/api # Supabase queries & API logic
├── context/ # Auth context (Context API)
├── utils/supabase # Supabase client setup
└── App.tsx # App entry pointgit clone https://github.com/jmdotdev/group-lendr.git
cd group-lendrnpm installCreate a .env file in the root:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_keynpm run dev- Authentication handled via Supabase Auth
- Protected routes using auth context
- Secure session handling
- Role-based access control (Admin/User)
- Email notifications for overdue loans
- Reports & analytics dashboard
- Export data (CSV/PDF)
Group-Lendr helps you manage group lending efficiently with real-time data, secure authentication, and a clean modern UI.