GithubHelp home page GithubHelp logo

taiyeoguns / nexmo-sms-webhook Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 21 KB

Simple callback service to receive SMS from Nexmo number and then send an email with it's content.

Python 100.00%
nexmo nexmo-sms webhook

nexmo-sms-webhook's Introduction

Nexmo SMS Webhook

Simple callback service to receive SMS from Nexmo number and then send an email with it's content.

Built with Python, Flask and Mailgun API.

Requirements

Installation

Clone Project

git clone https://github.com/taiyeoguns/nexmo-sms-webhook.git nexmo-sms-webhook

Install Requirements

With a virtualenv already set-up, install the requirements with pip:

pip install -r requirements.txt

Add details in .env file

Create .env file from example file and maintain necessary details in it e.g. Mailgun API Key, domain, email address to send to etc

cp .env.example .env

Start the server

Start the Flask web server by running:

python run.py

Server should usually be started at http://localhost:5000

Expose for external access

Use a tool like ngrok to make the local server available to the internet:

ngrok http 5000

This will expose a link such as: https://r4nd0m1d.ngrok.io that can be used in Nexmo Webhook URL configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.