Skip to content
Bram-catPublic

About

My million dollar app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

87 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lovelock - Cosmic Love & Numerology App ✨

A beautiful React Native app built with Expo that combines numerology, astrology, and cosmic wisdom to help users discover their perfect match and understand their romantic compatibility through the power of numbers and celestial insights.

🌟 Features

Core Features

  • Numerology Readings - Calculate Life Path, Destiny, Soul Urge, and Personality numbers
  • Love Match Analysis - Find compatible partners based on numerological compatibility
  • Trust Assessment - Analyze relationship trust compatibility between two people
  • Profile Management - Complete user profile system with birth information storage
  • Interactive UI - Beautiful, animated interface with cosmic themes

Recent Enhancements

  • ✅ Consistent Date Input - Unified DatePickerInput component across all tabs with beautiful modal calendar
  • ✅ Profile Prefilling - Existing user information automatically prefills in edit forms
  • ✅ Database Integration - Profile changes are saved to Supabase database
  • ✅ Cross-tab Data Sharing - Birthday information automatically populates across all features
  • ✅ Enhanced Home Page - Interactive animations, rotating quotes, floating elements, and parallax effects

🎨 Design & UX

Visual Design

  • Dark Theme - Elegant black background with gradient accents
  • Animated Elements - Floating sparkles, pulsing hearts, and smooth transitions
  • Gradient Cards - Beautiful gradient backgrounds for different feature sections
  • Cosmic Theme - Stars, sparkles, and celestial iconography throughout

Interactive Features

  • Parallax Scrolling - Header transforms as user scrolls
  • Rotating Quotes - Inspiring numerology wisdom that changes every 5 seconds
  • Animated Cards - Action cards with hover effects and floating animations
  • Progress Indicators - Visual feedback for profile completion and user journey

🛠 Technology Stack

  • Framework: React Native with Expo
  • Navigation: Expo Router (file-based routing)
  • Authentication: Clerk
  • Database: Supabase
  • Styling: React Native StyleSheet with LinearGradient
  • Animations: React Native Animated API
  • Icons: Expo Vector Icons (Ionicons)
  • State Management: React Context (ProfileContext)

📱 App Structure

app/
├── (auth)/                 # Authentication screens
│   ├── sign-in.tsx
│   └── sign-up.tsx
├── (tabs)/                 # Main app tabs
│   ├── index.tsx          # Enhanced home screen
│   ├── numerology.tsx     # Numerology calculations
│   ├── love-match.tsx     # Love compatibility
│   ├── trust-assessment.tsx # Trust analysis
│   └── profile.tsx        # User profile management
├── _layout.tsx            # Root layout
└── index.tsx              # App entry point

components/
├── DatePickerInput.tsx    # Custom date picker component
├── ConvexClientProvider.tsx
├── LoadingScreen.tsx
├── ThemedText.tsx
└── ThemedView.tsx

services/
├── NumerologyService.ts   # Core numerology calculations
├── LoveMatchService.ts    # Love compatibility logic
├── TrustAssessmentService.ts # Trust analysis algorithms
├── GeminiAIService.ts     # AI-powered insights
└── Various other services...

contexts/
└── ProfileContext.tsx     # User profile state management

🔧 Setup Instructions

Prerequisites

  • Node.js (v16 or later)
  • npm or yarn
  • Expo CLI
  • Android Studio (for Android development)
  • Xcode (for iOS development)

Installation

  1. Clone and Install

    cd lovelock
    npm install
  2. Environment Setup

    • Configure .env file with your API keys
    • Set up Supabase database connection
    • Configure Clerk authentication
  3. Run the App

    npx expo start
  4. Development Options

    • Press a for Android emulator
    • Press i for iOS simulator
    • Press w for web browser
    • Scan QR code with Expo Go app

🎯 Key Improvements Made

1. Unified Date Input System

  • Replaced basic TextInput fields with custom DatePickerInput component
  • Beautiful modal calendar with month/year/day selectors
  • Consistent date format (MM/DD/YYYY) across all features
  • Enhanced UX with visual calendar interface

