Skip to content

balamt/python-ui-webhook-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Python UI Webhook Demo

This project demonstrates a Python-based UI webhook integration. The project includes several Python scripts that handle different aspects of the webhook functionality.

Project Structure

  • uiapp.py: The UI app which runs the UI listening for webhook to respond.
  • userverify.py: Which will make the webhook call to the ui, when some one calls the POST /user_verify .

Getting Started

Prerequisites

  • Python 3.8 or higher
  • Flask
  • Requests
    python3 -m venv .
    source ./bin/activate
    pip install flask
    pip install requests

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/python-ui-webhook-demo.git
  2. Navigate to the project directory:
    cd python-ui-webhook-demo
  3. Install the required dependencies:
    pip install -r requirements.txt

Running the UI Application

  1. Start the Flask server:
    python uiapp.py
  2. Open your web browser and navigate to http://localhost:5001 to view the application.

Running the Web API Application

  1. Start the Flask server:
    python userverify.py
  2. Open your web browser and navigate to http://localhost:5000 to view the application.

Usage

  • The application listens for incoming webhook requests at /webhook.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages