Create an Emergency Broadcast System With Vonage, Node, and MongoDB
The summary is below: You can build an emergency broadcast app using Node.js, Express, MongoDB, and the Vonage Messages API. The app allows users to add contacts, see their contact list, and send an SMS message to all of their contacts when they press the ALERT button. The app uses a JavaScript library called Mongoose to connect to the user's MongoDB database and store their contacts. It also uses the Vonage Messages API to send SMS messages programmatically. When a user clicks the ALERT button, the app sends an SMS message to each of their contacts with their location (latitude and longitude) and a message saying they are in an emergency. The app is built using Express and serves static files from a directory called public, which contains HTML templates for the form and contact list. The app also includes CSS styles to make it visually appealing.
Company
Vonage
Date published
Feb. 1, 2022
Author(s)
Cory Althoff
Word count
2076
Language
English
Hacker News points
None found.