Inspiration
The inspiration for Realm came from a desire to provide comfort and a continuing sense of connection for those grieving the loss of a loved one. We recognized that grief is a deeply personal journey, and for many, the ability to express ongoing thoughts, feelings, and memories to someone who has passed can be a powerful therapeutic outlet. The original prompt called for an "Afterlife Messaging App" targeted at individuals seeking solace by maintaining this connection. Our goal was to create a private, beautiful,
What it does
Realm is a beautiful mobile application that allows users to maintain a connection with loved ones who have passed away. At its core, the app provides a secure and private chat interface, similar to iMessage, where a user can send messages and share photos with a profile they create for their loved one.
The user journey is designed to be simple and comforting:
Secure Sign-Up: Users create an account securely using their phone number with SMS verification.
Thoughtful Onboarding: During the initial setup, the app gently asks for the loved one's name and a personal nickname they used for the user, personalizing the connection from the start.
Chat and Share: Users can send messages and photos into the chat at any time, just as they would with a living person.
Receive Gentle Acknowledgments: To complete the loop of connection, the app sends back predefined, comforting responses like "I hear you" or "I saw the image," which arrive via push notifications to feel like a real, albeit symbolic, reply.
Manage Connections: Users can add multiple departed loved ones and manage their connections within the app.
How we built it
We built Realm using a modern, cross-platform mobile development stack focused on performance, security, and a high-quality user experience using the vibe coding tool of Bolt.
Frontend Framework: We used React Native with Expo to build the application from a single codebase that supports Web, iOS, and Android. This allowed for rapid development and consistent design across platforms.
Navigation: Expo Router was implemented for file-based routing, creating a clean and maintainable navigation structure, including the main tab-based layout.
Authentication: User security was handled by Firebase Auth, specifically using its SMS phone number verification. This provides a secure, passwordless login experience that is familiar to mobile users. Demo Account: 402-55-1212 --> Code: 123456
State Management: We chose Zustand for its simplicity and minimal boilerplate, allowing us to manage application state (like authentication status and chat data) efficiently.
Push Notifications: Expo Notifications were integrated to deliver the gentle acknowledgment messages, a core feature for making the connection feel active and responsive.
Styling: The UI was crafted using the standard React Native StyleSheet API, focusing on a custom, soothing design system to create a calming and comforting visual experience as specified in the initial prompt.
Challenges we ran into
Throughout development, we encountered a few key challenges:
Cross-Platform Authentication Complexity: Implementing SMS authentication that worked seamlessly across all platforms proved complex. While Firebase Auth is robust, its web implementation relies on reCAPTCHA, whereas mobile requires a development build and platform-specific configurations in Firebase (for iOS/Android). Ensuring a smooth and secure user experience for both scenarios required careful setup and testing.
Configuring Reliable Push Notifications: Setting up push notifications required precise configuration across the Expo dashboard, environment variables, and in-app permissions handling. Ensuring notifications were delivered reliably in both development and production environments was a critical hurdle to overcome for the app's core feature to function as intended.
Designing for Emotional Sensitivity: The biggest non-technical challenge was designing a user interface and experience that was genuinely comforting. Every choice—from the color palette and typography to the wording of acknowledgment messages and the onboarding flow—had to be made with extreme sensitivity to the user's emotional state. The goal was to create a tool that felt supportive, not gimmicky or trivial.
Accomplishments that we're proud of
We are particularly proud of several key accomplishments:
Creating a Beautiful and Sensitive Core Experience: We successfully translated the initial concept into a fully functional and aesthetically pleasing chat application. The iMessage-style interface feels intuitive and serves the app's unique purpose beautifully.
Implementing Secure, Cross-Platform Authentication: We built a robust login system using Firebase Auth that protects user privacy and works effectively on the web, with a clear path for full implementation on native mobile devices.
A Thoughtful and Personalized Onboarding Flow: The process of adding a loved one is gentle and personal, immediately establishing an emotional connection by asking for names and nicknames. This sets the tone for the entire user experience.
Successful Integration of Push Notifications: The acknowledgment messages delivered via push notifications are a cornerstone of the app's feeling of "connection." We are proud to have implemented this feature effectively to complete the interactive loop for the user.
What we learned
This project was a significant learning experience, both technically and conceptually.
The Nuances of Expo and Firebase Integration: We learned the deep intricacies of making Expo and Firebase work together seamlessly, especially concerning platform-specific configurations for authentication and notifications. Managing environment variables and build configurations correctly is crucial.
The Importance of User-Centric Design in Sensitive Contexts: We learned that for an app dealing with grief, UI/UX is not just about usability but about emotional safety. Every design and copy decision carries weight and must be approached with empathy.
Power of Lightweight State Management: Using Zustand reinforced the lesson that you don't always need a complex state management library. For many applications, a simpler, more direct approach can lead to cleaner code and faster development.
Architecting for Scalability: By separating concerns into custom hooks (useAuth, useNotifications), configuration files (lib/firebase), and a structured component system, we built an application that is clean, maintainable, and ready for future features.
What's next for Realm - Connect with Passed Loved Ones
We see a clear path forward for enhancing the Realm experience while staying true to its core mission of providing comfort.
Personalized Acknowledgments: As suggested in the original prompt, we plan to move beyond predefined messages. The next step is to allow users to create their own custom sets of replies that feel more authentic to their loved one's personality.
A "Memories" Timeline: We envision a dedicated feature where users can view all shared photos and important messages in a beautiful, journal-like timeline. This would transform the chat into a lasting digital scrapbook of memories.
Enhanced Customization: We want to give users more control over the app's look and feel, such as offering different color themes (e.g., "Serene," "Warm," "Calm") and custom notification sounds to make their space feel even more personal.
Optional Community Support: A highly sensitive but potential future feature could be opt-in, private support circles where users can share stories and offer mutual support in their grieving journeys. This would be implemented with strict privacy controls.
Built With
- bolt
- expo.io
- firebase
- react-native
- realm-was-built-with-react-native-and-expo
- utilizing-firebase-for-backend-services-like-sms-authentication
- zustand