Skip to content

This repo is my submission for MySMS Messenger, a full-stack app with Angular & Rails. It allows users to send/view SMS via Twilio, with features like auth, deployment, and webhooks.

Notifications You must be signed in to change notification settings

MMaitland1/City-Hive_MySMS-Messenger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 

Repository files navigation

MySMS Messenger

In this exercise you are requested to develop MySMS Messenger.

MySMS Messenger is a full stack web app allowing the end users to send SMS messages as well as displaying them.

  • The frontend of the app should be written in Angular's latest stable version.
  • The backend (API) of the app should be written in Ruby on Rails with a database of your choice.
  • Sending an SMS should be done through Twilio API with a free account you've opened on your own (note they have a limit of a single phone number for free account, that's OK)

MySMS Messenger Wireframe

picture alt

Functionality that we'd like the app to have:

  1. You're able to send a message by talking to the backend API
  2. The messages sent so far are stored in a DB that the backend manages
  3. You're able to see the messages that were previously sent - the app should talk to the backend through a messages listing API endpoint
  4. Only messages sent by the user's session ID cookie should be visible when calling the listing API

Instead of using a session ID - add a user model to the backend.
Users should be able to provide a user name + password through the app to login and then also log out
Messages should be stored per user rather than session ID.

Note - use built in / well known GEMs to add support for that rather than implementing your own authentication (Always a bad practice).

Bonus 2 - Deploy The App

In this part of the exercise, you are requested to deploy MySMS Messenger.
End result would be a live demo of app that is fully functional.

Bonus 3 - webhooks

Add a reflection to the message cards showing that twilio successfully delivered the message:
https://www.twilio.com/docs/usage/webhooks/sms-webhooks?code-sample=code-send-an-sms-with-a-statuscallback-url&code-language=Ruby&code-sdk-version=5.x

Once done, please push your code to a public GitHub repo along with a link to the live demo of the app.

About

This repo is my submission for MySMS Messenger, a full-stack app with Angular & Rails. It allows users to send/view SMS via Twilio, with features like auth, deployment, and webhooks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published