๐ŸŽฏInspiration

Hi! My name is Veronika, and I'm a technology enthusiast driven by the possibilities of AI ๐Ÿค–. I wanted to create an application that showcases how AI can transform user interaction and make even complex topics engaging and accessible. Inspired by the idea of integrating MLB data โšพ with Google Cloud AI โ˜๏ธ, I saw an opportunity to build an interactive and personalized MLB AI Dashboard.

With World Sync AI ๐ŸŒ, I focused on creating a platform where users can chat with an AI assistant, test their knowledge with AI-powered trivia ๐Ÿง , and even sync schedules with Google Calendar ๐Ÿ“…. This project highlights how AI-driven communication can make following events and learning new things more intuitive and enjoyable.

๐Ÿš€ What it does

The MLB AI Dashboard is a comprehensive platform that brings together multiple features for baseball fans ๐ŸŽ‰:

  • MLB Trivia ๐Ÿ†: AI-generated quiz questions based on MLB team history, with Gemini AI explaining incorrect answers in detail ๐Ÿงฉ.

  • MLB AI Chat ๐Ÿ’ฌ: AI-driven chatbot that understands user queries and provides real-time insights about schedules, teams, and player stats ๐Ÿ“Š.

  • Personalized Schedule ๐Ÿ“…: Users can view upcoming games, filter by date and team, and add favorite matches directly to Google Calendar for easy tracking.

  • Teams & Player Insights ๐Ÿงข: Fans can explore team details, roster compositions, and even individual player details through MLB API.

๐Ÿ›  How I built it

I developed the MLB AI Dashboard using a combination of cloud technologies โ˜๏ธ, APIs ๐Ÿ”—, and frontend-backend integration:

  • Backend: Java, Spring Boot ๐Ÿ–ฅ๏ธ

  • Frontend: Vite โšก, React โš›๏ธ, TypeScript ๐Ÿ“œ

  • Google Cloud:

    • Vertex AI (Gemini 2.0) ๐Ÿ”ฎ for AI-driven chat and trivia explanations
    • Google Calendar API ๐Ÿ“† for event scheduling and reminders
    • Secret Manager ๐Ÿ”‘ for securely storing API keys and sensitive data
    • Cloud SQL ๐Ÿ—„๏ธ for database management
  • Deployment:

    • Frontend: Hosted on Firebase ๐Ÿš€ for fast and reliable access
    • Backend: Deployed on Google Cloud Run ๐ŸŒ for scalability and cost efficiency
  • MLB Stats API โšพ: Fetching live data about teams, schedules, and players

โšกChallenges I ran into

  • Cloud Deployment โ˜๏ธ: Shifting from local development to Google Cloud Run required setting up containerized environments (Docker ๐Ÿณ) and managing API authentication securely ๐Ÿ”’.

  • MLB API Complexity ๐Ÿงฉ: Understanding the MLB API structure and mapping real-time data.

  • AI Integration ๐Ÿค–: Fine-tuning Gemini AI responses to ensure relevant and accurate insights in MLB AI Chat ๐Ÿ’ฌ.

  • Google OAuth Setup ๐Ÿ”‘: Managing access tokens and refresh tokens securely to maintain Google Calendar sync ๐Ÿ“….

๐Ÿ† Accomplishments that I'm proud of

  • Successfully integrated AI-driven chat and trivia features ๐Ÿค– that enhance fan engagement ๐ŸŽ‰.

  • Designed a fully cloud-based solution โ˜๏ธ that ensures scalability and reliability ๐Ÿ”ฅ.

  • Implemented secure OAuth authentication ๐Ÿ”’ and Google Calendar API integration ๐Ÿ“† for personalized scheduling.

  • Built an intuitive dashboard ๐Ÿ“Š with widgets that provide MLB insights.

๐Ÿ“š What I learned

  • Mastered deploying full-stack applications on Google Cloud Run ๐ŸŒ and Firebase ๐Ÿš€.

  • Deepened my understanding of Google Cloud AI, Vertex AI, and Gemini models ๐Ÿ”ฎ.

  • Gained experience in managing OAuth authentication flows ๐Ÿ”‘ and securing user data ๐Ÿ”’.

  • Improved skills in containerization with Docker ๐Ÿณ, optimizing APIs for cloud-based environments โ˜๏ธ.

  • Learned how to optimize AI models ๐Ÿค– for sports-related queries.

๐ŸŒŸWhat's next for World Sync AI

  • AI-powered game predictions ๐Ÿ“Š: Use machine learning models to predict the outcomes of MLB games based on historical data ๐Ÿ“ˆ.

  • Voice-enabled AI Assistant ๐ŸŽ™๏ธ: Enable fans to speak to the MLB AI Chat and get responses via speech synthesis ๐Ÿ”Š.

  • Enhanced personalization ๐ŸŽฏ: Provide custom news feeds and analysis based on a user's favorite teams and players ๐Ÿงข.

  • Mobile App Version ๐Ÿ“ฑ: Adapt the platform for mobile users to make engagement more seamless.

The World Sync AI ๐ŸŒ๐Ÿค– is just the beginning of how AI can transform sports engagement, and I am excited to continue improving and expanding its features! โšพ๐ŸŽ‰

Built With

Share this project:

Updates