Logo Lanfrica

yuzzothecreator/Drop-cash

Domain:

digital infrastructure

Record type:

software
Creator:
yuz
Host:
Tanzania mobile money gateway β€” collect payments and send payouts via M-Pesa, Airtel Money, HaloPesa & YAS. # πŸ’Έ Drop Cash **Tanzania Mobile Money Payment Gateway** β€” Collect payments and send payouts via M-Pesa, Airtel Money, HaloPesa & YAS through a single ClickPesa integration. --- ## ✨ Features - 🏦 **Collect Payments** β€” USSD Push requests to customer phones - πŸ’Έ **Send Payouts** β€” Disburse funds to mobile money wallets - πŸ“Š **Dashboard** β€” Real-time balance, stats, and transaction overview - πŸ“‹ **Transaction History** β€” Searchable, filterable, per-session records - πŸ” **Secure** β€” API keys stored in `.env`, never in source code - πŸ–₯️ **Activity Log** β€” Dark terminal-style event viewer - βš™οΈ **API Reference** β€” Built-in endpoint documentation - πŸ“± **Responsive** β€” Works on desktop, tablet, and mobile - 🎨 **Modern UI** β€” Professional design with sidebar nav, stepper wizards, micro-animations ## πŸš€ Quick Start ### Prerequisites - Node.js v18 or higher - A ClickPesa account with API credentials ### Setup ```bash # 1. Clone the repository git clone github.com cd Drop-cash # 2. Install dependencies npm install # 3. Create your environment file cp .env.example .env # Edit .env with your ClickPesa credentials # 4. Start the server npm start # β†’ localhost ``` ### Development Mode (auto-restart) ```bash npm run dev ``` ## πŸ”‘ Environment Variables Create a `.env` file in the project root: | Variable | Required | Description | |----------|----------|-------------| | `CLICKPESA_CLIENT_ID` | βœ… | Your ClickPesa Client ID | | `CLICKPESA_API_KEY` | βœ… | Your ClickPesa API Key | | `PORT` | ❌ | Server port (default: `3000`) | | `NODE_ENV` | ❌ | Environment (`development` / `production`) | > ⚠️ **Never commit your `.env` file!** It's already in `.gitignore`. Get your API keys from the ClickPesa Dashboard. ## πŸ“ Project Structure ``` drop-cash/ β”œβ”€β”€ .env ← Your secrets (git-ignored) β”œβ”€β”€ .env.example ← Template for other developers β”œβ”€β”€ .gitignore ← Excludes .env, node_modules, logs β”œβ”€β”€ server.j …