Skip to content

My CS50 final project- a simple app that only lets in registered users into an institution.

Notifications You must be signed in to change notification settings

Deepesh2023/alohomora

Repository files navigation

Alohomora

app icon

Video demo

watch here

About

Alohomora is a Windows desktop app that lets in only registered users into an institution.

The app lets you

  • create a member
  • renew their membership
  • delete members
  • check basic stats about the institution regarding member visits
  • let in only registered members with valid membership with the companion app

Download for Windows

The companion app

Important

Make sure your PC and mobile are on the same network.

Once you opened the app, head over to settings and look for 'Connect your mobile' option. It will present a QR code for your phone to scan. By scanning you have access to the companion app which lets you scan members ID card and the companion alerts you of their validity.

Creating ID cards

ID cards for members are basically a QR code with their username embedded. On checkup the companion with the help of the app looks up the username on the database and notifies their validity.

About the Companion app

The app is just a simple website hosted on the machine where the app runs. The website and app runs together. Works better on smartphones as it needs access to a camera.

Important

Since it uses http for connection you will need to change some settings to gain access to the camera.

On Chrome browser-

  1. First connect your mobile and gain access to the companion app.
  2. Copy the url.
  3. Visit and enable chrome://flags/#unsafely-treat-insecure-origin-as-secure
  4. Add the address you copied earlier to the text area. This is a one time process.
  5. Restart chrome and connect with the companion app once more.
  6. Enjoy!

Credit: a stack overflow answer

Visit here for the repo.

Motivation

This is my CS50x final project. I am a gym regular and I've always wondered if instead of relying solely on huge files and records for keeping track of the members why not digitalize it.

"We do these things not because they are easy, but because we thought they were going to be easy."

The name Alohomora is actually a spell from Harry Potter franchise where wizards use the spell to unlock locked doors.

Technologies and libraries used

Credits

This was CS50.

About

My CS50 final project- a simple app that only lets in registered users into an institution.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published