This application demonstrates MPESA STK Push functionality that allows a Business to send an STK Push to a cutomer's Safaricom MPESA line to fullfill a payment request. The customer would then just need to input his/her MPESA PIN to authorize and complete the payment transaction
- React
- Redux
- MPESA Daraja API
- NodeJS
- Clone Repository here
- Navigate to the
server
directory:cd server
- Install dependencides:
npm install
oryarn install
- Launch Server:
npm start
- Navigate to
client
directory:cd client
- Install dependencies:
npm install
oryarn install
- Launch client application:
npm start
POST: /payment
{
"phone":"07XX XXX XXX",
"amount":100.00
}