Skip to content
Jossue Sarango
All projects

SHPE Mobile App

I built the official SHPE NJIT mobile app with a team of three in 27 days, the first student-built app in NJIT history.

Society of Hispanic Professional Engineers · New Jersey Institute of Technology

  • React Native
  • Expo
  • TypeScript
  • Supabase
  • PostgreSQL

The Challenge

The Society of Hispanic Professional Engineers at NJIT is the university's largest engineering organization, and it was running on a patchwork: email blasts for announcements, a shared calendar for dates, GroupMe for chatter, and Instagram for everything else. Events got missed because no single place held them, and a member's involvement was invisible because nothing recorded who showed up. I needed to answer two questions: (1) how do we give members, alumni, and guests one place to find events and check in, and (2) how do we make involvement visible enough that people want to keep showing up?

I was the chapter's Webmaster, and my team of three had 27 days to get a real product into both app stores. I did not have a long runway to experiment, so the first job was deciding what the app would not do. The planning docs in the repo call it a two-week MVP and say it plainly: keep responsibilities clear, ship fast, and leave any intelligence layer for later.

The App Store listing

The Design

I chose Expo and React Native with TypeScript and Expo Router so one codebase could ship to the App Store and Google Play. For the backend I chose Supabase: Postgres with row-level security, auth, storage, and Deno edge functions in one place.

State stayed small. The early planning doc sketched a Zustand store, but what shipped is a handful of React Context providers (auth, theme, events, blocking, notifications).

The rule I held the backend to is that the client is never trusted with anything that moves points or attendance. The edge functions exist, in the repo's own words, to prevent client-side cheating and enforce business rules on the server. That rule shaped the three hardest parts of the app.

Home feed
Events calendar
Social feed

QR Check-In

Check-in is the feature everything else depends on, because attendance is what feeds the leaderboard. An officer opens an event in the admin screen, and the app calls a check-in-token edge function. The function confirms the caller holds a non-revoked admin role, confirms the event is active, and refuses to issue a token outside the check-in window. It then signs a short-lived JWT (HMAC-SHA256) containing the event and a token type, whose expiry rides on the event's end time. That JWT is what the QR code encodes.

A student scans it and the app calls a second function, validate-check-in. It verifies the signature, the expiry, and the token type, rejects a second scan by the same student with a 409, and only then writes the attendance row. The QR encodes a token the server signs and expires, not a bare event ID.

Venues have bad Wi-Fi, so the officer's device caches the token locally. That caused real bugs, and January 9 was a day of commits on cache behavior: a stale cached QR kept showing after an event changed, and failures were being masked as offline. I changed it to try the network first and fall back to the cache only on a genuine network failure. The check-in window now opens 30 minutes before the event starts, because officers need the QR up while they are still setting up the door.

Points and the Leaderboard

I wanted involvement to be visible, so every action that matters earns points: a check-in, an RSVP bonus, volunteering, and posting to the feed. I moved all of that logic into Postgres triggers and a single award_points function rather than letting the app send a point total. The migration says why in its first line: so it is impossible to cheat, and so the app makes fewer read calls.

The rules live in a table, not in code. Check-in is worth 50 points by default, an event can override that number, and feed posts carry a one-hour cooldown and a daily cap so nobody can farm the board by posting. Each award has a unique key built from the action, event, and user, so a check-in can be paid exactly once. After launch the leaderboard grew into an all-time table so rank lookups stay fast as the chapter grows.

Event check-in
Points leaderboard

Moderation

A social feed inside a student org needs moderation before it needs anything else, and App Store review expects an app with user-generated content to have it. On January 11 I built blocking and reporting, an admin report queue, and an admin moderation screen. I also built account deletion as an edge function, to make the app Apple-compliant, and Sign in with Apple followed a day later, alongside email and Google sign-in.

Posts and comments pass a banned-word check and length limits (5,000 characters for a post, 1,000 for a comment), and a client-side rate limiter caps posting at three per minute.

Blocking taught me something about row-level security. The first version was one-directional: if A blocked B, A stopped seeing B, but B could still see A, because B's device could never read the row proving the block. No client-side filter can hide data that the database already sent. The fix, applied in August, was a policy change so that both sides of a block can read it.

The Build

On top of that foundation went the rest of the product: multi-step onboarding wizards for students, alumni, and guests, committee pages, an events calendar with RSVP, push notifications through Expo, and role-based admin screens. Event share links run through a small Cloudflare Worker that maps events.shpenjit.org to a share-event function, so a link pasted into a group chat shows a branded preview card instead of a raw Supabase URL.

The pace shows in the commit history: the repo logged 54 commits on January 19 alone as the home screen, profile, feed, and leaderboard came together, and the release candidate, v1.0.0, landed on January 22.

Chat messaging
Game hub

The Results

The app shipped in 27 days and is live as SHPE NJIT on the App Store, rated 5.0 stars, and on Google Play. It reached 300 users in its first month and is SHPE's highest-rated app nationally. It is now the chapter's daily hub for events, check-in, and recognition, and the first student-built app in NJIT history.

It also kept growing after launch. The repo now includes direct messaging, a weekly games hub, a member-of-the-month recognition, post-event feedback prompts, and a graduation flow that converts students to alumni. In March 2026 I handed the app to the next Webmaster, so it is maintained by people other than the original team, which was the point of documenting it. The code is private to the chapter, but the listings are public on the App Store and Google Play.

Let's make something amazing.