# This a miniproject that integrates Kenyan Safaricom Lipa Na Mpesa API for payment.
This is a MERN Stack project that uses Express and Node for backend and React on the frontend: You should also have ngrok install to set up a callback url so that the payments made by the user are saved back to the local database that is the MongoDb that has been used for this project. The user payment number has been masked just for security reason but you can feel free to unmask them for your own use say when making an order once its integrated on an Ecommerce App.
## How to set up this project.
After you clone or download this project to your local directory, you can run:
## Run npm install
CD to each project folder and run npm install to get all your dependencies set up for the project.(client and server)
## Install and set up Ngrok
Once you install ngrok and configure it right, the next assignment is to open in to the port your backend server is running on for instance **ngrok http 8000**
## Project Screenshot
**Home Page**
**Stk Push For User To Enter Pin**
**Payment Success**
**Transaction Populated**