A react app for sending SMS to distribution lists.
This app allows you to:
- 📲 Mass send SMS to distribution lists
- 🎯 Target an audience for each message
- 🔬 View message metrics (characters, bytes and segments count)
- 💸 Estimate your costs
- 👥 Browse your distribution lists
- 💬 Browse your messages history
This is a demo app that uses fake static data to illustrate its functionalities. It is by no mean ready for production. In order to make it work, you would need to implement a few calls on your own in the services directory first and perhaps a few missing features.
Well, just clone the repo and then you know the drill :
npm install
npm start
Then you can log in by using the demo crendentials:
- Username: user@domain.com
- Password: 12345
This section allows to compose a message body and filter subscriptions to target a specific audience. These filters will adapt to the subscriptions and they can be customized with the REACT_APP_DISTRIBUTION_FILTERS
environment variable. Editing the message and changing the filter will update the statistics so it's easier to stay on budget.
If you try to send the message, nothing will happen as no messaging service has been connected yet. However, have a look at the console and you will see some debug info :
This section displays information about the audience and consents. Note that the table will adapt to the JSON object it receives from your backend. Say you were to add a consent field to each subscription, the table will expand to show that new column. You can play around with db.json to test your own schema.
The message log keeps track of everything that is sent through the app. The table will adapt to the schema that is provided by the backend.