Skip to content

drachtio/create-drachtio-app

Repository files navigation

create-drachtio-app CI

Usage: npx create-drachtio-app [options] project-name

Options:
  -h, --help                        display help for command
  -m, --media                       include the drachtio-fsmrf package for media control
  -r, --request-types <methods...>  list the SIP request types to handle, or 'all' (default: ["invite"])
  -t, --test                        generate a docker-based test suite
  -v, --version                     display the current version

Example:

Scaffold an application that wants to handle INVITEs and REGISTERs, with a test suite and with media control support

  $ npx create-drachtio-app -m -t -r invite register my-app

Creating a new drachtio app in /Users/perpich/test/my-app

  $ cd my-app
  $ npm test

  starting docker network..

    ✔ docker network is up

  sip tests

    ✔ invite test passes
    ✔ register test passes

  stopping docker network..

  total:     3
  passing:   3
  duration:  7.3s

About

scaffold a drachtio application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published