Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 742 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 742 Bytes

fantastic-succotash

This is a simple application to send Mpesa STK Push requests using the Daraja API to Kenyan Members of Parliament.

Installation

To run this application, you need to have Go installed on your machine. You can download and install Go from the official website.

  1. Clone the repository

    git clone https://github.com/0x6flab/fantastic-succotash
  2. Run go mod download to download the dependencies

    go mod download
  3. Create a .env file in the root directory and add the following environment variables

    MPESA_CONSUMER_KEY=
    MPESA_CONSUMER_SECRET=
    MPESA_PASS_KEY=
  4. Run the application

    go run main.go