Skip to content

absent-cc/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e0df0c · Mar 14, 2023
Apr 20, 2022
Sep 12, 2022
Mar 14, 2023
Feb 6, 2022
Apr 11, 2022
Dec 7, 2022
Feb 27, 2022
Sep 12, 2022
Sep 12, 2022
Sep 28, 2022
Jan 6, 2022
Oct 12, 2022
Feb 23, 2022
Feb 19, 2022
Feb 4, 2022
May 25, 2022
Sep 12, 2022

Repository files navigation

abSENT - Notifications for NPS students.

Push notifications for NPS students, informing them of absent teachers. The solution to the absent list problem.

abSENT Github Banner

What is it?

An SMS schoology bot that notifies NPS students when their teachers are absent. Supports both Newton high schools, Newton South & Newton North. abSENT uses the Schoolopy API wrapper to grab teacher absences from Schoology, which are processed. Alerts are then sent through FCM (Firebase Cloud Messaging) to registered users.

How does it work?

Students sign up in our app. Their schedule is then saved as a postgres database using 3 tables:

  • One table stores students and their characteristics (name, Google subject ID, etc)
  • Another stores teachers and their characteristics (name)
  • The third table is an array of classes that maps teacher & block -> student.

Every school day, abSENT retrives the new absence list and parses it. It then queries the postgres database by teacher ID and block to find students who have absent teachers. These students are then notifed that their teacher is absent.

Why?

Refreshing Schoology 20 times every morning is somewhat draining.

Disclaimer:

abSENT as a project is not affiliated with any of the entities whose students it serves. We are students and have written this project just for fun, as a minor QOL improvement in the morning.