Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 686 Bytes

README.MD

File metadata and controls

26 lines (20 loc) · 686 Bytes

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=https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials
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

  1. Run yarn dev to get started 🎉 🎉
  2. Play around with the api
Technologies

node, typescript, m-pesa daraja apis

☎️ Talk to me [email protected]