Skip to content

Express Twilio integration. A simple form for sending SMS to end-user

Notifications You must be signed in to change notification settings

frixou89/nodejs-sms-send-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs Twilio send SMS

Installation


git clone https://github.com/frixou89/nodejs-sms-send-code
cd nodejs-sms-send-code
npm install

Configuration


  1. Copy .env.example contents to .env.
  2. Fill the envirnoment variables. Example:
    #ENVIRONMENT
    NODE_ENV = dev
    
    #APP
    HOST = localhost
    PORT = 3000
    
    #TWILIO
    TWILIO_ACCOUNT_SID = <twilio_SID>
    TWILIO_NUMBER = <twilio_number>
    TWILIO_AUTH_TOKEN = <twilio_auth_token>
    

Running


To run project there are two scripts available:

  1. with nodemon installed
    npm run dev
    
  2. normal start
    npm run start
    

About

Express Twilio integration. A simple form for sending SMS to end-user

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published