Skip to content

akashmahlaz/MindSets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

142 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MindSets - Comprehensive Code & Pricing Analysis --ANURAG KASHYAP (Owner of repo )

πŸ“Š Codebase Statistics

Metric Value
Total Files 493+ files
TypeScript/JS Files 235+ files
Total Code Size 1.48 MB
Estimated Lines of Code ~38,000 LOC
Commits 137 commits
Language Breakdown TypeScript 96.9%, JS 1.8%, Other 1.3%
Status βœ… Live on Google Play Store

πŸ—οΈ Architecture & Tech Stack

Mobile App (React Native/Expo)

  • React Native 0.79.6 + Expo SDK 53 (latest versions)
  • Expo Router (file-based navigation)
  • NativeWind + Tailwind CSS
  • React Native Reanimated (animations)
  • rn-primitives (component library)

Backend Infrastructure

  • Firebase Authentication (Google, Apple, Email/Password)
  • Cloud Firestore (database)
  • Firebase Cloud Functions (Node.js)
  • Firebase Cloud Messaging (push notifications)
  • Stream.io SDK (enterprise-grade chat + video calling)

Admin Panel (Separate Next.js App)

  • Next.js 16 (App Router)
  • Firebase Admin SDK
  • shadcn/ui components
  • Full dashboard with analytics

⭐ Features Implemented

1. Authentication System

  • Email/Password + Email verification
  • Google Sign-In
  • Apple Sign-In (iOS)
  • Role-based access (User, Counsellor, Admin)
  • Profile completion flow
  • Onboarding screens

2. User Dashboard

  • Mood tracking & journaling
  • Mental health concern selection
  • Session history
  • Saved articles/bookmarks
  • Emergency contact info

3. Counsellor Platform

  • Professional verification workflow
  • Document upload (license, degree, certification)
  • Availability scheduling (weekly calendar)
  • Specialization & approach tags
  • Rating & review system
  • Client management

4. Real-Time Communication (Stream.io)

  • Chat System: 1:1 messaging with real-time sync
  • Video Calling: WebRTC-based with HD quality
  • Audio Calling: Voice-only calls
  • VoIP Push Notifications: iOS CallKit integration
  • CallKeep: Native phone UI for calls

5. Session Booking

  • Calendar integration (native)
  • Session types (therapy, consultation, follow-up, crisis)
  • Pricing system
  • Status tracking (pending, confirmed, completed, cancelled)
  • Push notification reminders

6. Content Platform

  • Articles/Stories with WYSIWYG editing
  • Article categories & tags
  • View count tracking
  • Save/bookmark feature

7. Wellness Resources

  • Breathing exercises
  • Meditation guides
  • Sleep improvement content
  • Privacy policy & Terms of Service

8. Admin Panel

  • User management (view, edit, delete)
  • Counsellor approval workflow
  • Stories/content moderation
  • Dashboard analytics
  • Settings management

9. Technical Excellence

  • Comprehensive TypeScript types
  • Well-structured Firestore security rules
  • Push notification handling (foreground/background)
  • Sound effects & haptic feedback
  • Dark/Light theme
  • Loading skeletons & animations
  • Error boundaries

πŸ’‘ Code Quality Assessment

Aspect Rating Notes
Architecture ⭐⭐⭐⭐⭐ Clean separation: contexts, services, hooks, components
TypeScript Usage ⭐⭐⭐⭐⭐ Comprehensive type definitions
Security Rules ⭐⭐⭐⭐⭐ Well-structured Firestore rules with role checks
Error Handling ⭐⭐⭐⭐ Try-catch blocks, logging throughout
UI/UX ⭐⭐⭐⭐⭐ Animations, gradients, polished design
Documentation ⭐⭐⭐⭐ Multiple .md docs, inline comments
Scalability ⭐⭐⭐⭐ Proper service layer, Firebase scales well

πŸ“ Project Structure

