Code Monkey home page Code Monkey logo

upnext's Introduction

Product Description

Tired of waiting in line, being bored and wasting your time? Get your number in line and leave to grab coffee or anything else you'd rather do. upNext will text you when you're up next in line!

screenshot of text messages showing how the product works

Steps to Send (Outbound) MMS

#1

npm install twilio

#2 Write the send-sms.js file

#3

  • Write the twilio.env file
  • Include .env in .gitignore
source ./twilio.env

#4

node send-mms.js

returns sends an MMS to the number provided

STEPS to Receive (Inbound) SMS

#1

npm init -y
npm install express ngrok

#2 Write the express app in server.js, then

node server.js

returns the ngrok public URL

#3 In your Twilio account, go to Manage Numbers > Active Numbers > Messaging > A Message Comes In:

  • select Webhook from the dropdown
  • copy-paste the ngrok public URL in the input box
  • Save

#4 Respond to the SMS from the Twilio number

  • this sends a request to the ngrok public URL
  • you may go to http://localhost:4040 in the browser to inspect the request and response and to debug

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.