StudySync is a full-stack, intelligent academic management system designed to eliminate student burnout. It moves beyond traditional to-do lists by using a Virtual Schedule Engine to automatically distribute tasks based on study capacity and leveraging Google Gemini AI to provide personalized, prioritized study guidance.
- Intelligent Planning: AI-powered task prioritization using Google Gemini.
- Virtual Schedule Engine: Automatically distributes workload across a 24-hour timeline.
- Progress Visualization: Weekly/Monthly views, streak counters, and XP-based gamification.
- Integrated Productivity: Built-in "My Notes" and task management system.
- Secure Architecture: Bcrypt password hashing, session management, and prepared SQL statements to prevent injection.
- Modern UI: Responsive design using Tailwind CSS with dark mode support.
| Layer | Technology |
|---|---|
| Frontend | HTML5, Tailwind CSS, JavaScript (ES6+), Fetch API |
| Backend | PHP 8 (REST-style API) |
| Database | MySQL (via XAMPP/phpMyAdmin) |
| AI Integration | Google Gemini API (REST) |
| Security | bcrypt, Prepared Statements, CORS, XSS protection |
StudySync follows a Three-Tier Architecture:
- Presentation Layer: HTML5/Tailwind for structure and visuals.
- Application Logic Layer: PHP 8 acts as a REST API server, handling authentication and business logic.
- Data Layer: MySQL manages relational data across 4 normalized tables (
users,tasks,notes,daily_activity).
- Prerequisites:
- Install XAMPP.
- Clone the Repository:
git clone https://github.com/your-username/StudySync.git
- Setup Database:
- Copy the
StudySyncfolder intoC:\xampp\htdocs\. - Open
http://localhost/phpmyadmin. - Create a new database, go to the SQL tab, and execute the contents of
php/schema.sql.
- Copy the
- Configure AI:
- Get a free API Key from Google AI Studio.
- Paste your API key into
php/ai.php.
- Launch:
- Start Apache and MySQL from the XAMPP Control Panel.
- Navigate to
http://localhost/StudySync/index.htmlin your browser.
- New Student Registration: Secure registration with bcrypt hashing.
- Daily Task Planning: Drag-and-drop workflow with AI-recommended focus order.
- Weekly/Monthly Planning: Visualize academic workload to prevent "cramming" and burnout.
- AI Study Assistant: Ask "What should I do first?" and get an actionable plan based on your current pending tasks.
- SQL Injection Prevention: Uses
mysqliprepared statements withbind_paramfor all database interactions. - Authentication Security:
password_hash()(BCRYPT) ensures credentials are never stored in plain text. - Session Security: PHP sessions coupled with
httponlyflags prevent unauthorized client-side access.
- Geetika
- Himanshu Bansal
- Amar Krishna
- Daksh
Submitted to: Mr. Manjeet Pangtey, Assistant Professor, CSE Department, G.B. Pant DSEU Okhla-I.
This project is for educational purposes as part of the Web Engineering (BT-CS-ES603) course.StudySync - Smart Study Planner