InterMention is a an application that utilizes Psychology's Repetition & Reminding technique (Cognitive Restructuring) to Reinforce & Redirect the user's thought process. Users can use affirmations (Mentions) to counteract the effects of negative thoughts throughout their day by viewing their Mentions, adding new ones, and even having them sent to their phone as an SMS.
In addition, InterMention has a Quote of the Day to inspire the user with insightful and uplifting quotes.
✨ See Zelma's Other Projects Here!
Here is a designated test user whose credentials you can use to login:
Stuart Smalley
Email: stuartisvalid@gmail.com
Password: Celery123!!
Bio: Stuart is a someone who occassionally struggles with negative thoughts and he's been looking for something to help. He's a trained Psychologist, so he knows that counteracting these thoughts when they occur can be very beneficial, so he uses InterMention to keep a list of his favorite affirmations ("Mentions") to use.
Stuart can view his Mentions at any time, add new ones, and even have them texted to his phone. Let's hope that slowly over time Stuart starts to believe these positive alternatives, because he's a great guy who is "entitled to his share of happines".
- Install & run Docker
- Fork & clone this repo
- Create a
.env
file in the source directory & add these lines:
AUTH0_DOMAIN=<copy/paste your domain here>
AUTH0_AUDIENCE=<copy/paste your audience here>
TWILIO_ACCOUNT_SID=<copy/paste your sid here>
TWILIO_AUTH_TOKEN=<copy/paste your token here>
- In your CLI, from the root directory, run
npm install
- While still in root directory, run
npm run db:init
- Run
npm start
- InterMention will be running on localhost:3000
If you would like to receive a Mention via text:
- Add a new Mention to your table
- Select that Mention with its Radio Button
- Enter your phone number (click 'Enter Phone')
- Click 'Get SMS' button - et voila!
InterMention utilizes the MVC Model, View, Control design pattern using 3 main technologies: Model = PostgreSQL, View = React.js, Control = Express.js
- PostgreSQL
- React.js
- Express.js
- Raw CSS ('cuz I ❤️ CSS)
- Auth0 API
- Twilio SMS API
- They Said So API
- The user can login using Auth0 (additions: Google Login Feature)
- The user can add affirmations to their list and view them at any given time
- User can delete affirmations from table
- Consumes a Quote of the Day API
- Send their favorite Mention/Affirmation to the user via text (Twilio SMS API) - ACHIEVED!
- Send the user's SMS on a schedule (added as an OpenSource Issue)
Distributed under the MIT License. See LICENSE.txt for more information.
Zelma Sedano - @TSockk - zvsedano@gmail.com
Special thanks to these folks (emoji key):
George Song 💻📖🚇🚧 |
Brent Haas 🧑🏫💬💻 |
Margaret Geary 🧑🏫🎨🤔 |
Nate Mooney 🧑🏫💻🔬 |
Tabitha O'Melay 👀💬 |
Jen Huynh 👀📢💬 |
Natalie Monique 📢💬 |
Xiao Zhong 👀💬 |