HomeMongoDB for AcademiaStudent SpotlightsmyLeG

myLeG

This project downloads the substitution plan of my school and converts it into a user-friendly page.

#About the Project

The project shows the substitutions of my school in a more readable way and also sorted, so the users only see the entries that are relevant to them. It can also send out push notifications for new or changed substitutions and has some information about the current COVID regulations

#Inspiration

I didn't like the current way substitutions are presented and also wanted a way to be notified about upcoming substitutions. In addition, I was tired of coming to school even though the first lessons were cancelled because I forgot to look at the substitution schedule.

#Why MongoDB?

Since not every piece of information (e.g. new room for cancelled lessons) on the substitution plan is available for all entries, a document-based solution was the only sensible database.

#How It Works

Every 15 minutes, a NodeJS script crawls the substitution plan of my school and saves all new or changed entires into my MongoDB collection. This script also sends out push notifications via the web messaging api to the users who subscribed to them. I used Angular for the frontend and Vercel Serverless functions for the backend. The serverless functions get the information from the database and can be queried via their Rest API. The login credentials are stored in MongoDB too and logins are saved as JWTs in the users cookies.

Tools Used
  • Atlas
  • JavaScript
  • Nodejs
View CodeLive Demo
Created By

Explore more Student Spotlights

Database Development for Dog Care Providers (DCP)

Learn MongoDB by creating a database for dog care providers!

Go-FIFA

GoFifa - A comprehensive soccer stats tracker.

Chember

Instantly find the streetball game you are looking for anytime and anywhere with Chember!

Hostels Kenya

Find hostels and student apartments all over Kenya

See All

Have an interesting MongoDB project to share? Let us know!

Show off your project
Backpack with GitHub logo plus MongoDB leaf

Get exclusive student access to MongoDB Atlas, University on-demand content and certifications.

Students can apply for the GitHub Student Developer Pack and get access to MongoDB Atlas, University on-demand content and certifications.

GitHub Student Developer Pack
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.