Risk Assess USSD is a USSD application that allows users to assess their insurance risk and get a quote for their insurance policy. The application is built using the Africa's Talking USSD API.
A customer can dial the USSD code and answer a few questions to get a risk assessment and a quote for their insurance policy.
The customer also receives a follow-up SMS with the details of the insurance policy.
The application is built using Node.js and Express.js.
- Africa's Talking Account
- An API Key from Africa's Talking
- A USSD code (You can start with a free sandbox USSD code)
- Clone the repository
- Install the dependencies using
npm install
- Change the
.env.example
file to.env
and add your Africa's Talking API Key and username - Run the application using
npm start
ornpm run dev
for development - The application will be running on
http://localhost:3000
- Use a tool like ngrok or localtunnel to expose the application to the internet
- You can now use the exposed URL to configure the USSD application on Africa's Talking
- The entry point for the USSD application is
http://<exposed-url>/ussd