Virasat
Preserve your virasat
The problem Virasat solves
Virasat solves the problem of fragmented family memory in the digital age. It addresses the fact that a family's most precious stories, photos, and milestones are often scattered, unorganized, and at risk of being lost forever.
The Problem: A Scattered Legacy 💔
In today's world, a family's history is typically spread across many disconnected places:
- Physical Media: Old photo albums, shoeboxes of printed pictures, and home videos on aging tapes.
- Digital Devices: Thousands of photos and videos scattered across different phones, laptops, and hard drives.
- Public Social Media: Important moments are mixed in with memes and ads on platforms like Facebook and Instagram, making them hard to find and lacking in privacy.
- Oral History: The most valuable stories and life lessons exist only in the memories of older family members and are often lost when they pass away.
This fragmentation makes it nearly impossible to see a cohesive, chronological story of your family's journey.
The Solution: A Digital Family Trunk 📦❤️
Virasat acts as a single, private, and collaborative "family trunk" for the modern era. It provides a dedicated space to solve these specific problems.
-
It Centralizes Everything: Virasat creates a single, digital hearth where all family members, from grandparents to grandchildren, can contribute their photos, videos, and stories. This brings everything together in one organized and easily accessible place.
-
It Adds Context and Narrative: Instead of just a random collection of files, Virasat uses features like The Timeline and The Archive to turn scattered memories into a cohesive, chronological story. You don't just see a photo; you see where it fits into your family's history.
-
It Preserves Oral History: With features like Story Prompts, the application actively encourages members to record the stories and advice of older generations, capturing intangible heritage that would otherwise be lost.
-
It Ensures Privacy and Intimacy: Unlike public social media, Virasat is a secure, invitation-only space. It's designed for sharing intimate family moments without the noise and privacy concerns of public platforms. Features like Private Circles allow for even more focused sharing among specific groups (like siblings or cousins).
Challenges we ran into
Of course. Here is a point-wise summary of the challenges you solved.
Backend & Database
- Database Connection: Resolved
MongooseServerSelectionErrorby whitelisting the server's IP address in MongoDB Atlas. - Data Consistency: Fixed controllers to correctly link
UserandFamilydocuments upon creation and joining, which solved data persistence problems after login. - Security: Refactored controllers to use the server-verified user ID from middleware instead of trusting the client's request body, preventing potential security flaws.
Frontend State Management (Redux)
- State Persistence on Reload: Solved the issue of data disappearing after a page reload by moving essential data-fetching logic (
getFamilyDetails,fetchCircles) to the rootApp.jsxcomponent. - State Synchronization: Used
extraReducersto allow different slices to listen to each other's actions (e.g., makingfamilySliceupdate whenloginUsersucceeds), creating a single source of truth for the application's state. - Circular Dependencies: Resolved complex import loops between slices by separating asynchronous thunks into their own dedicated files (
authThunks.js,familyThunks.js).
File Uploads & Performance
- Slow UI & Server Timeouts: Re-architected the file upload feature from a slow, server-blocking method to a highly scalable direct-to-Cloudinary upload flow. This provided users with an upload progress bar and a much faster, non-blocking experience.
Third-Party Service Integrations
- Cloudinary Authentication: Debugged
Invalid Signatureandapi_keyerrors by correcting.envfile placement, fixing credentials, and ensuring environment variables were loaded at the very start of the server process. - Email Deliverability: Addressed the problem of invitation emails landing in the spam folder by identifying the need to switch from a personal Gmail account to a dedicated transactional email service (like SendGrid) and configuring proper DNS records (SPF, DKIM).
