Inspiration

The pervasive challenges of procrastination and a lack of self-discipline are universal hurdles to personal and professional growth. We were inspired by the psychological principle that individuals are far more likely to succeed when they have a financial stake in their commitment, are part of a supportive community, and are held transparently accountable by their peers. We saw a gap where existing tools lacked the real-time, peer-to-peer oversight and direct financial incentive needed to truly bridge the gap between intention and achievement. Mujtama was born from the desire to create an ecosystem that actively cultivates discipline and consistency.

What it does

Mujtama is a revolutionary digital platform that transforms individual goal-setting into a collaborative and accountable journey. Users create or join "communities" centered around specific goals, such as exam preparation, skill mastery, or project completion. Each member commits a financial stake and engages in real-time video meetings where they share their screen to visually demonstrate progress.

The platform provides a structured environment where:

  • Procrastination is combated through financial incentives and social pressure.
  • Consistent effort is fostered by mandated meeting participation and progress tracking.
  • Mutual support and shared journeys overcome isolation in goal pursuit.
  • Tangible rewards are distributed from the forfeited stakes of those who don't meet their commitments.

Mujtama isn't just a tool; it's an environment designed to turn aspirations into tangible accomplishments through powerful incentives and collective commitment.

How we built it

Mujtama was meticulously engineered with a robust and scalable technical architecture. We leveraged React.js on the frontend, providing server-side rendering for optimal performance and user experience. Tailwind CSS and Shadcn UI were instrumental in rapidly building a consistent, high-quality, and responsive user interface with a mobile-first approach.

For the backend, Supabase served as our core service provider, offering:

  • PostgreSQL for our relational database, handling all user, community, meeting, and financial data.
  • Supabase Authentication for secure user management.
  • Supabase Object Storage for secure and efficient storage of meeting recordings.

Crucially, Supabase Functions/Edge Functions automate critical backend tasks, including daily checks for community starts/ends, managing member disqualifications, and initiating the complex stake processing and earnings distribution logic.

The core meeting system utilizes native browser MediaDevices and MediaRecorder APIs for real-time video, audio, and screen capture. For the MVP, a simulated payment gateway on the frontend allows for comprehensive workflow testing without real financial transactions, ensuring the underlying logic is solid for future payment integration.

Security was paramount, with strict Supabase Row Level Security (RLS) policies and comprehensive input validation to protect user data and maintain platform integrity. The entire system is designed for scalability to accommodate future growth.

Challenges we ran into

Building Mujtama presented several intricate challenges:

  • Real-time Meeting Integration and Recording: Ensuring seamless, low-latency video and screen sharing with reliable, automatic recording was technically demanding. Managing the storage and secure, temporary access of these recordings while maintaining privacy was a significant hurdle.
  • Complex Financial Logic (Even Simulated): Designing the automated stake pooling, fee deduction, and fair distribution mechanism, especially with criteria like minimum weekly meeting days and total hours, required meticulous logic to prevent loopholes and ensure transparency.
  • Robust Social Accountability System: Crafting a fair and deterrent reporting and voting system that prevents false accusations while effectively penalizing non-commitment was crucial. This involved intricate logic for notifications, evidence review, and voting outcomes.
  • Ensuring UI/UX Consistency and Responsiveness: Achieving the "100 times better" standard for our UI/UX, particularly with full mobile responsiveness across all components like the Community Card and Create Community page, demanded rigorous attention to detail and iterative design. Eliminating horizontal scrolling on mobile was a persistent challenge.
  • Automated Lifecycle Management: Implementing seamless, automated transitions between community stages (Waiting, Active, Ended) and triggering corresponding backend processes (like stake processing) required precise scheduling and robust error handling.

Accomplishments that we're proud of

We are incredibly proud of several key accomplishments:

  • Integrated Real-time Accountability: Successfully building a real-time video meeting system with mandatory screen sharing and automatic recording, forming the bedrock of our unique accountability model.
  • Sophisticated Stake Distribution System: Developing an automated and transparent financial logic that fairly redistributes stakes from "failed" members to "winning" members, creating a powerful incentive mechanism.
  • Intuitive and Responsive UI/UX: Crafting a clean, consistent, and highly responsive user interface that is genuinely a pleasure to use across all devices, particularly the drastically improved "Community Card" and "Create Community" page.
  • Comprehensive Notification System: Implementing a robust notification system that keeps users informed of critical events, fostering engagement and timely action.
  • Lean and Scalable Architecture: Utilizing Supabase and Next.js to build a secure, performant, and inherently scalable platform, ready for future growth while minimizing initial overhead.
  • Simulated Payment Workflow: Successfully simulating the end-to-end payment process on the frontend, allowing for thorough testing of the entire user journey and backend logic before integrating actual payment gateways.

What we learned

Through building Mujtama, we gained invaluable insights:

  • The Power of Pre-commitment: The importance of a financial stake as a powerful psychological motivator cannot be overstated. It fundamentally shifts user behavior.
  • Community as a Catalyst: While individual discipline is key, the support, peer pressure, and shared journey within a community significantly enhance the likelihood of success.
  • Complexity of Real-time Systems: Developing and debugging real-time video and data synchronization across multiple users presented a steep learning curve, especially concerning performance and stability.
  • The Importance of Clear Communication in UX: Even with robust features, if the user doesn't understand "how it works," the platform won't be effective. We learned to prioritize clear, concise, and contextual explanations throughout the UI.
  • Iterative Design for User Experience: The process of refining the UI/UX, particularly for crucial components like the Community Card, highlighted the necessity of constant iteration and user feedback (even internal) to achieve true intuitiveness.
  • Leveraging Backend-as-a-Service (BaaS): Supabase proved to be an incredibly efficient tool for rapid development, allowing us to focus on core features rather than managing complex infrastructure.

What's next for Mujtama

The future of Mujtama is exciting and holds immense potential:

  • Integration with Real Payment Gateways: Our immediate next step is to integrate with a reputable global payment provider (e.g., Checkout.com, Tap Payments) to enable actual stake payments and payouts.
  • Advanced Gamification: Introducing more sophisticated gamification elements like personalized dashboards with deeper insights, competitive leaderboards across communities, and more diverse badges to enhance engagement.
  • AI-Powered Goal Setting & Matching: Exploring AI to help users define more SMART goals and intelligently match them with ideal communities or even suggest community ideas.
  • Mentorship and Expert-Led Communities: Introducing a tier of communities led by experts or mentors, where members can gain specialized guidance.
  • Mobile Applications: Developing native iOS and Android applications for an even more seamless and optimized mobile experience.
  • Enhanced Reporting Analytics: Providing users with more detailed personal progress analytics, insights into their consistency, and historical performance across communities.
  • Community Templates: Allowing creators to save and share community templates for popular goals, streamlining the creation process.

Built With

  • react
  • shadcn
  • supabase
  • tailwindcss
Share this project:

Updates