Wellbean: The Finished Product! x Twilio Hackathon
Tags: twiliohackathon, codenewbie, womenintech
Published: 2020-04-30 15:58:00

[Reminder]: # (Make sure you've submitted the Twilio CodeExchange agreement: https://ahoy.twilio.com/code-exchange-community)

## What I built

Hello! Wellbean is my submission for the April 2020 Twilio x DEV hackathon. It's an app that generates automatic Whatsapp reminders for users to stay in touch with loved ones. 

During this period of self-isolation, I realized it's a great opportunity to stay in touch more frequently with friends and loved ones. I thought it would be a great idea to create an app that allowed me to input certain individuals and receive automated reminders for when to contact them, based on my own preferences.

I found that just a simple message reminder would help so much in keeping in touch with friends and family.

Wellbean's UI:

![Wellbean front-end](https://dev-to-uploads.s3.amazonaws.com/i/8wpv706kxhv70l4edj90.png)

Automated Whatsapp reminders based on frequency user chooses and submits via UI

![Wellbean Whatsapp messages](https://dev-to-uploads.s3.amazonaws.com/i/wpc933p4gnk0uf7j7ova.jpg)


Just a note: Since this app is run locally, it's not set up to run on full/explicit time parameters. 

In other words, if a user wants to be reminded 'Daily' to call one of their contacts, the app will send a message about once every 20 seconds (simulating a daily reminder) *while* the app is running locally.

Below is the timetable for when users would receive Twilio messages via Whatsapp based on their contact frequency settings:

| Frequency chosen  | Actual time elapsed between message sends  |
|---|---|
|  Daily | one message every 20 seconds  |
| Twice a Week  | one message every 40 seconds  |
| Weekly  | one message every 60 seconds  |
| Every Two Weeks  | one message every 80 seconds  |
| Monthly | one message every 100 seconds  |

### Category Submission: 

COVID-19 Communications - for helping users keep in touch with loved ones during this time of self-isolation.

### Take a peek at the demo!

https://www.loom.com/share/36e0660de36f42f2aedb9623bab1876b 

### Check out the code!

You can find the GitHub repo and detailed instructions for local set up [right over here >>](https://github.com/alexlsalt/wellbean-twilio-hackathon)


### How I built it (what's the stack? did I run into issues or discover something new along the way?)

It's really hard to believe how much I've learned over the past two weeks. I guess it just goes to show that if you really put your head down and get after a big goal - win or lose - you can only improve from where you were when you started!

At first, I'd built out my entire app's front-end with HTML, CSS, and vanilla JavaScript. Then, I'd set up a back-end structure with Firebase Firestore and user login functionality with Firebase Authentication (thinking that I'd have users log in remotely to the app for it to be used).

Well, things changed rapidly in the last few days, and after coming up against so many headache-inducing roadblocks, I swerved and changed course to only run the app locally through a Nodejs server! A big, tumultuous whirlwind, to say the very least.

In the end, I built this app with Nodejs, a small scoop of vanilla JavaScript, and Express. 

In any case, I still intend to build out a different version of the app that actually *can* take advantage of the Firebase functionality. Just give me a couple weeks' rest for my head to clear first....!

### Additional Resources/Info

If you want to see more about my process, I'm proud to share that I documented my journey throughout this hackathon! 

Feel free to check out the blog posts below for more behind-the-scenes of the creation and development of Wellbean >>

- [Do Well What You Know Well - April 15](https://dev.to/alexlsalt/do-well-what-you-know-well-twilio-hackathon-idea-2pc2)
- [Consistent Progress - April 16](https://dev.to/alexlsalt/consistent-progress-twilio-hackathon-update-2kio)
- [Getting Familiar with Firebase - April 17](https://dev.to/alexlsalt/getting-familiar-with-firebase-authorization-fundamentals-x-twilio-hackathon-update-2f78)
- [Go Time! - April 18](https://dev.to/alexlsalt/go-time-x-twilio-hackathon-project-update-he1)
- [Programming and the Bigger Picture - April 21](https://dev.to/alexlsalt/programming-the-bigger-picture-x-twilio-hackathon-project-update-3hpa)
- [Level Unlocked! - April 22](https://dev.to/alexlsalt/level-unlocked-x-twilio-hackathon-project-update-31cc)
- [Think Deeply and Forget It - April 23](https://dev.to/alexlsalt/think-deeply-and-forget-it-x-twilio-hackathon-project-update-517a)
- [Not Finished Yet, but Here's the Idea - April 27](https://dev.to/alexlsalt/not-finished-yet-but-here-s-the-idea-twilio-hackathon-project-update-2ok7)
- [A Great Epiphany - April 28](https://dev.to/alexlsalt/a-great-epiphany-x-twilio-hackathon-project-update-cg9)
- [Roadblocks and a Big Mindset Shift - April 28](https://dev.to/alexlsalt/roadblocks-and-a-big-mindset-shift-x-twilio-hackathon-project-update-1gd4)