MindSets/
β”œβ”€β”€ app/                    # Expo Router screens & layouts
β”œβ”€β”€ components/             # Reusable UI components
β”œβ”€β”€ context/                # React Context providers
β”œβ”€β”€ services/               # API & business logic layer
β”œβ”€β”€ hooks/                  # Custom React hooks
β”œβ”€β”€ lib/                    # Utility libraries & helpers
β”œβ”€β”€ types/                  # TypeScript type definitions
β”œβ”€β”€ constants/              # App-wide constants & config
β”œβ”€β”€ assets/                 # Images, fonts, sounds
β”œβ”€β”€ functions/              # Firebase Cloud Functions
β”œβ”€β”€ scripts/                # Build & utility scripts
β”œβ”€β”€ tests/                  # Test files
β”œβ”€β”€ admin-panel/            # Next.js admin dashboard
β”œβ”€β”€ android/                # Android native configuration
β”œβ”€β”€ firestore.rules         # Firestore security rules
β”œβ”€β”€ firestore.indexes.json  # Firestore indexes
β”œβ”€β”€ firebase.json           # Firebase project config
β”œβ”€β”€ app.json                # Expo app configuration
β”œβ”€β”€ eas.json                # EAS Build configuration
└── package.json            # Dependencies & scripts

πŸ’° Development Cost Breakdown

If Built From Scratch (Industry Standard)

Component Est. Hours Rate ($15/hr) Cost (USD)
Authentication System 60-80 hrs $15 $1,050
User Profiles & Onboarding 35-50 hrs $15 $640
Real-Time Chat (Stream.io) 50-65 hrs $15 $860
Video & Audio Calling 30-40 hrs $15 $525
Session Booking Engine 25-35 hrs $15 $450
Counsellor Verification 15-20 hrs $15 $260
Content Platform 15-20 hrs $15 $260
Wellness Resources 10-15 hrs $15 $185
Admin Panel (Next.js) 30-40 hrs $15 $525
UI/UX Polish & Animations 20-30 hrs $15 $375
Firebase Cloud Functions 15-20 hrs $15 $260
Security Rules & Testing 15-20 hrs $15 $260
SUBTOTAL 320-435 hrs $5,650
Source Code License Discount (20%) -$1,150
TOTAL $4,500

Note: Industry reports indicate the average cost to develop a mental health app of this scope ranges from $40,000 to $200,000 USD when built from scratch by development teams.


πŸš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Expo CLI
  • Firebase project configured
  • Stream.io account

Installation

  1. Clone the repository

    git clone https://github.com/akashmahlaz/MindSets.git
    cd MindSets
  2. Install dependencies

    npm install
  3. Configure environment variables

    cp .env.example .env
    # Fill in your Firebase & Stream.io credentials
  4. Start the app

    npx expo start

Admin Panel

cd admin-panel
npm install
npm run dev

πŸ“± Deliverables Included

Deliverable Description
Complete Source Code Full mobile app (React Native/Expo) + Admin Panel (Next.js)
Firebase Configuration Firestore rules, Cloud Functions, indexes, auth setup
Admin Dashboard Fully functional Next.js admin panel with analytics
Documentation Technical docs, setup guides, environment config
Repository Access Full Git repository with 137 commits of history
Handover Support 2 weeks of technical support for setup & deployment
Play Store Ready App configured for Google Play with EAS Build setup

πŸ›‘οΈ Security

  • Firebase Authentication with multi-provider support
  • Role-based Firestore security rules
  • Encrypted data transmission
  • Secure document upload for counsellor verification
  • Environment variable protection

πŸ“„ License

This project is proprietary. All rights reserved.


πŸ“¬ Contact

For inquiries about purchasing or licensing this application, please reach out via the repository or contact Anurag kashyap( Owner of this repo).

About

MindSets: Transform Your Mindset with AI-Powered Wellness Tools A modern web/mobile app for mindset tracking, growth exercises, and mental health insights. Built with Next.js, React Native, and AI integrations for personalized coaching, mood analytics, and habit building. πŸš€ Features coming soon: Daily mindset challenges, progress dashboards, com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors