What is it?
We were all taken by surprise at the start of the COVID-19 pandemic, when suddenly toilet paper was not available in grocery stores. Soon items like hand sanitizers, paper towels, bread, spaghetti, instant noodles etc. were vanishing off the shelves. And they are still not all back! My project is on the frontlines of this battle to help shoppers help their fellow citizens find these hard-to-come-by grocery items.
This website helps grocery item "seekers" (people looking for groceries) to subscribe to a hard-to-find item (like toilet paper), and "finders" (people who are shopping at a store) to publish images/location information when they locate the item at a store. We are all in this together, so let's help each other out!
The Twilio SMS api does a wonderful job bringing grocery desperados and hard-to-find grocery items together.
Mobile website: https://twilio-hackathon-menezes.herokuapp.com/
The main home page of the website
This is for looking up an item that you need. A list is provided for all items previously requested. You can either select from this list or add a new item.
Add your Name and PhoneNumber so that you can get a text message when an item is found. You are effectively subscribing to the item.
Person at the store wants to help when they find an item can do so from here. You can take a picture with your camera. You are asked for permission to use the phone camera. The app will also use your Location information which shows as a google link in the text message sent. You can disable location settings on your phone to keep your location anonymous.
The SMS message received contains the picture of the item, name of the person who helped, store name, a personal message and google location link.
There are 2 repositories:
1) Frontend : https://github.com/pipe2path/twilio-hack-coronavirus
2) Backend service : https://github.com/pipe2path/menezes-service
Both the above repos are MIT licensed.
The website is built in Angular 5 with bootstrap. The service is built in Node and Express.
The project is hosted on Heroku, using its MariaDB as the MYSQL database.
No issues experienced with the Twilio API. I've been using the SMS api for another app, so just used that experience. However, most of the issues experienced were from displaying camera images in the browser and the payload size to the backend service. Other than that, had a great time developing this project.
Top comments (0)