AndreasWintherMoen / jobb

Bedpres Bot, a messaging bot to notify users about student events
https://bedpresbot.no/
12 stars 0 forks source link

Create user web interface #1

Closed AndreasWintherMoen closed 1 year ago

AndreasWintherMoen commented 2 years ago

I assumed there would be some sort of conirmation system where the user had to message the Twilio number first before I could send an SMS to them. But I've tried adding a phone number to the database manually and sending SMS, and that works. This means the user doesn't have to send a SMS to a scary US number first to sign up, which means we can have a UI interface which manually adds numbers to the database.

This also requires a new API endpoint for subscribing and one for unsubscribing.

In the future the web interface can be used to customize user preferences, such as type of events or which companies you're interested in, and when you want to receive the notification (eg at time of event, 5 minutes before, 1 hour before, etc).

AndreasWintherMoen commented 2 years ago

I'm thinking a super simple React app with Material UI.

Kpaubert commented 2 years ago

Wow, a React app! Groundbreaking 👍

AndreasWintherMoen commented 2 years ago

Wow, a React app! Groundbreaking 👍

bitmoji

FredrikAugust commented 2 years ago

er du blitt foreleser i algdat @AndreasWintherMoen ?

AndreasWintherMoen commented 2 years ago

Jeg var jo studass i algdat!

bitmoji