Skip to content

An example web callback for routing incoming requests on drachtio

Notifications You must be signed in to change notification settings

davehorton/drachtio-sample-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drachtio-sample-webapp

A simple express-based web callback for drachtio. This app provides a simple example of a web callback that illustrates the possible ways to provide routing instructions for an incoming call.

Do not take this application as a normative example. The structure here, of using a config file to contain routes (vs a database, or something else) and the use of express as http middleware were simply a choice made by the author. You can implement this however you like, in whatever language or framework you like.

For more details on when and why you might want to use a webapp for routing see here.

Installation

  • copy config/default.json.example to config/local.json
  • edit as appropriate for your need
  • npm start.

About

An example web callback for routing incoming requests on drachtio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published