Skip to content

This is a simple application to send Mpesa STK PUSH to MPS

License

Notifications You must be signed in to change notification settings

0x6flab/fantastic-succotash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a simple application to send Mpesa STK PUSH to MPS

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages