diff --git a/seed_data.php b/seed_data.php new file mode 100644 index 0000000..383c536 --- /dev/null +++ b/seed_data.php @@ -0,0 +1,396 @@ + 'Alex Chen', + 'email' => 'alex.chen@founder.io', + 'role' => 'founder', + 'university' => 'Stanford University', + 'graduation_year' => 2018, + 'bio' => 'Former software engineer at Google with a passion for logistics and AI. Building the future of supply chain management.', + 'interests' => 'AI, Logistics, E-commerce', + 'country' => 'USA', + 'skills' => 'Python, TensorFlow, Cloud Architecture', + 'years_experience' => 5, + 'previous_startup_exp' => 1, + 'previous_startup_desc' => 'Built a last-mile delivery app that was acquired in 2021.', + 'startup_industries' => 'SaaS, Supply Chain', + 'preferred_stage' => 'Early traction', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'high', + 'startup_name' => 'LogiAI', + 'startup_desc' => 'AI-powered predictive analytics for global supply chain optimization.', + 'funding_target' => 500000.00 + ], + [ + 'full_name' => 'Sarah Jenkins', + 'email' => 'sarah.j@sea-pack.com', + 'role' => 'founder', + 'university' => 'Oxford University', + 'graduation_year' => 2015, + 'bio' => 'Marine biologist turned entrepreneur. On a mission to eliminate single-use plastics using sustainable seaweed alternatives.', + 'interests' => 'Sustainability, Marine Biology, Packaging', + 'country' => 'UK', + 'skills' => 'Biochemistry, Product Development, Strategy', + 'years_experience' => 8, + 'previous_startup_exp' => 0, + 'previous_startup_desc' => NULL, + 'startup_industries' => 'GreenTech, Manufacturing', + 'preferred_stage' => 'MVP', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'medium', + 'startup_name' => 'SeaPack', + 'startup_desc' => 'Biodegradable packaging solutions derived from cultivated seaweed.', + 'funding_target' => 250000.00 + ], + [ + 'full_name' => 'Marco Rossi', + 'email' => 'm.rossi@finflow.it', + 'role' => 'founder', + 'university' => 'Bocconi University', + 'graduation_year' => 2012, + 'bio' => 'Finance veteran with 10 years in investment banking. Dedicated to simplifying cross-border payments for European SMEs.', + 'interests' => 'Fintech, Banking, Blockchain', + 'country' => 'Italy', + 'skills' => 'Financial Modeling, Compliance, Leadership', + 'years_experience' => 12, + 'previous_startup_exp' => 1, + 'previous_startup_desc' => 'Co-founded a P2P lending platform in Milan.', + 'startup_industries' => 'Fintech', + 'preferred_stage' => 'Scaling', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'medium', + 'startup_name' => 'FinFlow', + 'startup_desc' => 'Unified payment orchestration for SMEs operating across European borders.', + 'funding_target' => 1200000.00 + ], + [ + 'full_name' => 'Lila Gupta', + 'email' => 'lila@skillup.in', + 'role' => 'founder', + 'university' => 'IIT Delhi', + 'graduation_year' => 2020, + 'bio' => 'Edtech enthusiast focused on democratizing access to high-quality vocational training for remote youth.', + 'interests' => 'Edtech, Social Impact, Education', + 'country' => 'India', + 'skills' => 'Product Design, Community Building, Marketing', + 'years_experience' => 3, + 'previous_startup_exp' => 0, + 'previous_startup_desc' => NULL, + 'startup_industries' => 'Edtech', + 'preferred_stage' => 'Early traction', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'high', + 'startup_name' => 'SkillUp', + 'startup_desc' => 'Mobile-first platform for vocational certifications and job matching in emerging markets.', + 'funding_target' => 150000.00 + ], + [ + 'full_name' => 'David Schmidt', + 'email' => 'david@aquaclean.de', + 'role' => 'founder', + 'university' => 'TU Munich', + 'graduation_year' => 2014, + 'bio' => 'Engineer with a PhD in Biotechnology. Developed a proprietary filtration system for microplastic removal.', + 'interests' => 'Clean Water, Biotech, Engineering', + 'country' => 'Germany', + 'skills' => 'Chemical Engineering, IP Strategy, R&D', + 'years_experience' => 10, + 'previous_startup_exp' => 0, + 'previous_startup_desc' => NULL, + 'startup_industries' => 'CleanTech', + 'preferred_stage' => 'MVP', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'low', + 'startup_name' => 'AquaClean', + 'startup_desc' => 'Next-gen water filtration systems for industrial and municipal use.', + 'funding_target' => 750000.00 + ], + [ + 'full_name' => 'Elena Petrova', + 'email' => 'elena@artisan.market', + 'role' => 'founder', + 'university' => 'Lomonosov Moscow State University', + 'graduation_year' => 2016, + 'bio' => 'Digital marketing expert helping local artisans reach a global audience through an curated e-commerce experience.', + 'interests' => 'E-commerce, Arts, Marketing', + 'country' => 'Russia', + 'skills' => 'SEO, SEM, Brand Identity', + 'years_experience' => 7, + 'previous_startup_exp' => 1, + 'previous_startup_desc' => 'Ran a boutique digital agency for 4 years.', + 'startup_industries' => 'E-commerce, Retail', + 'preferred_stage' => 'Scaling', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'medium', + 'startup_name' => 'ArtisanMarket', + 'startup_desc' => 'Global marketplace for verified high-end handcrafted goods.', + 'funding_target' => 300000.00 + ], + [ + 'full_name' => 'Yuki Tanaka', + 'email' => 'y.tanaka@silver-care.jp', + 'role' => 'founder', + 'university' => 'University of Tokyo', + 'graduation_year' => 2011, + 'bio' => 'Passionate about improving the quality of life for the aging population through intuitive technology.', + 'interests' => 'Healthtech, Elderly Care, Robotics', + 'country' => 'Japan', + 'skills' => 'Hardware Design, UX Research, Project Management', + 'years_experience' => 13, + 'previous_startup_exp' => 0, + 'previous_startup_desc' => NULL, + 'startup_industries' => 'Healthtech', + 'preferred_stage' => 'Early traction', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'medium', + 'startup_name' => 'SilverCare', + 'startup_desc' => 'IoT-enabled monitoring and assistance system for seniors living independently.', + 'funding_target' => 600000.00 + ], + [ + 'full_name' => 'Omar Al-Fayed', + 'email' => 'omar@sunstore.ae', + 'role' => 'founder', + 'university' => 'American University of Sharjah', + 'graduation_year' => 2017, + 'bio' => 'Focused on accelerating the energy transition in the Middle East with innovative thermal storage solutions.', + 'interests' => 'Energy, Renewables, Solar', + 'country' => 'UAE', + 'skills' => 'Thermodynamics, Business Development, Operations', + 'years_experience' => 6, + 'previous_startup_exp' => 1, + 'previous_startup_desc' => 'Founder of a residential solar installation company.', + 'startup_industries' => 'Energy, CleanTech', + 'preferred_stage' => 'MVP', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'high', + 'startup_name' => 'SunStore', + 'startup_desc' => 'Long-duration thermal energy storage systems for concentrated solar power.', + 'funding_target' => 1000000.00 + ], + [ + 'full_name' => 'Maria Garcia', + 'email' => 'maria@green-leaf.es', + 'role' => 'founder', + 'university' => 'Polytechnic University of Madrid', + 'graduation_year' => 2019, + 'bio' => 'Agronomist bringing data science to urban farming. Building vertical farms that use 95% less water.', + 'interests' => 'Agtech, Food Security, Data Science', + 'country' => 'Spain', + 'skills' => 'Data Analysis, Agronomy, IoT', + 'years_experience' => 4, + 'previous_startup_exp' => 0, + 'previous_startup_desc' => NULL, + 'startup_industries' => 'Agtech', + 'preferred_stage' => 'Idea', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'high', + 'startup_name' => 'GreenLeaf', + 'startup_desc' => 'Automated vertical farming modules for urban environments.', + 'funding_target' => 200000.00 + ], + [ + 'full_name' => 'James Wilson', + 'email' => 'j.wilson@secure-link.ca', + 'role' => 'founder', + 'university' => 'University of Waterloo', + 'graduation_year' => 2013, + 'bio' => 'Cybersecurity expert with a focus on IoT vulnerability management. Protecting the connected world.', + 'interests' => 'Cybersecurity, IoT, Software', + 'country' => 'Canada', + 'skills' => 'Network Security, Penetration Testing, C++', + 'years_experience' => 11, + 'previous_startup_exp' => 1, + 'previous_startup_desc' => 'Lead security researcher at a major tech firm.', + 'startup_industries' => 'Cybersecurity', + 'preferred_stage' => 'Scaling', + 'commitment_level' => 'full-time', + 'risk_tolerance' => 'medium', + 'startup_name' => 'SecureLink', + 'startup_desc' => 'Automated security patching and monitoring for enterprise IoT networks.', + 'funding_target' => 850000.00 + ] +]; + +$investors = [ + [ + 'full_name' => 'Sofia Moretti', + 'email' => 'sofia@moretti-capital.com', + 'role' => 'investor', + 'bio' => 'Managing Partner at Moretti Capital. Passionate about green energy and circular economy startups.', + 'interests' => 'Renewables, Sustainability, Circular Economy', + 'investment_appetite' => '$100k - $500k', + 'country' => 'Italy' + ], + [ + 'full_name' => 'Robert Sterling', + 'email' => 'robert@sterling-ventures.com', + 'role' => 'investor', + 'bio' => 'Angel investor with a background in SaaS. Looking for scalable B2B platforms with strong unit economics.', + 'interests' => 'SaaS, B2B, Cloud', + 'investment_appetite' => '$50k - $250k', + 'country' => 'USA' + ], + [ + 'full_name' => 'Aisha Khan', + 'email' => 'aisha@impact-global.co', + 'role' => 'investor', + 'bio' => 'Focusing on ventures that combine financial returns with measurable social and environmental impact.', + 'interests' => 'Social Impact, Edtech, Healthtech', + 'investment_appetite' => '$25k - $150k', + 'country' => 'UK' + ], + [ + 'full_name' => 'Chen Wei', + 'email' => 'chen.wei@tech-pioneer.sg', + 'role' => 'investor', + 'bio' => 'Serial entrepreneur turned investor. Investing in deep tech, AI, and robotics in Southeast Asia.', + 'interests' => 'Deep Tech, AI, Robotics', + 'investment_appetite' => '$200k - $1M', + 'country' => 'Singapore' + ], + [ + 'full_name' => 'Lucia Fernandez', + 'email' => 'lucia@madrid-angels.es', + 'role' => 'investor', + 'bio' => 'Active angel investor in the Spanish ecosystem. Supporting early-stage consumer tech and marketplaces.', + 'interests' => 'Marketplaces, Consumer Tech, Lifestyle', + 'investment_appetite' => '$10k - $100k', + 'country' => 'Spain' + ], + [ + 'full_name' => 'Hans Mueller', + 'email' => 'hans@industry40.de', + 'role' => 'investor', + 'bio' => 'Former COO of a major manufacturing firm. Investing in Industry 4.0 and industrial IoT solutions.', + 'interests' => 'Industry 4.0, IoT, Logistics', + 'investment_appetite' => '$150k - $750k', + 'country' => 'Germany' + ], + [ + 'full_name' => 'Priya Sharma', + 'email' => 'priya@future-work.in', + 'role' => 'investor', + 'bio' => 'Supporting founders who are building the tools for the next generation of workers.', + 'interests' => 'Future of Work, HRTech, Edtech', + 'investment_appetite' => '$50k - $300k', + 'country' => 'India' + ], + [ + 'full_name' => 'Michael O\'Reilly', + 'email' => 'michael@bio-bridge.ie', + 'role' => 'investor', + 'bio' => 'Venture capitalist focused on life sciences, drug discovery, and medical devices.', + 'interests' => 'Biotech, Life Sciences, Pharma', + 'investment_appetite' => '$500k - $2M', + 'country' => 'Ireland' + ], + [ + 'full_name' => 'Kenji Sato', + 'email' => 'kenji@global-trade.jp', + 'role' => 'investor', + 'bio' => 'Investing in the infrastructure that enables global e-commerce and cross-border trade.', + 'interests' => 'E-commerce, Fintech, Trade', + 'investment_appetite' => '$100k - $400k', + 'country' => 'Japan' + ], + [ + 'full_name' => 'Isabella Rossi', + 'email' => 'isabella@luxury-ventures.fr', + 'role' => 'investor', + 'bio' => 'Passionate about the intersection of high fashion and technology. Investing in LuxuryTech.', + 'interests' => 'Fashion Tech, Luxury, Web3', + 'investment_appetite' => '$75k - $500k', + 'country' => 'France' + ] +]; + +$stmt_user = $db->prepare("INSERT IGNORE INTO users (full_name, email, password, role, university, graduation_year, bio, interests, country, skills, years_experience, previous_startup_exp, previous_startup_desc, startup_industries, preferred_stage, commitment_level, risk_tolerance, investment_appetite, verified, onboarding_completed) + VALUES (:full_name, :email, :password, :role, :university, :graduation_year, :bio, :interests, :country, :skills, :years_experience, :previous_startup_exp, :previous_startup_desc, :startup_industries, :preferred_stage, :commitment_level, :risk_tolerance, :investment_appetite, 1, 1)"); + +$stmt_startup = $db->prepare("INSERT INTO startups (name, description, founder_id, funding_target, status) VALUES (:name, :description, :founder_id, :funding_target, 'public')"); + +$stmt_round = $db->prepare("INSERT INTO funding_rounds (startup_id, funding_goal, status) VALUES (:startup_id, :funding_goal, 'Active')"); + +echo "Seeding founders...\n"; +foreach ($founders as $f) { + $stmt_user->execute([ + ':full_name' => $f['full_name'], + ':email' => $f['email'], + ':password' => hash_pass('password123'), + ':role' => $f['role'], + ':university' => $f['university'], + ':graduation_year' => $f['graduation_year'], + ':bio' => $f['bio'], + ':interests' => $f['interests'], + ':country' => $f['country'], + ':skills' => $f['skills'], + ':years_experience' => $f['years_experience'], + ':previous_startup_exp' => $f['previous_startup_exp'], + ':previous_startup_desc' => $f['previous_startup_desc'], + ':startup_industries' => $f['startup_industries'], + ':preferred_stage' => $f['preferred_stage'], + ':commitment_level' => $f['commitment_level'], + ':risk_tolerance' => $f['risk_tolerance'], + ':investment_appetite' => NULL + ]); + + $founder_id = $db->lastInsertId(); + if ($founder_id) { + $stmt_startup->execute([ + ':name' => $f['startup_name'], + ':description' => $f['startup_desc'], + ':founder_id' => $founder_id, + ':funding_target' => $f['funding_target'] + ]); + + $startup_id = $db->lastInsertId(); + $stmt_round->execute([ + ':startup_id' => $startup_id, + ':funding_goal' => $f['funding_target'] + ]); + echo "Created founder {$f['full_name']} and startup {$f['startup_name']}\n"; + } else { + echo "Founder {$f['full_name']} already exists, skipping startup creation.\n"; + } +} + +echo "Seeding investors...\n"; +foreach ($investors as $i) { + $stmt_user->execute([ + ':full_name' => $i['full_name'], + ':email' => $i['email'], + ':password' => hash_pass('password123'), + ':role' => $i['role'], + ':university' => NULL, + ':graduation_year' => NULL, + ':bio' => $i['bio'], + ':interests' => $i['interests'], + ':country' => $i['country'], + ':skills' => NULL, + ':years_experience' => 0, + ':previous_startup_exp' => 0, + ':previous_startup_desc' => NULL, + ':startup_industries' => NULL, + ':preferred_stage' => NULL, + ':commitment_level' => NULL, + ':risk_tolerance' => NULL, + ':investment_appetite' => $i['investment_appetite'] + ]); + if ($db->lastInsertId()) { + echo "Created investor {$i['full_name']}\n"; + } else { + echo "Investor {$i['full_name']} already exists.\n"; + } +} + +echo "Done!\n"; +