Coder Social home page Coder Social logo

notifier-node's Introduction

Twilio

Notifier and SMS Notifications with Twilio Notify

Build Status

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 and depends on MongoDB.

  1. First clone this repository and cd into it.

    $ git clone [email protected]:TwilioDevEd/notifier-node.git
    $ cd notifier-node
  2. Copy the sample configuration file and edit it to match your configuration.

    $ cp .env.example .env

    You can find your TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN in your Twilio Account Settings. You will also need a TWILIO_NUMBER, which you may find here.

    You can find your TWILIO_NOTIFICATION_SERVICE_SID in you console under services.

    Run source .env to export the environment variables.

  3. Make sure the tests succeed.

    $ npm test
  4. Start the server.

    $ npm start
  5. 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 movie you to be subscribed. e.g.

    Rogue One
    

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

  2. Receive a confirmation message.

To Delete a Subscription

  1. Text your Twilio number with "usub movie name". 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.

notifier-node's People

Contributors

acamino avatar

Watchers

 avatar  avatar  avatar

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.