2. Profile Management Enhancement

  • Automatic prefilling of user information in edit forms
  • Real-time database updates when profile is saved
  • Cross-tab data sharing for birth date information
  • Improved form validation and user feedback

3. Interactive Home Screen

  • Parallax Effects: Header transforms during scroll
  • Rotating Inspiration: 4 different cosmic quotes that rotate every 5 seconds
  • Enhanced Animations:
    • Floating sparkles with rotation and scaling
    • Pulsing action cards with individual animations
    • Heart beat animation for love-related elements
  • Visual Improvements:
    • Action indicators on feature cards
    • Stats section showing user progress
    • Better spacing and visual hierarchy
    • Smooth scroll performance optimizations

4. Code Architecture

  • Modular component structure
  • Reusable DatePickerInput component
  • Context-based state management
  • Type-safe service layer

🔮 Numerology Services

Core Calculations

  • Life Path Number: Derived from birth date
  • Destiny Number: Calculated from full name
  • Soul Urge Number: Based on vowels in name
  • Personality Number: Derived from consonants in name

Advanced Features

  • Compatibility Scoring: Mathematical compatibility between different numbers
  • Trust Analysis: Multi-factor trust assessment
  • AI-Enhanced Insights: Powered by Google Gemini AI for personalized readings

🎨 Design Philosophy

The app embraces a cosmic aesthetic with:

  • Deep space colors (blacks, purples, cosmic blues)
  • Gradient overlays suggesting nebulae and starfields
  • Animated elements that feel alive and magical
  • Typography that balances readability with mystical appeal
  • Smooth animations that don't distract from content

🚀 Performance Optimizations

  • Native Animations: All animations use useNativeDriver: true
  • Efficient Scrolling: Optimized scroll event handling
  • Component Reuse: Modular components reduce bundle size
  • Lazy Loading: Context-based data loading
  • Memory Management: Proper cleanup of animations and intervals

📊 Database Schema

Using Supabase with the following key tables:

  • profiles - User profile information including birth data
  • Authentication handled by Clerk integration
  • Real-time updates for profile changes

🔐 Security & Privacy

  • Authentication via Clerk (secure OAuth flows)
  • Birth date and personal information stored securely in Supabase
  • No sensitive data logged or exposed
  • User consent for data storage and processing

🎭 User Experience Journey

  1. Onboarding: Smooth sign-up with Clerk authentication
  2. Profile Setup: Guided profile completion with birth information
  3. Feature Discovery: Interactive home screen showcases all features
  4. Cosmic Exploration: Users can explore numerology, love matches, and trust assessments
  5. Personalized Insights: AI-powered readings based on user's specific numbers

📱 Responsive Design

  • Optimized for both iOS and Android platforms
  • Responsive layouts that work across different screen sizes
  • Touch-friendly interactive elements
  • Accessibility considerations for text sizing and contrast

🔄 Future Enhancements

Potential Features

  • Push notifications for daily cosmic insights
  • Social sharing of compatibility results
  • Premium features with advanced AI insights
  • Astrological chart integration
  • Relationship tracking over time
  • Community features for connecting compatible users

Technical Improvements

  • Offline capability for core calculations
  • Advanced caching strategies
  • Performance monitoring integration
  • A/B testing framework for UX optimization

🌙 About the Cosmic Theme

Lovelock embraces the mystical and cosmic nature of numerology and astrology. The app design reflects the infinite possibilities of the universe, with animations that suggest celestial movement and colors that evoke the deep mysteries of space. Every interaction is designed to feel magical while maintaining the scientific precision of numerological calculations.

The combination of ancient wisdom (numerology) with modern technology (React Native, AI) creates a unique experience that bridges the mystical and the practical, helping users discover deeper truths about themselves and their relationships.


Created with ❤️ and ✨ cosmic energy

About

My million dollar app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages