StudyBeats
An interactive web-based productivity suite with real-time study tools.
Overview
StudyBeats is a full-stack productivity application designed to help students and professionals focus. It combines a Lo-Fi music player, a Pomodoro timer, and task management into a single cohesive interface. Built with Flutter, the app runs seamlessly on the web, iOS, and Android, utilizing a serverless architecture to handle real-time synchronization across devices.
System Architecture
Frontend (Flutter)
A unified codebase deploying to Web and Mobile. Utilizes provider for state management and go_router for deep linking and navigation.
Backend (Firebase)
Serverless architecture using Cloud Functions (Node.js) for payment processing and PDF generation. Firestore provides real-time database capabilities for task sync.
Integrations
OpenAI: GPT-4 for the AI tutor assistant.
Stripe: Subscription management and payment processing.
Spotify: SDK integration for music streaming.
Key Features
- Real-Time Sync: Todo lists and session data sync instantly across web and mobile clients using Cloud Firestore streams.
- AI Study Assistant: Integrated OpenAI GPT-4 API to provide instant homework help and study tips within the app.
- Dynamic Audio Engine: Features a custom audio player capable of streaming Lo-Fi beats or connecting directly to the user's Spotify Premium account via the Spotify SDK.
- Serverless PDF Generation: Uses Puppeteer running on Cloud Functions to generate downloadable PDF reports of study sessions.
- Secure Authentication: Implements OAuth providers (Google, Microsoft) alongside email authentication for secure user access.