GDSC SSIU
- Year
- 2024
- Role
- Engineering
- Status
- Sunset

A place to say hello
I built this site for the Google Developer Student Clubs community at Swarrnim Startup and Innovation University. It combines the club’s home page, team, campus event page and a shared chat.
The chat is one forum-style conversation. Visitors choose a display name and join without having to find a person to message first.
How it works
The Next.js interface writes to Firestore and subscribes to the latest messages directly through Firebase’s browser SDK.
Chat interface
The composer writes message text and display identity with a Firestore server timestamp. Image and voice upload code exists, but its controls are disabled.
All implementation notes
Shared chat
- Display identity
- A generated identifier, username and avatar are stored in localStorage. This display identity is not account authentication.
- Chat interface
- The composer writes message text and display identity with a Firestore server timestamp. Image and voice upload code exists, but its controls are disabled.
- Firestore
- An onSnapshot subscription reads the latest 50 messages and sorts them into reading order. The listener is removed when the component unmounts.
- Display identity: supplies the display name and local identifier (Chat interface).
- Chat interface: writes messages and subscribes to the latest 50 (Firestore).
Engineering decisions
- Bound the live query. The listener reads the latest 50 messages, sorts them into reading order and unsubscribes when the component unmounts.
- Distinguish identity from authentication. A generated identifier, name and avatar live in localStorage. They identify a display profile, not a verified account.
- Describe active features accurately. Image and voice upload code exists, but its composer controls are disabled. Server-enforced moderation and authenticated identities would be needed for a broader community product.
Visit the community site (opens in a new tab) or browse the source (opens in a new tab).