Guidey

πŸš€ Career Guidance System

A comprehensive career guidance web application with AI-powered assistance, interactive features, and a modern user interface.

πŸ“ Project Structure

project/
β”œβ”€β”€ frontend/                 # Frontend files
β”‚   β”œβ”€β”€ pages/               # HTML pages
β”‚   β”‚   β”œβ”€β”€ login.html       # User login
β”‚   β”‚   β”œβ”€β”€ register.html    # User registration
β”‚   β”‚   β”œβ”€β”€ dashboard.html   # User dashboard
β”‚   β”‚   β”œβ”€β”€ chat.html        # AI chat interface
β”‚   β”‚   β”œβ”€β”€ quiz.html        # Career assessment quiz
β”‚   β”‚   β”œβ”€β”€ roadmap.html     # Learning roadmap
β”‚   β”‚   β”œβ”€β”€ opportunities.html # Job opportunities
β”‚   β”‚   └── reset-password.html # Password reset
β”‚   └── assets/              # Static assets
β”‚       β”œβ”€β”€ css/             # Stylesheets
β”‚       β”‚   └── style.css    # Main stylesheet
β”‚       β”œβ”€β”€ js/              # JavaScript files
β”‚       β”‚   └── main.js      # Main JavaScript
β”‚       └── images/          # Images and icons
β”‚           β”œβ”€β”€ hero-illustration.svg
β”‚           └── placeholder.svg
β”œβ”€β”€ backend/                 # Backend files
β”‚   β”œβ”€β”€ api/                 # API endpoints
β”‚   β”‚   β”œβ”€β”€ config.php       # Database configuration
β”‚   β”‚   β”œβ”€β”€ chat.php         # AI chat API
β”‚   β”‚   β”œβ”€β”€ login.php        # Login API
β”‚   β”‚   β”œβ”€β”€ register.php     # Registration API
β”‚   β”‚   └── auth/            # Authentication APIs
β”‚   β”‚       β”œβ”€β”€ reset-password.php
β”‚   β”‚       β”œβ”€β”€ validate-reset-token.php
β”‚   β”‚       └── forgot-password.php
β”‚   β”œβ”€β”€ database/            # Database files
β”‚   β”œβ”€β”€ setup.php            # Database setup script
β”‚   └── .htaccess            # Backend configuration
β”œβ”€β”€ tests/                   # Test files
β”‚   β”œβ”€β”€ test_ai_api.php      # AI API testing
β”‚   β”œβ”€β”€ test_personal_chat.php # Personal chat testing
β”‚   └── test_final_system.php # Final system testing
β”œβ”€β”€ config/                  # Configuration files
β”‚   └── docs/                # Documentation
β”œβ”€β”€ index.html              # Main landing page
β”œβ”€β”€ README.md               # Project documentation
β”œβ”€β”€ QUICK_START.md          # Quick start guide
β”œβ”€β”€ .gitignore              # Git ignore file
β”œβ”€β”€ .htaccess               # Main configuration
└── LICENSE                 # Project license

🌟 Features

πŸ€– AI-Powered Career Assistant

πŸ“Š Interactive Dashboard

🧠 Career Assessment Quiz

πŸ—ΊοΈ Learning Roadmap

πŸ’Ό Job Opportunities

πŸ’¬ AI Chat Interface

πŸš€ Quick Start

Prerequisites

Installation

  1. Clone the repository
    git clone <repository-url>
    cd project
    
  2. Set up the database
    # Open XAMPP Control Panel
    # Start Apache and MySQL
    # Go to http://localhost/phpmyadmin
    # Create database: career_guidance
    
  3. Run the setup script
    C:\xampp\php\php.exe backend/setup.php
    
  4. Start the server
    C:\xampp\php\php.exe -S localhost:8000 --docroot .
    
  5. Access the application
    • Main page: http://localhost:8000
    • Chat: http://localhost:8000/frontend/pages/chat.html
    • Dashboard: http://localhost:8000/frontend/pages/dashboard.html

πŸ€– AI Integration

Supported APIs

  1. Gemini βœ… (Primary - Working)
  2. OpenAI ❌ (Invalid API key)
  3. Preplexity AI ❌ (Invalid model)
  4. DeepSeek ❌ (Insufficient balance)

Fallback System

🎯 Usage Examples

Chat with AI Assistant

User: "hi"
AI: "Hello! I'm here to help you with career guidance! 🎯"

User: "my name is saif"
AI: "Hey saif! πŸ‘‹ Nice to meet you! I'm your AI Career Assistant..."

User: "how can I improve my resume?"
AI: "Hey! Let me help you make your resume stand out! 🎯..."

Career Assessment

Learning Roadmap

πŸ”§ Configuration

Environment Variables

Customization

πŸ§ͺ Testing

Run Tests

# Test AI APIs
C:\xampp\php\php.exe tests/test_ai_api.php

# Test personal chat
C:\xampp\php\php.exe tests/test_personal_chat.php

# Test final system
C:\xampp\php\php.exe tests/test_final_system.php

πŸ“ Documentation

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ†˜ Support


πŸŽ‰ Ready to start your career journey? Visit http://localhost:8000 and let’s get started!