# M-Pesa Integration Platform
A seamless integration platform enabling businesses to easily connect with M-Pesa payment services across East Africa.
## π Features
- **Unified API**: Single API to integrate with M-Pesa across multiple East African countries
- **Business Dashboard**: Comprehensive dashboard for transaction management and analytics
- **Multi-Country Support**: Supports Kenya, Tanzania, Uganda, Rwanda, Mozambique, and DRC
- **Developer SDKs**: Ready-to-use client libraries in JavaScript, PHP, and Python
- **Sandbox Environment**: Test your integration before going live
- **Robust Security**: JWT authentication, encryption, and 2FA
- **Comprehensive Documentation**: Detailed guides and API reference
## π Getting Started
### Prerequisites
- Node.js (v14+)
- MongoDB (v4.4+)
- NPM (v6+)
- Git
### Installation
1. Clone the repository:
```bash
git clone
github.com
cd mpesa-integration-platform
```
2. Set up environment variables:
```bash
cp .env.example .env
```
Edit the `.env` file with your configuration details
3. Install dependencies:
```bash
# Install all dependencies (root, server, client)
npm run install-all
```
4. Start development servers:
```bash
# Start both backend and frontend
npm run dev
# Or start them separately
npm run server
npm run client
```
5. Access the application:
- Backend API:
- Frontend Dashboard:
### Using Docker
If you prefer using Docker:
```bash
# Build and start all services
docker-compose up -d
# Stop all services
docker-compose down
```
## π Project Structure
```
mpesa-integration-platform/
βββ client/ # Frontend React application
βββ server/ # Backend Node.js application
βββ sdk/ # Client libraries for integration
βββ docs/ # Documentation
βββ scripts/ # Utility scripts
βββ ...
```
## π API Documentation
API documentation will be available a β¦