Skip to content

philwamba/node-ussd-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ussd-app

This is a simple Node.js-based USSD application that handles basic USSD menu navigation and responses. It demonstrates how to build a USSD service with dynamic menus, error handling, and modular code design.

Features

  • USSD Menu Navigation: Supports multi-level menu navigation with dynamic responses.
  • Dynamic Content: Displays user-specific information, such as phone numbers.
  • Error Handling: Gracefully handles invalid inputs and navigation errors.
  • Modular Design: Uses classes for cleaner code and easier maintenance.

Project Structure

  • app.js: Main application file that handles incoming USSD requests and processes the menu navigation.
  • UssdMenu: Class responsible for generating USSD responses.
  • UssdService: Class responsible for handling the USSD session and navigation logic.

Getting Started

Prerequisites

  • Node.js and npm installed on your machine.

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.


This README.md provides an overview of the project, instructions on how to get started, and details about the usage and structure of the application. You can customize it further based on your specific needs.

About

A simple node js USSD app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published