Skip to content
TheChatArchiveThe Chat Archive
MiniMaxminimax-m1· MiniMaxHugging Face LMArena Human Preference 140K

build me a mobile app that combines chores, shppping lists and finances for people…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-3-5-sonnet-20241022’s answer.
  1. User

    build me a mobile app that combines chores, shppping lists and finances for people living together

  2. MiniMax Assistant

    CoLive: Shared Living Management App

    A mobile app to simplify chores, shopping, and finances for roommates/housemates.


    Core Features

    1. Chores Management

      • Create/assign recurring or one-time tasks.
      • Set deadlines and send reminders.
      • Track completion history.
    2. Shopping List

      • Collaborative list with categories (groceries, household).
      • Sync items across users and mark as purchased.
    3. Finance Tracker

      • Log shared expenses and split bills.
      • Generate summaries (e.g., "Who owes whom?").
      • Monthly budget goals.

    Tech Stack

    • Frontend: React Native (iOS/Android) + TypeScript.
    • Backend: Firebase (Auth, Firestore, Cloud Functions).
    • APIs: Plaid (bank integration), Push Notifications.
    • UI Library: React Native Paper (Material Design).

    Database Design

    Firestore Collections:
    - Users: {uid, name, email, householdId}
    - Households: {householdId, name, members: [uid]}
    - Chores: {choreId, title, assignedTo: uid, dueDate, recurrence}
    - ShoppingLists: {itemId, name, category, addedBy: uid, checked: bool}
    - Transactions: {txnId, amount, description, paidBy: uid, splitAmong: [uid]}
    

    UI/UX Design

    [image: Dashboard] open

    • Bottom Navigation: Switch between Chores, Shopping, and Finance.
    • Visual Hierarchy: Cards for tasks, progress bars for budgets.

    Implementation Steps

    1. Setup React Native + Firebase

      npx react-native init CoLive --template react-native-template-typescript
      npm install @react-navigation/native firebase react-native-paper
      
    2. Authentication Flow

      • Sign up/join household via invite code.
      • Firebase Auth + Cloud Function for household creation.
    3. Chores Module

      // Add a chore
      const addChore = async (title: string, assignedTo: string) => {
        await firestore().collection('Chores').add({
          title, assignedTo, dueDate: new Date(), status: 'pending'
        });
      };
      
    4. Shopping List Sync

      • Real-time updates using Firestore listeners.
      useEffect(() => {
        const unsubscribe = firestore()
          .collection('ShoppingLists')
          .where('householdId', '==', currentHousehold)
          .onSnapshot((snapshot) => { /* Update state */ });
        return unsubscribe;
      }, []);
      
    5. Finance Splitting Logic

      // Calculate balances
      const calculateBalances = (transactions: Transaction[]) => {
        const balances = new Map<string, number>();
        transactions.forEach((txn) => {
          const split = txn.amount / txn.splitAmong.length;
          txn.splitAmong.forEach(user => {
            balances.set(user, (balances.get(user) || 0) - split);
          });
          balances.set(txn.paidBy, (balances.get(txn.paidBy) || 0) + txn.amount - split);
        });
        return balances;
      };
      

    Challenges & Solutions

    • Real-Time Sync: Use Firestore listeners for instant updates.
    • Offline Support: Enable Firestore caching.
    • Security: Firestore rules to restrict data access by householdId.

    Sample Code (React Native Component)

    import { View, Text, Button } from 'react-native';
    import { List } from 'react-native-paper';
    
    const ChoresScreen = () => {
      const [chores, setChores] = useState([]);
    
      useEffect(() => {
        const unsubscribe = firestore()
          .collection('Chores')
          .where('householdId', '==', currentHousehold)
          .onSnapshot((snapshot) => {
            setChores(snapshot.docs.map(doc => doc.data()));
          });
        return unsubscribe;
      }, []);
    
      return (
        <View>
          {chores.map((chore) => (
            <List.Item
              key={chore.id}
              title={chore.title}
              description={`Due: ${chore.dueDate.toDate().toLocaleDateString()}`}
              left={() => <List.Icon icon="checkbox-marked" />}
            />
          ))}
          <Button title="Add Chore" onPress={() => {/* Show modal */}} />
        </View>
      );
    };
    

    This plan balances features, scalability, and modern design. Would you like to expand on any section? 🚀

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.