Giter Site home page Giter Site logo

notifier-node's Introduction

Twilio

Archived - Notifier and SMS Notifications with Twilio Notify

Please see the docs for Twilio Notify to try out notifications.

Description

Tag users and send group notifications with one request. Twilio alerts everyone that matches the specified tags.

Local Development

This project is build using Express web framework.

  1. First clone this repository and cd into it.

    $ git clone [email protected]:TwilioDevEd/notifier-node.git
    $ cd notifier-node
  2. Install dependencies.

    $ npm install
    
  3. Copy the .env.example file to .env, and edit it including your credentials for the Twilio API (found at https://www.twilio.com/console). You will also need a Twilio Number.

    You can find your TWILIO_NOTIFICATION_SERVICE_SID in your Twilio console under services.

    Run source .env to export the environment variables.

  4. Make sure the tests succeed.

    $ npm test
  5. Start the server.

    $ npm start
  6. Check it out at http://localhost:3000.

How to Demo

For Help Instructions

  1. Text your Twilio number "help me". e.g.

    Help me
    
  2. Receive a message with instructions.

To Create a Subscription

  1. Text your Twilio number the name of the tag that you want to subscribe to. e.g.

    Rogue One
    

    Note: The available movies are "Han Solo Spinoff", "Rogue One", and "Episode VIII".

  2. Receive a confirmation message.

To Delete a Subscription

  1. Text your Twilio number with "unsub tag". e.g.

    unsub Rogue One
    
  2. Receive a confirmation message.

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

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.