rejoice-framework / rejoice

Rejoice building USSD applications
https://rejoice-framework.github.io/docs
MIT License
5 stars 4 forks source link

How to configure Endpoint - Smile console #2

Open chuck189 opened 2 years ago

chuck189 commented 2 years ago

Hi Team, Good day, The following command doesn't open the smile simulator and says invalid endpoint what is supposed to be configured in the public folder, I feel this is a good framework but am stuck at this point of configuration and no support from the docs. image

mikebergafu commented 2 years ago

Hello Chuck,

If I can get a snapshot of your particular error screen, it can remedy the problem.

On standby to assist.

On Mon, 15 Aug 2022 at 01:45, Chuck Dev @.***> wrote:

Hi Team, Good day, The following command doesn't open the smile simulator and says invalid endpoint what is supposed to be configured in the public folder, I feel this is a good framework but am stuck at this point of configuration and no support from the docs. [image: image] https://user-images.githubusercontent.com/64158289/184564267-565bafda-c658-408d-8f5f-e1da5d10e544.png

— Reply to this email directly, view it on GitHub https://github.com/rejoice-framework/rejoice/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ7YKMJUXH44MI3VW4CUDDVZGOKTANCNFSM56QZ3I7Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

MIKE-BERG SITSOFE AFU

MOBILE| VODAFONE: +233 (0) 204 038 261

            MTN GHANA: +233 (0) 246 102 372

L| linkedin.com/in/mike-berg-afu-52686b107 https://www.linkedin.com/in/mike-berg-afu-52686b107

GITHUB| https://github.com/mikebergafu

GITLAB| https://gitlab.com/mikebergafu

Experienced in the Development of:

mikebergafu commented 2 years ago

The screenshot below should help you set up the project and run your simulator by clicking http://127.0.0.1:8000 http://127.0.0.1:8000 in your console after filling in your .env and running $ php smile serve.

[image: image.png]

On Mon, 15 Aug 2022 at 02:04, mike-berg Sitsofe Afu @.***> wrote:

Hello Chuck,

If I can get a snapshot of your particular error screen, it can remedy the problem.

On standby to assist.

On Mon, 15 Aug 2022 at 01:45, Chuck Dev @.***> wrote:

Hi Team, Good day, The following command doesn't open the smile simulator and says invalid endpoint what is supposed to be configured in the public folder, I feel this is a good framework but am stuck at this point of configuration and no support from the docs. [image: image] https://user-images.githubusercontent.com/64158289/184564267-565bafda-c658-408d-8f5f-e1da5d10e544.png

— Reply to this email directly, view it on GitHub https://github.com/rejoice-framework/rejoice/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ7YKMJUXH44MI3VW4CUDDVZGOKTANCNFSM56QZ3I7Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

MIKE-BERG SITSOFE AFU

  • SOFTWARE DEVELOPMENT CONSULTANT & TRAINER
  • BACKEND & MOBILE APP DEVELOPER

MOBILE| VODAFONE: +233 (0) 204 038 261

            MTN GHANA: +233 (0) 246 102 372

L| linkedin.com/in/mike-berg-afu-52686b107 https://www.linkedin.com/in/mike-berg-afu-52686b107

GITHUB| https://github.com/mikebergafu

GITLAB| https://gitlab.com/mikebergafu

Experienced in the Development of:

  • Payment Gateways/Mobile Money Platforms
  • Telecom Header Enrichment
  • Bulk SMS Gateways
  • USSD
  • Telco VAS (Value Added Services)
  • Fleet Booking/Rental Systems
  • Revenue Mobilisation and Management Systems

--

MIKE-BERG SITSOFE AFU

MOBILE| VODAFONE: +233 (0) 204 038 261

            MTN GHANA: +233 (0) 246 102 372

L| linkedin.com/in/mike-berg-afu-52686b107 https://www.linkedin.com/in/mike-berg-afu-52686b107

GITHUB| https://github.com/mikebergafu

GITLAB| https://gitlab.com/mikebergafu

Experienced in the Development of:

mikebergafu commented 2 years ago

Sample .env

APP_ENV=dev APP_URL=http://localhost/YOUR-USSD-PROJECT-FOLDER/public/

SMS_ENDPOINT=

APP_DB_USER=root APP_DB_PASS= APP_DB_HOST=localhost APP_DB_PORT=3306 APP_DB_NAME=

SESSION_DRIVER=file SESSION_DB_USER=root SESSION_DB_PASS= SESSION_DB_HOST=localhost SESSION_DB_PORT=3306 SESSION_DB_NAME=

USSD_URL=${APP_URL} USSD_PHONE=+233240000000 USSD_NETWORK_MNC=01

USSD_CODE="*100#" USSD_CONSOLE_BEHAVIOR=CONSOLE

REQUIRED_PARAM_NAME_USER_PHONE=msisdn REQUIRED_PARAM_NAME_MENU_STRING=message REQUIRED_PARAM_NAME_USER_NETWORK=network REQUIRED_PARAM_NAME_SESSION_ID=sessionID REQUIRED_PARAM_NAME_USER_RESPONSE=ussdString REQUIRED_PARAM_NAME_REQUEST_TYPE=ussdServiceOp