Logo Lanfrica

robertkibet/mpesa-node-playground

Domain:

digital infrastructure

Record type:

software
Creator:
rob
Host:
Daraja API Mpesa playground B2B, B2C, C2B with Nodejs and Typescript ### Intro Simple m-pesa typescript playground - M-pesa Daraja API ### Getting Started 1. Fork this project and clone it locally 2. Run `yarn install` 3. Create a `.env` file and fill up with the needed items as highlighted below: ``` SANDBOX_CREDEDNTIAL_URL=sandbox.safaricom.co.ke CONSUMER_KEY=YOUR_DARAJA_CONSUMER_KEY CONSUMER_SECRET=YOUR_DARAJA_CONSUMER_SECRET DEVELOPER_AUTH_TOKEN=TOKEN_FROM_OAUTH_PLAYGROUND LOCALHOST=MACHINE_IP_ADDRESS PORT=5000 ``` 4. Run `yarn dev` to get started :tada: :tada: 5. Play around with the api ##### Technologies > node, typescript, m-pesa daraja apis :phone: Talk to me robert@kibet.me