Skip to content

amandamcg/receive-mms-node

 
 

Repository files navigation

Twilio

Recieve and Download MMS Messages. Powered by Twilio - Node.js/Express

Build Status

Use Twilio to receive and download MMS messages. For a step-by-step tutorial see the Twilio docs.

Local development

First you need to install Node.js.

To run the app locally:

  1. Clone this repository and cd into it

    git clone [email protected]:TwilioDevEd/receive-mms-node.git && \
    
    cd receive-mms-node
  2. Install dependencies

    npm install -g yarn && \
    yarn install
  3. Copy the sample configuration file and edit it to match your configuration

    $ cp .env .env.local

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

    Run source .env.local to export the environment variables

  4. Run the application

    yarn start

    Alternatively you might also consider using nodemon for this. It works just like the node command but automatically restarts your application when you change any source code files.

    yarn global add nodemon && \
    nodemon index.js 
  5. Check it out at http://localhost:3000

That's it

Run the tests

You can run the tests locally by typing

yarn test

Meta

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.7%
  • HTML 17.6%
  • CSS 0.7%