Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 1.58 KB

README.md

File metadata and controls

54 lines (27 loc) · 1.58 KB

HubtelUssdPhoenixExample

Hubtel USSD app built with Elixir's Phoenix Framework for learning purposes

Prerequisites

Getting Started

  1. These instructions will get you a copy of the project up and running on your local machine for development purposes.
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

  1. Start a seperate command line/terminal and change directory to your project root. Start ngrok with the same port as above:
ngrok http 4000
  1. Visit the Hubtel USSD Simulator webpage on http://apps.smsgh.com/USSDSimulator/ and replace the Client Url with one of the links generate by ngrok. e.g. http://e19d8c69.ngrok.io/ussd or http://e19d8c69.ngrok.io/ussd

Peak of PageController Logic

PageController

Authors

License

This project is licensed under the MIT License