A minimalist web application to send and receive SMS with Twilio.
npm run build
- Upload assets to https://console.cloud.google.com/storage/browser/twilio-message-viewer
- Replace index.html links with auth links from assets in the bucket
A version of this application is available on:
https://storage.cloud.google.com/twilio-message-viewer/index4.html?authuser=0
You will need a Twilio account to read and send SMS messages.
If you don't have an account, Twilio offers a free trial account. Once your account is created you will need to verify your personal phone number. Finally, you also need to get a Twilio phone number with SMS capability.
- Sign-in to Twilio and get your
ACCOUNT SID
andAUTH TOKEN
on the Twilio's Console Page. - Use your
ACCOUNT SID
andAUTH TOKEN
to sign-in to Twilio SMS Web.
Sign-in
Read messages:
Compose messages:
In the project directory, you can run:
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
It bundles React in production mode and optimizes the build for the best performance in the build
folder.
A varient npm run build:prod
is also available which is going to override the .env
file with the values from a .env-prod
.
Intended to be used after npm run build:prod
.
It deploys the content from the /build
folder to: https://rafasantos.github.io/twilio-sms-web/
This project uses dotenv to manage environment variables.
Developers can change these values according to their needs via environment variables or editing the .env
file.
Sample .env
file:
# When this value is populated, then Google Tag Manager is going to be enabled with this publicId, i.e: GTM-0000000
REACT_APP_GOOGLE_TAG_MANAGER_ID=GTM-0000000
.env
files should be managed independently and they should not be pushed to the codebase repository.